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
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#21
2011-03-25, 02:32 AM
sub Wrote:I definitely wouldnt be looking for this info online - automated this wouldnt be reliable/accurate enough. I'd only use the season/episode if it was included in the EPG source.

Right... so where I'm coming from is is to preprocess a xmltv file, and insert Seas and Ep tags into the xml... and then when imported into EPG... you'd inport thos values and put them into the cached xml 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]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,707
Threads: 767
Joined: Nov 2003
#22
2011-03-25, 02:36 AM
Yep, pretty much.
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,931
Threads: 956
Joined: May 2006
#23
2011-03-25, 04:53 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.

The last 3 digits of the North American unique_id (derived from the Zap2it key)is the episode number but it is doesn't reset each season.

Martin
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#24
2011-03-25, 05:09 AM
I don't really believe there is any use with the uniqueid tags... the online db with associated info might not even exist... I can't remember who at the moment... but someone else working with guide data did a fair amount of research into the unique id... and it seemed he had to abandon that..

But... if you find something please let us know :-D

In case you're not interested in reinventing the wheel... I'm about ready to finish up a tool that will fill in those seas and ep values in both the epg_event and scheduledRecording tables...
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]
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,931
Threads: 956
Joined: May 2006
#25
2011-03-25, 05:18 AM
Zehd give me the unique_id for a episodic popular network show (EP...) and I will tell you more about it.

martin
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#26
2011-03-25, 05:19 AM
regarding the impossibility of genre colours (I think I'll need to be flogged before I stop) would it be possible to have in the xml data an argb colour number... and it was the outside program that enhanced the xmltv to give you seas and ep and ratings tags also add the argb tag...

In my guesetimate, your TV Guide would only need to render a colour that was in the tag, rather than looking anything up...
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
#27
2011-03-25, 05:26 AM
mvallevand Wrote:Zehd give me the unique_id for a episodic popular network show (EP...) and I will tell you more about it.

martin

<episode-num system="dd_progid">EP00018693.0107</episode-num>

<episode-num system="dd_progid">EP00836565.0721</episode-num>

<episode-num system="dd_progid">SH00836565.0000</episode-num>
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]
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,931
Threads: 956
Joined: May 2006
#28
2011-03-25, 05:44 AM
zehd Wrote:<episode-num system="dd_progid">EP00018693.0107</episode-num>

Code:
<episode><epnum>107</epnum><seasonnum>04</seasonnum><prodnum>2F01</prodnum><airdate>1994-10-02</airdate><link>http://www.tvrage.com/The_Simpsons/episodes/206574</link><title>Itchy & Scratchy Land</title><screencap>http://images.tvrage.com/screencaps/31/6190/206574.jpg</screencap></episode>

Quote:<episode-num system="dd_progid">EP00836565.0721</episode-num>

etalk http://tvlistings.zap2it.com/tv/etalk/EP008365650 you could scrap this site for the best info. add the 721 to the URL for the episode.

Quote:<episode-num system="dd_progid">SH00836565.0000</episode-num>

That's a SH not EP but I suspect it is also etalk but the generic flavour with no subtitle.

Martin
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#29
2011-03-25, 05:53 AM
Yep... the third was the generic etalk, second was a specific etalk about the Junos (Canadian Content and all ;-) )

I wanted to see what you got.

Well have you got an API for the web site... or are you scraping?

My latest Ultra... is really crawling the theTVdb.com very fast now... and it gets a heck of a lot of show details... Considering that the zap2it id is very NA specific, I'll keep working on a solid and simple tool that'll get a bunch of NZ, AUS, UK and even Europe shows...

And on a side... I think the admin for theTVDB is approachable to send the entire database (which is smaller than it would seem) I'm still not sure what I can do with that...
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
#30
2011-03-25, 06:01 AM
I looked at tv rage and the xml look up is very similar to theTVdb.com

What I do is cache the xml locally on the disk for look much faster lookups

I've tried on demand xml reading into memory, and not saving the xml... but the disk activity time is nominal compared to the web access... it was better for me to save the file.. and have it handy if and when I need it again...

Probably could do the same with tvrage... maybe there's stuff with them that I can't get with thetvdb.com

But at first glance I couldn't search by uniqueID...
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]
« 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,689 2014-07-28, 02:51 PM
Last Post: jrockow
  Possible to have another element in details-single.xml Northpole 2 2,214 2014-07-11, 09:51 PM
Last Post: Northpole
  Recording export tags and export details? spinnaker 10 4,394 2013-10-23, 01:48 AM
Last Post: mvallevand
  Skin element Details in NowNext Jaggy 2 1,790 2011-09-19, 11:50 PM
Last Post: Jaggy
  Event codes mvallevand 10 3,776 2011-04-06, 04:26 AM
Last Post: mvallevand
  STARTUP_COMPLETE event on NMT alibert 6 2,355 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,235 2010-09-29, 03:08 AM
Last Post: mvallevand
  How do I catch the event where a list item is selected? mkenyon2 3 1,422 2009-01-06, 06:36 PM
Last Post: sub
  Current program details, from batch file! pBS 48 19,588 2008-12-09, 08:52 AM
Last Post: pBS
  Csharp Event help needed.. psycik 4 2,067 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