Jump to content


Photo

NextPVR Recordings (duplicate 'containers')


  • Please log in to reply
21 replies to this topic

#1 veletron OFFLINE  

veletron

    Member

  • Members
  • 12 posts
  • Local time: 08:38 PM

Posted 18 May 2019 - 05:20 AM

Hi

When 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:

 Attached File  NPVR_CFG.jpg   104.23KB   4 downloads

 

example of problem:

Attached File  embyscreenshot.jpg   121.01KB   4 downloads


Edited by veletron, 18 May 2019 - 06:06 AM.


#2 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 136163 posts
  • Local time: 03:38 PM

Posted 18 May 2019 - 12:10 PM

Hi, the next pvr plugin is doing this. I have no objection to removing it.



#3 veletron OFFLINE  

veletron

    Member

  • Members
  • 12 posts
  • Local time: 08:38 PM

Posted 19 May 2019 - 04:33 AM

Hi

 

An option in the prefs to have it not do this would be great. Some other folks might like it!

 

Nigel



#4 emveepee OFFLINE  

emveepee

    Advanced Member

  • Members
  • 262 posts
  • Local time: 03:38 PM

Posted 19 May 2019 - 05:32 PM

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



#5 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 136163 posts
  • Local time: 03:38 PM

Posted 19 May 2019 - 11:20 PM

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/M...Channel.cs#L187

 

But whatever next pvr users want is fine with me.



#6 emveepee OFFLINE  

emveepee

    Advanced Member

  • Members
  • 262 posts
  • Local time: 03:38 PM

Posted 20 May 2019 - 02:27 PM

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



#7 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 136163 posts
  • Local time: 03:38 PM

Posted 20 May 2019 - 02:29 PM

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.



#8 emveepee OFFLINE  

emveepee

    Advanced Member

  • Members
  • 262 posts
  • Local time: 03:38 PM

Posted 22 May 2019 - 07:03 PM

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 by emveepee, 22 May 2019 - 07:03 PM.


#9 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 136163 posts
  • Local time: 03:38 PM

Posted 23 May 2019 - 12:01 AM

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.



#10 emveepee OFFLINE  

emveepee

    Advanced Member

  • Members
  • 262 posts
  • Local time: 03:38 PM

Posted 23 May 2019 - 07:46 PM

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 by emveepee, 23 May 2019 - 07:54 PM.


#11 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 136163 posts
  • Local time: 03:38 PM

Posted 23 May 2019 - 09:03 PM

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.



#12 emveepee OFFLINE  

emveepee

    Advanced Member

  • Members
  • 262 posts
  • Local time: 03:38 PM

Posted 23 May 2019 - 11:24 PM

Ok thanks I will look, the way IsSports is used it is basically broken when used with Schedules Direct.

 

Martin



#13 Luke OFFLINE  

Luke

    System Architect

  • Administrators
  • 136163 posts
  • Local time: 03:38 PM

Posted 23 May 2019 - 11:36 PM

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.



#14 emveepee OFFLINE  

emveepee

    Advanced Member

  • Members
  • 262 posts
  • Local time: 03:38 PM

Posted 24 May 2019 - 09:38 AM

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

#15 pünktchen OFFLINE  

pünktchen

    Advanced Member

  • Members
  • 2151 posts
  • Local time: 09:38 PM

Posted 24 May 2019 - 09:44 AM

What I was originally saying is I believe Emby should be responsible for setting the is... flags from the passed genres not each plugin

I disagree! You just have to implement a user customizable genre mapping. Look at the MediaPortal or DVBViewer plugin at Github.

#16 emveepee OFFLINE  

emveepee

    Advanced Member

  • Members
  • 262 posts
  • Local time: 03:38 PM

Posted 24 May 2019 - 12:11 PM

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



#17 pünktchen OFFLINE  

pünktchen

    Advanced Member

  • Members
  • 2151 posts
  • Local time: 09:38 PM

Posted 24 May 2019 - 12:27 PM



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.

#18 emveepee OFFLINE  

emveepee

    Advanced Member

  • Members
  • 262 posts
  • Local time: 03:38 PM

Posted 24 May 2019 - 12:39 PM

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



#19 pünktchen OFFLINE  

pünktchen

    Advanced Member

  • Members
  • 2151 posts
  • Local time: 09:38 PM

Posted 24 May 2019 - 02:02 PM

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!

#20 emveepee OFFLINE  

emveepee

    Advanced Member

  • Members
  • 262 posts
  • Local time: 03:38 PM

Posted 24 May 2019 - 04:46 PM

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






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users