jdfisher 2 Posted November 26, 2016 Posted November 26, 2016 I have been using Schedules direct for a year now, and am looking into moving toward something free. I am currently trying to get XMLTV working correctly. I have used zap2xml to download my wanted guide data to xml (attached), mapped my channels manually, and the information is populated into the guide successfully. The problem I am running into is what it is marking as new or repeat in the guide, especially repeat without an original air date. Looking in the xml <previously-shown start="20161127000000" /> designates a repeat showing with the original air date in the start= attribute But if where I am pulling data from doesn't know the original air date it just comes through as <previously-shown /> For the ones that have start= attribute, they are working correctly and it shows repeat in the guide If it doesn't have the start= attribute, then it is showing up as New in the guide New episodes that are designated as <new /> work correctly as far as I can tell xmltv.xml server-63615756427.txt
jdfisher 2 Posted November 26, 2016 Author Posted November 26, 2016 For episodes that have just <previously-shown /> without the air date to show as a repeat in the guide. Sent from my SM-G920V using Tapatalk
Luke 39319 Posted November 26, 2016 Posted November 26, 2016 I'm not sure that's a safe assumption to make. @@denz have you seen that before?
jdfisher 2 Posted November 26, 2016 Author Posted November 26, 2016 In all of what I can find it's correct. A good example of this being an issue is the Simpsons marathon going on on fxx. All of them show as new in the guide. Sent from my SM-G920V using Tapatalk
jdfisher 2 Posted November 26, 2016 Author Posted November 26, 2016 I have also noticed that none of my recording timers exist anymore. Am I going to have to redo my series due to the change in guide data? I tested doing a find and replace of <previously-shown /> with <previously-shown start="19690101000000" /> and the repeat data looks correct in the guide. I can probably script this with my task schedule when running zap2xml if needed.
Luke 39319 Posted November 26, 2016 Posted November 26, 2016 Well I don't mind supporting that if it's correct I just want to make sure it is first. As far as timers go, yes the timers are associated to programs so if the guide changes the recording schedule will as well.
ebr 15546 Posted November 27, 2016 Posted November 27, 2016 You feel the folks at Schedules Direct didn't earn their $26 providing an entire year of data...?
denz 452 Posted November 27, 2016 Posted November 27, 2016 If it doesnt have a date that means it is new show and wmc treats it as new . If that is changed than it will make my guide useless and logically thinking the reason it doesnt have a date because it hasnt be shown before.
jdfisher 2 Posted November 27, 2016 Author Posted November 27, 2016 It designates new with <new /> it's that the source doesn't know the original air dates so it doesn't put them in for all episodes. Sent from my SM-G920V using Tapatalk
Luke 39319 Posted November 27, 2016 Posted November 27, 2016 Could both of you post a sample episode from your XML so that we can compare? Thanks.
jdfisher 2 Posted November 27, 2016 Author Posted November 27, 2016 Repeat without air date: <programme start="20161127233000 -0800" stop="20161128000000 -0800" channel="I87317.labs.zap2it.com"> <title lang="en">House Hunters International</title> <sub-title lang="en">High Above the Cote D'azur</sub-title> <desc lang="en">Todd and Jim want to buy a home on the French Rivera.</desc> <category lang="en">Series</category> <episode-num system="dd_progid">EP00804863.1340</episode-num> <video> <aspect>16:9</aspect> <quality>HDTV</quality> </video> <previously-shown /> <subtitles type="teletext" /> <rating> <value>TVG</value> </rating> </programme> Repeat with air date: <programme start="20161128003000 -0800" stop="20161128010000 -0800" channel="I87317.labs.zap2it.com"> <title lang="en">Island Life</title> <sub-title lang="en">Family Time on St. Simons</sub-title> <desc lang="en">A couple with five kids wants more quality time together on St. Simons, GA.</desc> <date>20161127</date> <category lang="en">Series</category> <episode-num system="dd_progid">EP02011675.0064</episode-num> <video> <aspect>16:9</aspect> <quality>HDTV</quality> </video> <previously-shown start="20161127000000" /> <subtitles type="teletext" /> <rating> <value>TVG</value> </rating> </programme> New: <programme start="20161128220000 -0800" stop="20161128223000 -0800" channel="I87317.labs.zap2it.com"> <title lang="en">House Hunters</title> <sub-title lang="en">Single Professional Searches for Glam Home in Atlanta</sub-title> <desc lang="en">A buyer seeks a house in Atlanta.</desc> <date>20161128</date> <category lang="en">Series</category> <episode-num system="dd_progid">EP00326733.1690</episode-num> <video> <aspect>16:9</aspect> <quality>HDTV</quality> </video> <new /> <subtitles type="teletext" /> <rating> <value>TVG</value> </rating> </programme>
jdfisher 2 Posted November 27, 2016 Author Posted November 27, 2016 You feel the folks at Schedules Direct didn't earn their $26 providing an entire year of data...? I do, but currently I only have about $11 to my name...
Luke 39319 Posted November 27, 2016 Posted November 27, 2016 Actually according to the xmltv website it looks like this is valid. We need to look at the results of both <!-- When and where the programme was last shown, if known. Normally in TV listings 'repeat' means 'previously shown on this channel', but if you don't know what channel the old screening was on (but do know that it happened) then you can omit the 'channel' attribute. Similarly you can omit the 'start' attribute if you don't know when the previous transmission was (though you can of course give just the year, etc.). The absence of this element does not say for certain that the programme is brand new and has never been screened anywhere before. --> <!ELEMENT previously-shown EMPTY> <!ATTLIST previously-shown start CDATA #IMPLIED channel CDATA #IMPLIED > 1
jdfisher 2 Posted November 27, 2016 Author Posted November 27, 2016 I am scripting the find and replace for now. If it gets resolved I will remove it. Sent from my SM-G920V using Tapatalk
denz 452 Posted November 28, 2016 Posted November 28, 2016 It looks I was wrong on my xmltv feed the new episodes don't have a previously shown tag but this is from only looking at three new showings. <programme channel="23" stop="20161128033000 +0000" start="20161128010000 +0000"><title lang="en">The Morning Show</title><desc lang="en">Kylie Gillies and Larry Emdur skip the hard news and present a morning show full of health, lifestyle and fashion advice.(Australia, English)</desc><category lang="en">Live</category><category lang="en">Variety</category><language lang="en">English</language><country lang="en">Australia</country><episode-num system="icetv">10605-0</episode-num><video><aspect>16:9</aspect></video><subtitles type="teletext"/><rating system=""><value>PG</value></rating></programme> <programme channel="23" stop="20161128113000 +0000" start="20161128110000 +0000"><title lang="en">Home And Away</title><desc lang="en">This is the chronicle of the fun and games, ups and downs and all other shenanigans the denizens of the beachside town of Summer Bay get up to, day in and day out.(Australia, English)</desc><category lang="en">Soap Opera</category><language lang="en">English</language><country lang="en">Australia</country><episode-num system="icetv">73-0</episode-num><video><aspect>16:9</aspect></video><subtitles type="teletext"/><rating system=""><value>PG</value></rating></programme> <programme channel="2391" stop="20161128120000 +0000" start="20161128113000 +0000"><title lang="en">Science Of Stupid</title><sub-title lang="en">Series 1, Episode 1</sub-title><desc lang="en">Richard Hammond shows what can go spectacularly wrong when you're paragliding, or riding dirt bikes, and then he shows you the science behind the disaster.(United Kingdom, English)</desc><category lang="en">Documentary</category><category lang="en">News</category><category lang="en">Science & Tech</category><language lang="en">English</language><country lang="en">United Kingdom</country><episode-num system="xmltv_ns">0.0.</episode-num><episode-num system="icetv">44934-240145</episode-num><video><aspect>16:9</aspect></video><subtitles type="teletext"/><rating system=""><value>M</value></rating></programme>
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now