|
SageTV EPG Service Discussion related to the SageTV EPG Service used within SageTV. Questions about service area coverage, channel lineups, EPG listings, XMLTV, or anything else related to the service or programming guide data for SageTV should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
2006 was a good year....
Hello all,
I am using xmltv with multiple lineups. Two of the xml files are created by xmltv2mtepg (the epg files are from mytheatre). This small piece of software doesn't seem to be supported by the author anymore. It has a small bug because it puts the date for all movies as: 20060101. As a result, Sage's epg shows all movies are from 2006. At first, I was quite impressed that 2006 produced so many movies ;-) I took a look at the xml file that sage uses and it gives the following: Code:
<date>20060101</date> </programme> <programme start="20070808040000 +0100" stop="20070808054500 +0100" channel="C5061.www.mtepgdplu.com"> <title lang="fr">The Bachelor</title> <length units="minutes">105</length> <desc lang="fr">PG-13(L) * - Movie. Chris O'Donnell, Renee Zellweger, Hal Holbrook. (1999) A man learns he will inherit $100 million only if he marries before his 30th birthday, 27 hours away. (CC) (Stereo)</desc> <rating system="advisory"> <value>Language</value> </rating> <rating system="MPAA"> <value>PG-13</value> </rating> <star-rating> <value>1/5</value> </star-rating> <category lang="fr">Movie</category> I wish I had some programming skills. I was wondering if there was a way to have some sort of scraper delete 20060101 and replace it with the real year? |
#2
|
|||
|
|||
It can't be that hard, can it??
|
#3
|
||||
|
||||
It is the sort of thing that would be technically possible with tv_grep...
But the XML as listed above is not well-formed (the elements of the programme have to be in a specific order according to the DTD) , so is not actually parseable by the XMLTV tools...
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
#4
|
|||
|
|||
If i used a different dtd file, would this make a difference?
|
#5
|
||||
|
||||
IIRC no, the order is also enforced somewhere in the XMLTV code...
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Windows XP will be phased out by the end of the year | davephan | General Discussion | 22 | 04-30-2007 02:11 PM |
Year Long Stuttering Glitch Resolved!!! (Drive reverts to PIO mode) | Pumpkinhead | SageTV Software | 3 | 11-27-2006 09:55 AM |
install error | samson | SageTV Linux | 1 | 06-14-2006 08:41 AM |
Dell 8300 + nvidia 6600 good enough for HD? | weyker | Hardware Support | 10 | 05-25-2006 07:43 PM |
MediaREADY 5000 reviewed in April 2006 Home Theater magazine | zz5 | General Discussion | 1 | 03-23-2006 01:25 AM |