NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 16 17 18 19 20 … 93 Next »
"Rating" in cached event details xml

 
  • 0 Vote(s) - 0 Average
"Rating" in cached event details xml
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,940
Threads: 956
Joined: May 2006
#11
2011-03-19, 12:52 AM
I can do some testing later, but I think based on past values I see Season and Episode aren't inserted into the xml if they are zero. That isn't a problem, I just didn't know this was possible.

Martin
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#12
2011-03-19, 02:48 AM
Yeah, it definitely doesnt include the <Season> and <Episode> tags in the cached event details if they're zero. Having these as zero is effectively the same as "season/episode info is unknown", so it made sense not to include them in the xml.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,940
Threads: 956
Joined: May 2006
#13
2011-03-19, 02:58 AM
Thanks it makes sense, it just caused me to to overlook this. It's also laziness on my part, I find it easier to modify xml then add new.

Martin
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#14
2011-03-25, 02:16 AM
I think I love the new database structure... just want to clarify a couple of things

Now if I want to query a recorded file by filename, I no longer need to reference the EPG_Event table (Previously the PROGRAMME table).. because everything is in the xml under event_details...

Currently in the evntdetails of scheduled_recording, I DON"T see the Season or Episode tags

In the EPG_Event table I already see rating, season and Episode colums... and a couple of the cells filled... How did you get that info?
and where will these values be displayed... do you have the fields in your plugins already?
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#15
2011-03-25, 02:23 AM
sub Wrote:Yes, thats what it was supposed to do. I just double checked the code, and I can see why the rating field didnt work. I've fixed it for the next build, but since it'll require 3 updated files (.exe and two .dlls) I wont post it as a patch.

The season/episode are different though. For those fields, what exactly do you have the EPG_EVENT table prior for this show prior to scheduling the recording, and exactly what method did you use to schedule that recording?

I'm not completely sure... cause I'm butting in... but I think you asked what tags do we have in our original XMLTV

My mc2xml file does not give me season and epiosde data.. That's why I built UltraXMLTV to go online and find that info.

Now I see a couple of wonderful places to put that info. My feeling though... is that the parsing you have done of production numbers... is going to cause havoc because the many studios don't have a consistent format for season and epiosde numbering...
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#16
2011-03-25, 02:24 AM
There is very few situations where NPVR knows the season/episode details for a show (for example, its not available in schedules direct etc), so usually this info isnt included in the cached event_details. If it does know them, then they should be included in the xml.

They're too rare, so I dont display them anywhere in the app. When I first created NPVR, I thought they might be a bit more common, and I was going to use them for file naming etc, so I made space for them in the database, but they turned out to be too rare to do anything useful with.
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#17
2011-03-25, 02:25 AM
Once the recording event is created based on the EPG event data... and if the EPG Data is updated... does the recording info get updated too?
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#18
2011-03-25, 02:27 AM
sub Wrote:There is very few situations where NPVR knows the season/episode details for a show (for example, its not available in schedules direct etc), so usually this info isnt included in the cached event_details. If it does know them, then they should be included in the xml.

They're too rare, so I dont display them anywhere in the app. When I first created NPVR, I thought they might be a bit more common, and I was going to use them for file naming etc, so I made space for them in the database, but they turned out to be too rare to do anything useful with.


I've alwasy thought the best place for renaming and Season Ep Num lookup was inside the PVR... but I experienced the best way was to query the net with a title/Sub_title combo and get the info back... which I can understand would not be an elegant and simple solution for your
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#19
2011-03-25, 02:28 AM
zehd Wrote:Once the recording event is created based on the EPG event data... and if the EPG Data is updated... does the recording info get updated too?
Yeah, it tries to. Loses track of the related EPG event (like the time and name is changed slightly), then you'll endup with the EPG data at the last time it was able to identify the related epg event.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,708
Threads: 767
Joined: Nov 2003
#20
2011-03-25, 02:30 AM
zehd Wrote:I've alwasy thought the best place for renaming and Season Ep Num lookup was inside the PVR... but I experienced the best way was to query the net with a title/Sub_title combo and get the info back... which I can understand would not be an elegant and simple solution for your
I definitely wouldnt be looking for this info online - automated this wouldnt be reliable/accurate enough. Too many shows wouldnt have enough info to have a good match, particularly outside the US. I also need to keep the project functionality and data entirely legit.

I'd only use the season/episode if it was included in the EPG source.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (8): « Previous 1 2 3 4 5 … 8 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Recording Event jrockow 10 4,691 2014-07-28, 02:51 PM
Last Post: jrockow
  Possible to have another element in details-single.xml Northpole 2 2,222 2014-07-11, 09:51 PM
Last Post: Northpole
  Recording export tags and export details? spinnaker 10 4,396 2013-10-23, 01:48 AM
Last Post: mvallevand
  Skin element Details in NowNext Jaggy 2 1,792 2011-09-19, 11:50 PM
Last Post: Jaggy
  Event codes mvallevand 10 3,778 2011-04-06, 04:26 AM
Last Post: mvallevand
  STARTUP_COMPLETE event on NMT alibert 6 2,366 2011-02-12, 05:15 PM
Last Post: sub
  NPVR - temporary solution to lack of searchable fields after event is gone from guide carpeVideo 5 2,256 2010-09-29, 03:08 AM
Last Post: mvallevand
  How do I catch the event where a list item is selected? mkenyon2 3 1,433 2009-01-06, 06:36 PM
Last Post: sub
  Current program details, from batch file! pBS 48 19,629 2008-12-09, 08:52 AM
Last Post: pBS
  Csharp Event help needed.. psycik 4 2,077 2008-05-25, 06:19 AM
Last Post: psycik

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

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

Linear Mode
Threaded Mode