NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 40 41 42 43 44 … 93 Next »
Yahoo Go TV to XMLTV (via API)

 
  • 0 Vote(s) - 0 Average
Yahoo Go TV to XMLTV (via API)
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#41
2007-07-01, 05:27 AM
The "exposé" is probably best solved by having the grabber add this line at the very start of the xmltv file:

<?xml version="1.0" encoding="ISO-8859-1"?>


As pBS says, there is a list of characters that need to be escaped in xml. '&' is replaced with '&amp;'. Common ones are:

< &lt; (Less than sign)
> &gt; (Greater than sign)
& &amp; (Ampersand sign)
" &quot; (Double quote
Jim_
Offline

Senior Member

Posts: 696
Threads: 21
Joined: Dec 2005
#42
2007-07-01, 06:20 AM
pBS Wrote:"Sabrina writes an expos‚" which should be "Sabrina writes an exposé‚"

it's the "é" special character...usualy replaced with the base letter..[e] for readability...or could use expose', [e then ']

there's a list of the invalid chars to replace somewhere here...can't find it at the moment...but yea, any accents, tilde's, colons, semi-colons, etc...

Hi pBs, yea I kind of remember something about the xml output needing to use Unicode instead of ASCII or ISO, but I just cant remember any more about it.

Hopefully sub can fill us in or point Oz to a quick fix. I'm not a VB person.
I could write a utility to convert the ASCII code to a usable xml format, but Oz may be working on a fix as we type.
[SIZE="1"]HP e9240f| Phenom II X4-945| Radeon HD4650 1-gig | 8 gig ram | Blu-Ray
Windows 7 64bit | 1TB system | 1.5TB Recordings | 3-TB Library
HDMI >> Sony 40" 1080p LCD TV
HVR-2250 | HVR-1290 | WinTV PVR USB2 | WinTV HD-PVR | GBPVR 1.4.7[/SIZE]
Projects: I-xmltv (Unsupported at this time) |
Jim_
Offline

Senior Member

Posts: 696
Threads: 21
Joined: Dec 2005
#43
2007-07-01, 06:22 AM
sub Wrote:The "exposé" is probably best solved by having the grabber add this line at the very start of the xmltv file:

<?xml version="1.0" encoding="ISO-8859-1"?>


As pBS says, there is a list of characters that need to be escaped in xml. '&' is replaced with '&amp;'. Common ones are:

< &lt; (Less than sign)
> &gt; (Greater than sign)
& &amp; (Ampersand sign)
" &quot; (Double quote

I replied to page one before seeing your post on page two!
I knew there was an easy fix, THANKS!

Jim
[SIZE="1"]HP e9240f| Phenom II X4-945| Radeon HD4650 1-gig | 8 gig ram | Blu-Ray
Windows 7 64bit | 1TB system | 1.5TB Recordings | 3-TB Library
HDMI >> Sony 40" 1080p LCD TV
HVR-2250 | HVR-1290 | WinTV PVR USB2 | WinTV HD-PVR | GBPVR 1.4.7[/SIZE]
Projects: I-xmltv (Unsupported at this time) |
Jim_
Offline

Senior Member

Posts: 696
Threads: 21
Joined: Dec 2005
#44
2007-07-01, 07:35 AM (This post was last modified: 2007-07-07, 11:50 PM by Jim_.)
I've removed the patch from this post due to lack of activity, and confusion between this utility and whurlston's fully functional Yahoo EPG utility.

Check with -Oz- for updates to his utility.
[SIZE="1"]HP e9240f| Phenom II X4-945| Radeon HD4650 1-gig | 8 gig ram | Blu-Ray
Windows 7 64bit | 1TB system | 1.5TB Recordings | 3-TB Library
HDMI >> Sony 40" 1080p LCD TV
HVR-2250 | HVR-1290 | WinTV PVR USB2 | WinTV HD-PVR | GBPVR 1.4.7[/SIZE]
Projects: I-xmltv (Unsupported at this time) |
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#45
2007-07-01, 11:11 AM (This post was last modified: 2007-07-01, 11:26 AM by pBS.)
disk network USA works fine, but dish network Houston doesn't work...
also, no local air channels? or do i have to make do with the ones in the dish lineup? [no problem if i can get them to work]
mine's choking on the transition from channels to listings:
Quote: <display-name lang="en">NUEVA</display-name>
</channel>
<channel id="9781">
<display-name lang="en">BOTT</display-name>
</channel>
<channel id="9800">
<display-name lang="en">SPOMESS</display-name>
</channel>
<channel id="9801">
<display-name lang="en">SPOMESS</display-name>
</channel>
<channel id="9850">
<display-name lang="en">KBSAM</display-name>
</channel>
<programme start="20070630000000" stop="20070630010000" channel="084">
<title lang="en">House and Home</title>
<date>19990619</date>
<category lang="en">Shopping</category>
<category lang="en">House/garden</category>
</programme> the bold stuff is all that makes it into the xml with the Dish Houston provider...
notice no CRLF at end of channels?
gives me runtime error 9 'subscript out of range'

hmmm,could it be that there are duplicate channel numbers? 2,8,11,11,13,13,etc.?


and man, that patch takes forever to run on my guide!
also i would suggest replacing the " double quotes in the xml too..[they are in there quite often]
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,789
Threads: 769
Joined: Nov 2003
#46
2007-07-01, 05:11 PM
pBS Wrote:notice no CRLF at end of channels?
Thats ok, whitespace between tags is ignored - though it does make for ugly reading.

Quote:hmmm,could it be that there are duplicate channel numbers? 2,8,11,11,13,13,etc.?
Yes, most likely.


Quote:also i would suggest replacing the " double quotes in the xml too..[they are in there quite often]
Double quotes only need to be escaped within the data, not surrounding attribute values (like lang="en" or channel="084").
proteus5
Offline

Junior Member

Posts: 33
Threads: 2
Joined: May 2005
#47
2007-07-01, 07:41 PM
Jim_ Wrote:Here's a working(?) patch with the source code.
extract to the same folder as the -Oz- utility and run Patch.exe after downloading your epg file.
It will read yapixml.xml and output a file called Patched.xml
configure gbpvr to use Patched.xml as the xmltv epg file.

You can also call Patch.exe after the -Oz- utility in UpdateEPG.bat


Jim,

I ran your patch against Oz's file, and am able to import your patched file into GBPVR and get a full channel lineup, and 14 days of EPG data. Thanks....

For me the Yahoo grabber works better that the Titan grabber as Titan still lists a few channels that have long since been removed from my Comcast. That makes me wonder just how accurate Titan really is.

Again thanks for all your work on solving the EPG problem.!!!

Robert
PVR-150, P4 2.66, Windows 2000 Pro, ATI AIW Radion 9000 Pro GBPVR
PVR-150 Athlon XP 3000+ Shuttle sk43g, Windows 2000 Pro, FX 5200 S-video out to TV, GBPVR
PVR4ME
Offline

Junior Member

Posts: 14
Threads: 1
Joined: Sep 2005
#48
2007-07-01, 07:47 PM
Nicely done on this EPG grabber. Thanks for your time and effort. Everything worked good as far as listings, but the time is off (6 hours in my case). I'm assuming this may have to do with the UTC value. Any prospects of adding the "UTC" text to the end of the start and stop times to possibly correct this? Thanks!
Quote:Originally Posted by sub
If the date/times are UTC, them mark them as UTC and GB-PVR will take care of converting them to local times.

<programme channel="13501" start="20070626200000 UTC">

BTW, also probably a good idea to specify the end time on programmes.
proteus5
Offline

Junior Member

Posts: 33
Threads: 2
Joined: May 2005
#49
2007-07-01, 08:48 PM
PVR4ME Wrote:Nicely done on this EPG grabber. Thanks for your time and effort. Everything worked good as far as listings, but the time is off (6 hours in my case). I'm assuming this may have to do with the UTC value. Any prospects of adding the "UTC" text to the end of the start and stop times to possibly correct this? Thanks!


ahh yes just noticed this myself. everything looks good after using Jim's patch, but times are off by 4 hours.

Thanks again for all your work, and I'm sure there will be a remedy for this in no time.

Robert
PVR-150, P4 2.66, Windows 2000 Pro, ATI AIW Radion 9000 Pro GBPVR
PVR-150 Athlon XP 3000+ Shuttle sk43g, Windows 2000 Pro, FX 5200 S-video out to TV, GBPVR
Jim_
Offline

Senior Member

Posts: 696
Threads: 21
Joined: Dec 2005
#50
2007-07-01, 11:28 PM
The patch in post #44 has been updated to fix the timezone issue.
http://forums.gbpvr.com/showpost.php?p=2...stcount=44
[SIZE="1"]HP e9240f| Phenom II X4-945| Radeon HD4650 1-gig | 8 gig ram | Blu-Ray
Windows 7 64bit | 1TB system | 1.5TB Recordings | 3-TB Library
HDMI >> Sony 40" 1080p LCD TV
HVR-2250 | HVR-1290 | WinTV PVR USB2 | WinTV HD-PVR | GBPVR 1.4.7[/SIZE]
Projects: I-xmltv (Unsupported at this time) |
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

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


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to extract M3U8 and get matching XMLTV guide data from NPVR almightyj 0 3,538 2018-10-23, 07:24 AM
Last Post: almightyj
  XMLTV Channel Number Option gdogg371 12 7,027 2018-07-18, 04:32 PM
Last Post: sub
  Merge xmltv data with xslt Graham 4 3,581 2014-01-02, 12:45 PM
Last Post: Graham
  XMLTV data mvallevand 6 2,684 2011-04-16, 03:08 AM
Last Post: sub
  Free XMLTV EPG scraper dneprrider 214 101,024 2010-03-29, 04:54 AM
Last Post: dljones8053
  XmlTv Structure psycik 2 2,251 2008-12-29, 10:53 PM
Last Post: psycik
  Content Provider: How to publish XMLTV data? skoka123 6 3,527 2008-09-03, 05:48 AM
Last Post: skoka123
  XMLTV Questions -Oz- 34 10,603 2008-03-24, 01:19 AM
Last Post: zehd
  New XMLTV Enhancer and more... zehd 388 93,595 2008-03-05, 07:45 PM
Last Post: zehd
  I-xmltv updated for YahooXMLTv (adds a new show marker and more) Jim_ 78 25,600 2008-01-02, 10:33 AM
Last Post: tvshowman

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

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

Linear Mode
Threaded Mode