Posts: 42
Joined: Apr 2014
Reputation:
0
I recently switched from Media Portal TV service to NextPVR and with media portal I used to be able see the episode air date in the show details when it is selected in the Guide but I'm not seeing that with NextPVR. I like to use that to know if an episode is new or not. I am using Schedules Direct as the data provider in NextPVR. Is there a way to see the air date or to flag an episode as new in the EPG?
Posts: 1,886
Joined: Jan 2015
Reputation:
126
ksooo
Team-Kodi Developer
Posts: 1,886
I guess a valid implementation for "new show" is: ispremiere = epgtag.firstAired == epgtag.startTime.
Posts: 30
Joined: Jul 2015
Reputation:
0
nogoer
Junior Member
Posts: 30
Well this wasnt my thread, but what i was ultimately looking for myself was the "new" banner just like you see in nextpvr in the screenshot. The firstaired date can be helpful in determining that by knowing the show is either airing "today" or is airing in the future as ksooo referenced.
I spent most of yesterday digging around between kodi forums and npvr forums and through code trying to figure out what the actual deal with this was. It appears at one time an npvr dev made an update to v3 to start passing the firstaired, episode, and series data into kodi via thier npvr plugin. Then at some point after the kodi devs realized the kodi epg db had the data now but the skin guimanager was not passing the data into the listitem and made a change somewhere around v17 to populate the listitem.Premiered value with the firstaired date. When i went to make use of it in my skin changes i ended up finding my epg db did not have a value for firstaired like i expected. So then i went down another rabbit hole trying to figure out why and eventually realized i think its npvr not passing that value in anymore.
So long story short it looks like this was fixed for kodi 17 and npvr v3 but then either npvr or kodi changed and blew it out when moving to the next version. I confirmed npvr has the data in its db and actually built an exe to copy the data from npvr to my kodi epg data and confirmed it will display if populated. Why the kodi epg data isnt getting the firstaired date from npvr is the big question right now.
I think having stuff like this in the EPG is a big deal these days with so many people cutting the cable cord. Schedules direct service is pretty cheap and has a large amount of reliable data that npvr pulls in but kodi in general doesnt really make use of it. NPvr while a wicked awsome program is not as gui freindly as kodi is and cant combine libraries like kodi does so the marriage of these two things is fantastic and ive found it to be extremely stable and reliable as a replacement to cable and as a dvr. The live tv stuff in kodi just needs a little tlc advice from npvr is all.
Posts: 424
Joined: Sep 2016
Reputation:
25
First aired or premiere will be a good info but for local user Country will be better.
HTPC: Windows 10 Pro 22H2, Zalman HD135, Intel i3-7100, GTX 1070, UHD ASUS BW-16D1HT
NAS: Xpenology 7.2 Update 1, Intel i5-6600