samuelqwe 313 Posted July 16, 2018 Share Posted July 16, 2018 My IPTV provider’s guide data adds the keyword [New!] at the end of the title of a new program, however since Emby does not recognise these, Emby assumes every show is new by default. Would it be possible to have support for these kinds of keywords to be used to tell Emby only what shows are new? It could be a setting when setting up the XML guide. Link to comment Share on other sites More sharing options...
Luke 37095 Posted July 16, 2018 Share Posted July 16, 2018 Well this wouldn't cause us to assume all shows are new. Maybe it has the new indicator in the xml? Link to comment Share on other sites More sharing options...
pünktchen 1258 Posted July 16, 2018 Share Posted July 16, 2018 Well this wouldn't cause us to assume all shows are new. Maybe it has the new indicator in the xml? Every program that has a episode title aka sub-title gets marked as IsSeries and therefore gets the new indicator. I've always wondered about this illogical design decision. Instead repeating tv shows that are not marked as movie, kids, news or sports should get their own guide color. Link to comment Share on other sites More sharing options...
Luke 37095 Posted July 16, 2018 Share Posted July 16, 2018 We'd have to look at an example along with the corresponding xmltv data. thanks. Link to comment Share on other sites More sharing options...
samuelqwe 313 Posted July 16, 2018 Author Share Posted July 16, 2018 (edited) Here is how it looks on my iPad: As you can see, almost everything is marked as new. You can also see that some shows have [New!] at the end of their title. Only those shows should be identified as new, not anything else. I can provide the XML if required. Edited July 16, 2018 by samuelqwe Link to comment Share on other sites More sharing options...
Luke 37095 Posted July 17, 2018 Share Posted July 17, 2018 Yes the xml would be helpful, thanks. Link to comment Share on other sites More sharing options...
samuelqwe 313 Posted July 17, 2018 Author Share Posted July 17, 2018 I've included the EPG XML that I've just downloaded from my provider. epg.xml Link to comment Share on other sites More sharing options...
Luke 37095 Posted July 17, 2018 Share Posted July 17, 2018 Ok thanks. So what's an example that we should look at? Link to comment Share on other sites More sharing options...
samuelqwe 313 Posted July 17, 2018 Author Share Posted July 17, 2018 (edited) Lines 967 to 973 of the XML file show a program with a title containing the [New!] keyword, as it is a new episode of the show. However lines 974 to 979 does not contain the keyword as it is a re-run of that episode and it is not new. The image attached above shows that the episode is being recognized as new. However, this one is also recognized as new, but it is not really a new episode since the title does not contain the [New!] keyword. This is, in fact, the re-run of the episode that played just before it. Edited July 17, 2018 by samuelqwe Link to comment Share on other sites More sharing options...
Luke 37095 Posted July 18, 2018 Share Posted July 18, 2018 Ok thanks. We can solve this without a setting. Link to comment Share on other sites More sharing options...
samuelqwe 313 Posted July 18, 2018 Author Share Posted July 18, 2018 Ok thanks. We can solve this without a setting. That’s great! I just suggested a setting because some providers use different characters to indicate new shows. Link to comment Share on other sites More sharing options...
Luke 37095 Posted July 18, 2018 Share Posted July 18, 2018 @@maegibbons @@Senna @@pünktchen Just fyi, we've always detected whether a program was new or not based on it "not being a repeat". A little while back I came to realize that guide data treats these as two separate things, so now we're going to make this change and just trust the guide data. I think in most cases the results will be the same. This is just one of those situations where it isn't. The program is not marked as new, but it's also not marked as a repeat. Before we were treating this as new, going forward we'll no longer do that. Link to comment Share on other sites More sharing options...
Senna 368 Posted July 19, 2018 Share Posted July 19, 2018 @@Luke Seems logical to me. I think most people mostly care about the Premiere tag and Repeat tag in guide, to distinguish if it is a program episode of a new season or one from an old season and when a repeat is aired. FYI, For my iptv channels I use iptv-epg.com as my guide provider, but they doesn't seem to tag anything in XML, for Repeats or Premieres of a program. For my DVB-C channels in TVMosaic, I use TVadviser from DVBLogic as guide provider, which I can import directly into Emby with an API URL to my TVMosaic server. DVBLogic uses Gracenote as one of its guide providers and Emby reads the tags they use in the exported XML perfectly, for repeats and premieres. Repeat tag in TVMosaic export XML: <previously-shown></previously-shown> Premiere tag in TVMosaic export XML: <premiere></premiere> But what Emby doesn't read from the TVMosaic XML export, is the HD tag, so it doesn't show the HD indicator in Emby guide: HD tag in TVMosaic export XML: <quality>HDTV</quality> Link to comment Share on other sites More sharing options...
Luke 37095 Posted July 19, 2018 Share Posted July 19, 2018 We can start parsing the Quality value. Do you know any other values that might show up there? Link to comment Share on other sites More sharing options...
Senna 368 Posted July 20, 2018 Share Posted July 20, 2018 We can start parsing the Quality value. Do you know any other values that might show up there? DVBLogic only uses "HDTV" as Quality value as far as I can see in the exported XML, mainly for showing the HD logo's in Guide and program info. Maybe someone with an XML from Schedules Direct can chime in to answer this ? To me the quality value is low priority to have that in Emby Guide, because the Live TV Channel name mostly contains the SD. HD, FHD or 4K value already. According to the xmltv DTD, it looks like anything can be filled in there: quality: information on the quality, eg 'HDTV', '800x600'. https://github.com/AlekSi/xmltv/blob/master/xmltv.dtd#L433 Link to comment Share on other sites More sharing options...
Luke 37095 Posted July 20, 2018 Share Posted July 20, 2018 Thanks for the info. Link to comment Share on other sites More sharing options...
Senna 368 Posted July 21, 2018 Share Posted July 21, 2018 We can start parsing the Quality value. Do you know any other values that might show up there? Just confirming that Quality value parsing is working now, with HD logos showing in grid view, so thanks ! Link to comment Share on other sites More sharing options...
Luke 37095 Posted July 21, 2018 Share Posted July 21, 2018 Thanks for the feedback. Link to comment Share on other sites More sharing options...
samuelqwe 313 Posted August 16, 2018 Author Share Posted August 16, 2018 (edited) Does parsing the <new /> tag work in the latest beta hosted on GitHub(3.6.0.2)? My guide data now has this tag, so I removed the word [New!] from the title of new shows, yet Emby does not recognize the tag, as they are not shown in the guide as new. Does the tag need to be <new><new /> or <new /> of something else? Edited August 17, 2018 by samuelqwe Link to comment Share on other sites More sharing options...
Luke 37095 Posted August 16, 2018 Share Posted August 16, 2018 I'd have to check but regardless, i would try again with the next beta. Thanks. Link to comment Share on other sites More sharing options...
samuelqwe 313 Posted August 16, 2018 Author Share Posted August 16, 2018 I'd have to check but regardless, i would try again with the next beta. Thanks. I’ll try them both again, and I’ll also wait for the next beta. Link to comment Share on other sites More sharing options...
samuelqwe 313 Posted August 17, 2018 Author Share Posted August 17, 2018 It seems to work now. I just had to delete the live tv cache, because regular guide updates don't seem to overwrite programs completely. It probably would have fixed itself eventually in a couple days. Btw, the tag is <new /> and it works as it should, like it was supposed to all along. Link to comment Share on other sites More sharing options...
Luke 37095 Posted August 17, 2018 Share Posted August 17, 2018 Thanks for the feedback. Link to comment Share on other sites More sharing options...
Hopstimop 0 Posted October 8, 2018 Share Posted October 8, 2018 For my iptv channels I use iptv-epg.com as my guide provider, but they doesn't seem to tag anything in XML, for Repeats or Premieres of a program. iptv-epg.com uses <premiere /> and <previous-shown /> tags in their guide, but they can add them only there, where the official source (the channel itself) provides the tags as well. Unfortunately not all channels provide these kind of data. Many of them just provide time and title and description. Sometimes not even description. Link to comment Share on other sites More sharing options...
Luke 37095 Posted October 8, 2018 Share Posted October 8, 2018 We support reading both of those tags. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now