veletron 8 Posted May 18, 2019 Share Posted May 18, 2019 (edited) HiWhen I visit the 'Next PVR Recordings' item in Emby, I am noticing that some recordings (which exist only once) are being placed under 2 host 'folders'.BBC Click is a good example. These recordings get located under a folder called 'news' and another called 'BBC Click'.The movie 'the girl on the train' is another. It exists under a folder 'the girl on the train' and also under 'movies'. None of the other movies I have recorded appear under movies!I do not know whether it's NextPVR doing this or Emby, and to be clear, I want to get rid of the generic folders 'Movies' and 'News'.Any idea's? Nigel nPVR Settings: example of problem: Edited May 18, 2019 by veletron Link to comment Share on other sites More sharing options...
Luke 37068 Posted May 18, 2019 Share Posted May 18, 2019 Hi, the next pvr plugin is doing this. I have no objection to removing it. Link to comment Share on other sites More sharing options...
veletron 8 Posted May 19, 2019 Author Share Posted May 19, 2019 Hi An option in the prefs to have it not do this would be great. Some other folks might like it! Nigel Link to comment Share on other sites More sharing options...
emveepee 112 Posted May 19, 2019 Share Posted May 19, 2019 Hi, the next pvr plugin is doing this. I have no objection to removing it Impossible there is only one link per recording in NextPVR. I suspect it is how Emby is treating genres. Martin Link to comment Share on other sites More sharing options...
Luke 37068 Posted May 20, 2019 Share Posted May 20, 2019 Impossible there is only one link per recording in NextPVR. I suspect it is how Emby is treating genres. Martin It is the plugin, I actually did it myself: https://github.com/MediaBrowser/NextPVR/blob/master/MediaBrowser.Plugins.NextPvr/RecordingsChannel.cs#L187 But whatever next pvr users want is fine with me. Link to comment Share on other sites More sharing options...
emveepee 112 Posted May 20, 2019 Share Posted May 20, 2019 Ok I see you are creating Emby sub categories of recordings based on genre. I did notice this when I was previewing the code for v5 changes since v5 doesn't support genres on recordings. If the typical Emby user wants this then sub will need to enhance passing genres for v5. There is another issue with genres in general for v5 because v4 passes all the EPG guide data and v5 passes translated genre data (typically Schedules Direct to DVB standard) Not sure what the impact on Emby will be. Emby code right now is particularly is too simplistic for most guide data. Kids isn't in any genres I've seen, some guide data uses film instead of movie, and the sport condition is just odd. Martin Link to comment Share on other sites More sharing options...
Luke 37068 Posted May 20, 2019 Share Posted May 20, 2019 A lot of what we do was modeled after WMC. What I plan to do in the future is stop using those preset categories and just make it more dynamic based on genres. Link to comment Share on other sites More sharing options...
emveepee 112 Posted May 22, 2019 Share Posted May 22, 2019 (edited) Do you know when you plan to make it more dynamic? Sub has modified the v5 API and I now get all the genres from NextPVR the same as v4 but if I am going to enable it I would like it to work better. Right now Schedules Direct does does not include a sports genre so all the major league sporting event (eg. basketball, football, hockey, baseball) aren't even tagged as sport. Martin Edited May 22, 2019 by emveepee Link to comment Share on other sites More sharing options...
Luke 37068 Posted May 23, 2019 Share Posted May 23, 2019 Well there's two different things here. If we're just talking about recordings from the plugin, then that can happen anytime, as the plugin gets to decide the structure. I can remove the existing structure if that is what users would prefer. But for displays of guide data, that's a bit more complex as we're talking about changes to every single app. it's one of those things where the current method works well for the most part, but I would have done it differently if I knew what I know now. In any case to answer the question, that's not something that would happen until after we've revamped channel management, as that is a more pressing need right now. Link to comment Share on other sites More sharing options...
emveepee 112 Posted May 23, 2019 Share Posted May 23, 2019 (edited) Are you saying that IsSports in MediaBrowser.Controller.LiveTv ProgrammeInfo() isn't used by Emby for the guide and is just used for Recordings? Recording that ProgrammeInfo() structure I see that it is not populated with fields from NextPVR. If I copy over some missing fields like SeasonNumber and EpisodeNumber will those show up in the guide? Martin Edited May 23, 2019 by emveepee Link to comment Share on other sites More sharing options...
Luke 37068 Posted May 24, 2019 Share Posted May 24, 2019 IsSports is used, yes. You'll see a Sports section on the Suggestions screen, and the guide has some options that use IsSports. And yes, if you update the plugin to fill in the season and episode numbers, those will show up as well. Link to comment Share on other sites More sharing options...
emveepee 112 Posted May 24, 2019 Share Posted May 24, 2019 Ok thanks I will look, the way IsSports is used it is basically broken when used with Schedules Direct. Martin Link to comment Share on other sites More sharing options...
Luke 37068 Posted May 24, 2019 Share Posted May 24, 2019 Seems to work fine in my testing. Direct to Emby testing I mean, so we know it can work. But the plugin might need updating. Link to comment Share on other sites More sharing options...
emveepee 112 Posted May 24, 2019 Share Posted May 24, 2019 What I was originally saying is I believe Emby should be responsible for setting the is... flags from the passed genres not each plugin Right now the plugin will populate the genre with Basketball from Schedules Direct, but the plugin is simply looking for genre "Sports" to set isSports. Is the Direct to Emby plugin source on github? Martin Link to comment Share on other sites More sharing options...
pünktchen 1258 Posted May 24, 2019 Share Posted May 24, 2019 What I was originally saying is I believe Emby should be responsible for setting the is... flags from the passed genres not each pluginI disagree! You just have to implement a user customizable genre mapping. Look at the MediaPortal or DVBViewer plugin at Github. Link to comment Share on other sites More sharing options...
emveepee 112 Posted May 24, 2019 Share Posted May 24, 2019 I disagree! You just have to implement a user customizable genre mapping. Look at the MediaPortal or DVBViewer plugin at Github. Again, why should the plugin be responsible? The genres are from standard sources regardless of the backend and the mapping is for the Emby presentation. NextPVR does allow local genre colour selection in the native client. Besides Emby is commercial product and I am not that motivated to make big changes to support it. I was much more inclined when it was free for NextPVR users to use. Martin Link to comment Share on other sites More sharing options...
pünktchen 1258 Posted May 24, 2019 Share Posted May 24, 2019 Again, why should the plugin be responsible? The genres are from standard sources regardless of the backend and the mapping is for the Emby presentation.There are no standard sources! The genre representation depends on the guide data and provider and also on the backend. The genre could be localized or it's not even a word but a number. There are to many variations that one software (Emby) can cover it all. Link to comment Share on other sites More sharing options...
emveepee 112 Posted May 24, 2019 Share Posted May 24, 2019 I disagree all the backends are all getting the EPG data from the same sources, typically Schedules Direct or other Tribune source, from ATSC or DVBs OTA broadcasts, scrapped from web sites into xmltv format or from pirate IPTV sources. No one is typing this metadata into their PVR. If Emby wants NextPVR to supply generic DVB type and subtype number that is fine sub does that for Kodi. Emby is a commercial PVR backend why shouldn't Emby "cover" all the same EPG sources as NextPVR, MythTV, TVH and MP? Martin Link to comment Share on other sites More sharing options...
pünktchen 1258 Posted May 24, 2019 Share Posted May 24, 2019 I disagree all the backends are all getting the EPG data from the same sources, typically Schedules Direct or other Tribune source, from ATSC or DVBs OTA broadcasts, scrapped from web sites into xmltv format or from pirate IPTV sources. No one is typing this metadata into their PVR. If Emby wants NextPVR to supply generic DVB type and subtype number that is fine sub does that for Kodi. Emby is a commercial PVR backend why shouldn't Emby "cover" all the same EPG sources as NextPVR, MythTV, TVH and MP? Martin Are you really that short-sighted? With my guide data i have already over 50 different german genre strings. How should Emby know all of them and do a correct mapping for its categories?! And no, Emby is not a commercial pvr backend but a commercial private media server. You are not paying for live tv only. People who pay for live tv access only, are mostly using Emby's inbuild live tv service, not one of the community plugins. And that works fine with their paid guide data. If it's to much work for you to integrate some kind of genre mapping into the NextPVR plugin, then just remove all genres from the plugin. Problem solved! Link to comment Share on other sites More sharing options...
emveepee 112 Posted May 24, 2019 Share Posted May 24, 2019 I am not being short-sighted, I am thinking of the future. The number of the genre strings is totally irrelevant, if Emby wants to have a special function to use it's own filters to categorize sports, movies, children's shows, news etc, it should also be responsible for identifying which genres making up the group. I am not saying Emby has to know the genres rather a Emby user should be able select the genres that make up the category in Emby, not in the plugin. I will continue to pass the genres but given that the current filters are very weak and English-centric I will remove the it is... processing from my v5 port. Anyone can enhance this in the future. Martin Link to comment Share on other sites More sharing options...
pünktchen 1258 Posted May 24, 2019 Share Posted May 24, 2019 I am not saying Emby has to know the genres rather a Emby user should be able select the genres that make up the category in Emby, not in the plugin.Oh okay, then i've just misunderstood your request. Sorry! I will continue to pass the genres but given that the current filters are very weak and English-centric I will remove the it is... processing from my v5 port. Anyone can enhance this in the future.I suggest to keep isSeries for every program entry, not recording, otherwise the users can not make any series schedules. Link to comment Share on other sites More sharing options...
emveepee 112 Posted May 24, 2019 Share Posted May 24, 2019 Oh okay, then i've just misunderstood your request. Sorry! I suggest to keep isSeries for every program entry, not recording, otherwise the users can not make any series schedules. Yes okay, although Emby limiting recurring recording to isSeries is kind of a stupid concept anyway. News, game shows talk shows are perfect examples of fixed schedule items that could be recorded in series Martin 2 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