NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support v
« Previous 1 2 3 4 5 … 43 Next »
UK OTA EPG New Programmes

 
  • 0 Vote(s) - 0 Average
UK OTA EPG New Programmes
ShadowMask
Offline

Member

Posts: 58
Threads: 3
Joined: Apr 2019
#51
2024-07-04, 06:53 AM
I have noticed something else when I tested some more last weekend (kodi with nextpvr client)

When I query the recordings via json rpc in kodi, some recordings are missing the correct episode and returning -1 for the episode number. This only happens when there is no season in the EPG description:

S19 Ep4/5 correctly sets Season 19 and Episode 4 for the recording

Ep4/5 sets Season -1 and Episode -1 for the recording, I would expect Season -1 and Episode 4?

Can nextpvr client still set the episode even if it is present without a season?

Thanks
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,931
Threads: 956
Joined: May 2006
#52
2024-07-04, 10:19 AM
The regex needs both to make it episodic. NextPVR doesn't support multi-part shows and it doesn't support the count either. Sub would need to comment but I feel the main issue is doing it safely this is just text that can be anywhere in the description, subtitle and the title and it could lead to false positives. There is not just the UK OTA to consider, other countries and XMLTV too. There are lots of times where it is just E## that makes it worse Check "WW2: The Road to Stalingrad", "Life in the War" and "Greatest Unsolved Mysteries" This is a good one https://www.sky.com/watch/title/series/2...episode-10 it is episode 10 but there is an E1 in the description.

Also the presentation in the NextPVR clients including Kodi would need to be considered it would pretty much to be season 1 not -1.

Martin
ShadowMask
Offline

Member

Posts: 58
Threads: 3
Joined: Apr 2019
#53
2024-07-04, 11:55 AM (This post was last modified: 2024-07-04, 12:42 PM by ShadowMask.)
I get it's a fuzzy match kind of thing, however, from what I can see most kodi PVR clients do seem to set episode when it is present.

The episode part in the description is in parenthesis for UK OTA, not sure if that's always the case for other EPG but that makes it less risky anyway?

So the previous examples are actually (S19 Ep4/5) and (Ep4/5) or even just (Ep4)

I'm not sure about setting season to 1 when there is only an episode. BBC often just puts the episode e.g. (Ep4/5) for new seasons, so you can't just assume it's season 1 in that case, I would say it's better to set to -1 as it cannot be determined.

I guess the point is if it can be determined a season and/or episode should be returned, and -1 if not, I do take your point though that I am only basing this on UK OTA guide, which is a very small sample group.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,931
Threads: 956
Joined: May 2006
#54
2024-07-04, 12:42 PM (This post was last modified: 2024-07-04, 12:42 PM by mvallevand.)
If you zip your database and give an external link, I can see. Even in the UK it seemed pretty open, on the few samples I have seen, the the new OpenTV data is different again. For sure I am remember seeing descriptions that start with 1/3 for Ep/Part and Coronation St. was crazy like Ep10982 (no brackets)

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,707
Threads: 767
Joined: Nov 2003
#55
2024-07-04, 09:16 PM
NextPVR is looking for about a dozen or so common formats like these.

Generally NextPVR will assume season 0 if not explicitly specified.

It looks like it already copes with (Ep4/5) with the brackets. This would be season 0 episode 4 (of a total of 5 episodes).

I suspect it doesn't cope with Ep4/5 with no brackets
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,931
Threads: 956
Joined: May 2006
#56
2024-07-04, 09:44 PM
(2024-07-04, 09:16 PM)sub Wrote: Generally NextPVR will assume season 0 if not explicitly specified.

It looks like it already copes with (Ep4/5) with the brackets. This would be season 0 episode 4 (of a total of 5 episodes).

@ShadowMask,  could you check the NextPVR web for some of these  (Ep...) programs  NextPVR ignores season 0 since Kodi Kodi sees that as a "special" and I would need to remap them.  Kodi wants -1 for undefined.

This is why I want your database.

Martin
ShadowMask
Offline

Member

Posts: 58
Threads: 3
Joined: Apr 2019
#57
2024-07-05, 07:00 AM (This post was last modified: 2024-07-05, 07:12 AM by ShadowMask.)
(2024-07-04, 09:44 PM)mvallevand Wrote:
(2024-07-04, 09:16 PM)sub Wrote: Generally NextPVR will assume season 0 if not explicitly specified.
It looks like it already copes with (Ep4/5) with the brackets. This would be season 0 episode 4 (of a total of 5 episodes).

@ShadowMask,  could you check the NextPVR web for some of these  (Ep...) programs  NextPVR ignores season 0 since Kodi Kodi sees that as a "special" and I would need to remap them.  Kodi wants -1 for undefined.
This is why I want your database.
Martin

Here's my database zipped


So, In the web interface for one that can be detected I see this (assuming the SE in parenthesis at the beginning is what nextpvr has detected?)

With season & ep:

Frasier
5/7/2024 10:30 - 11:00
(S03E10) It's Hard to Say Goodbye If You Won't Leave: Frasier realises that he has strong feelings for Kate, just as she announces she is moving to Chicago. (S3 Ep10) [AD,S]


with just Ep:

Scam Interceptors
5/7/2024 10:30 - 11:00
20/20. Gurbuz Yilmaz believes he's talking to his mobile phone company, Vodafone. But, in fact, they're scammers, and he's about to buy them a very expensive mobile phone. Also in HD. [S]


The Night Caller
8/7/2024 21:00 - 22:00
Enthralling drama with Robert Glenister and Sean Pertwee. As Tony tries to cover up his actions, his bond with Lawrence becomes unbreakable. Until Tony is subjected to a violent ambush. (Ep2/4)[S]


Thanks for looking into this.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,931
Threads: 956
Joined: May 2006
#58
2024-07-05, 07:39 AM (This post was last modified: 2024-07-05, 07:40 AM by mvallevand.)
Thanks but sorry I meant NPVR.db3 from the NextPVR data directory so I could test with Kodi and if you if a chance that would be great. Based on what sub said I would have expected 20/20 to be parsed by (Ep2/4) should have I can't tell from the Kodi only side. The parsing is improved in the pre-release after the addition of the OpenSky support it is possible sub was checking current code not what you are using.

A couple of other regex possibilities: would be.

Bug Expert: A bug expert visits the school and Tom accidentally releases a mysterious creepy crawly! (5 of 20) [S,AD]
In Search of Perfect Isolation: Paul Murton journeys from Shetland through the musical Orkney Islands. (Part 5 of 6)

Martin
ShadowMask
Offline

Member

Posts: 58
Threads: 3
Joined: Apr 2019
#59
2024-07-05, 07:49 AM
(2024-07-05, 07:39 AM)mvallevand Wrote: Thanks but sorry I meant NPVR.db3 from the NextPVR data directory so I could test with Kodi and if you if a chance that would be great.  

Oh, Sorry, here's the correct file:

nextpvr.db3
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,931
Threads: 956
Joined: May 2006
#60
2024-07-05, 08:45 AM
Don't say sorry I wasn't clear. There is no episode only parsing in that file so it must be something upcoming.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (11): « Previous 1 … 4 5 6 7 8 … 11 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Suggestion: show actual tv programmes for recurring recordings janoonk 0 734 2020-12-21, 10:00 PM
Last Post: janoonk

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode