NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 11 12 13 14 15 … 93 Next »
event_details in SCHEDULED_RECORDING

 
  • 0 Vote(s) - 0 Average
event_details in SCHEDULED_RECORDING
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#1
2012-01-25, 02:51 AM
An example of the 'event_details' data of a pending scheduled recording from my npvr.db3 (I've cut the actual element values for clarity)...
Code:
<Event>
  <OID></OID>
  <Title></Title>
  <SubTitle></SubTitle>
  <Description></Description>
  <ChannelOID></ChannelOID>
  <StartTime></StartTime>
  <EndTime></EndTime>
  <FirstRun></FirstRun>
  <Aspect></Aspect>
  <Genres>
    <Genre></Genre>
  </Genres>
</Event>
Are these the only elements ever stored in the event_details field or is it based purely on what is available in the EPG_EVENT table?

For instance, I don't have any data for my star_rating column as the RT site isn't currently providing it. If I did, would the <Event> include a <StarRating></StarRating> element (for example)?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,677
Threads: 767
Joined: Nov 2003
#2
2012-01-25, 03:03 AM
It can also contain additonal fields like <Audio>, <StarRating>, <Quality>, <DVBTableVersion>, <DVBServiceEventID>, <Season>, <Episode>, <OriginalAirDate>, <UniqueID>
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,875
Threads: 954
Joined: May 2006
#3
2012-01-25, 03:06 AM
Make sure you test for null, the list of nodes has grown since the initial release.

Martin
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#4
2012-01-25, 03:21 AM
sub Wrote:It can also contain additonal fields like <Audio>, <StarRating>, <Quality>, <DVBTableVersion>, <DVBServiceEventID>, <Season>, <Episode>, <OriginalAirDate>, <UniqueID>
So basically if any field in the EPG_EVENT table contains a value at the time a recording is scheduled, that field is included in the SCHEDULED_RECORDING event_details XML?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,677
Threads: 767
Joined: Nov 2003
#5
2012-01-25, 03:25 AM
Yep.

Everything should be treated as optional. People will have old recordings that have a much smaller subset of nodes than those that are possible today with current release.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,875
Threads: 954
Joined: May 2006
#6
2012-01-25, 03:38 AM
Does PostUpdateEpg run after the EPG update or after recurring recordings? The genreLite utility adds the star_ratings from the RT data, but if the file is already in the event_details, it won't be updated.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,677
Threads: 767
Joined: Nov 2003
#7
2012-01-25, 03:45 AM
PostUpdateEPG.bat runs after the listings have been inserted and the recurring recordings processed.
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,583
Threads: 384
Joined: Dec 2004
#8
2012-01-25, 03:47 AM (This post was last modified: 2012-01-25, 03:55 AM by bgowland.)
sub Wrote:Yep.

Everything should be treated as optional. People will have old recordings that have a much smaller subset of nodes than those that are possible today with current release.
Thanks, that's what I was wondering - I seemed to just have the same set in every entry but I've now looked at some old recordings and they're missing things like genre, first run etc so that makes sense. It's actually a very elegant way of doing things for past recordings once the original EPG_EVENT data has gone. I seem to remember gbpvr didn't do things very well.

mvallevand Wrote:Make sure you test for null, the list of nodes has grown since the initial release.

Martin
Thanks, I'm only interested in a subset of what should normally always be there although I'm conscious of the fact it may not be, as sub points out. I always work on the principle that title and start/end times are the only things guaranteed for most things related to tv guide stuff in general (not specifically npvr) - anything else is a bonus. Smile
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Status field values in Table SCHEDULED_RECORDING scJohn 2 2,322 2019-07-03, 07:01 PM
Last Post: sub
  fix event_details SteveTyrakowski 3 3,936 2016-04-27, 04:41 AM
Last Post: ElihuRozen

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

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

Linear Mode
Threaded Mode