home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Products
TV-Server
For The Record - The rule-based scheduling suite
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="mrbenji" data-source="post: 263570" data-attributes="member: 69110"><p>Pulling my hair out trying to figure this out.</p><p></p><p>I'm using xmltv's tv_grab_na_dd (latest version) to download my lineup from Shedules Direct. My basic issue is that the resulting xml file has no reference to the attributes "repeat" or "new" -- so everything that's not a sports event is marked "repeat" in TvScheduler.</p><p></p><p>I've written a python script (attached) that seems to accurately determine whether a program is new by comparing the "programme start" time to the "previously-shown" or "date" values. In its current state it modifies any such programme block by adding "<new></new>" on a line by itself... a modification that doesn't work.</p><p></p><p>Thing is, I've been completely unable to find a simple explanation of what a new or repeat attribute should look like... there are references to needing to set it, needing to use "new" instead of "repeat," a <a href="http://forums.schedulesdirect.org/download/file.php?id=2" target="_blank">Tribune data schema document</a> referencing "xtvd/schedules/schedule/@new" -- but never an actual example of a programme block that's properly marked as "new."</p><p></p><p>I've tried adding new="true" and/or repeat="false" to the settings (start, stop, channel) inside the actual "programme" tag. I've tried adding a <new></new> entry to the programme grouping's body, as the attached script does. I've removed "previously-shown" tags when present. But <strong>nothing </strong>seems to tell TvScheduler "this is not a repeat!"</p><p></p><p>Here's a sample programme block:</p><p>[CODE] <programme start="20080506040000 +0000" stop="20080506050000 +0000" channel="I19571.labs.zap2it.com"></p><p> <title lang="en">House</title></p><p> <sub-title lang="en">Living the Dream</sub-title></p><p> <desc lang="en">House takes matters into his own hands when he feels certain that one of the actors on his favorite soap opera (Jason Lewis) is suffering from a serious medical condition, but the actor dismisses House's assessment.</desc></p><p> <date>20080505</date></p><p> <category lang="en">Mystery</category></p><p> <category lang="en">Medical</category></p><p> <category lang="en">Series</category></p><p> <episode-num system="dd_progid">EP00688359.0086</episode-num></p><p> <episode-num system="onscreen">414</episode-num></p><p> <video></p><p> <aspect>16:9</aspect></p><p> <quality>HDTV</quality></p><p> </video></p><p> <audio></p><p> <stereo>dolby</stereo></p><p> </audio></p><p> <subtitles type="teletext" /></p><p> <rating system="VCHIP"></p><p> <value>TV-14</value></p><p> </rating></p><p> </programme>[/CODE]My python script properly recognizes this as a new episode because the "start=" field in the "programme" tag is closer than 5 days to the value framed by <date></date>, however I have no clue what to do about it, despite hours upon hours of googling!</p><p></p><p>Can someone please rescue me by replying with what that block needs to look like for TvScheduler to consider it new?</p><p></p><p>Thanks!</p></blockquote><p></p>
[QUOTE="mrbenji, post: 263570, member: 69110"] Pulling my hair out trying to figure this out. I'm using xmltv's tv_grab_na_dd (latest version) to download my lineup from Shedules Direct. My basic issue is that the resulting xml file has no reference to the attributes "repeat" or "new" -- so everything that's not a sports event is marked "repeat" in TvScheduler. I've written a python script (attached) that seems to accurately determine whether a program is new by comparing the "programme start" time to the "previously-shown" or "date" values. In its current state it modifies any such programme block by adding "<new></new>" on a line by itself... a modification that doesn't work. Thing is, I've been completely unable to find a simple explanation of what a new or repeat attribute should look like... there are references to needing to set it, needing to use "new" instead of "repeat," a [URL="http://forums.schedulesdirect.org/download/file.php?id=2"]Tribune data schema document[/URL] referencing "xtvd/schedules/schedule/@new" -- but never an actual example of a programme block that's properly marked as "new." I've tried adding new="true" and/or repeat="false" to the settings (start, stop, channel) inside the actual "programme" tag. I've tried adding a <new></new> entry to the programme grouping's body, as the attached script does. I've removed "previously-shown" tags when present. But [B]nothing [/B]seems to tell TvScheduler "this is not a repeat!" Here's a sample programme block: [CODE] <programme start="20080506040000 +0000" stop="20080506050000 +0000" channel="I19571.labs.zap2it.com"> <title lang="en">House</title> <sub-title lang="en">Living the Dream</sub-title> <desc lang="en">House takes matters into his own hands when he feels certain that one of the actors on his favorite soap opera (Jason Lewis) is suffering from a serious medical condition, but the actor dismisses House's assessment.</desc> <date>20080505</date> <category lang="en">Mystery</category> <category lang="en">Medical</category> <category lang="en">Series</category> <episode-num system="dd_progid">EP00688359.0086</episode-num> <episode-num system="onscreen">414</episode-num> <video> <aspect>16:9</aspect> <quality>HDTV</quality> </video> <audio> <stereo>dolby</stereo> </audio> <subtitles type="teletext" /> <rating system="VCHIP"> <value>TV-14</value> </rating> </programme>[/CODE]My python script properly recognizes this as a new episode because the "start=" field in the "programme" tag is closer than 5 days to the value framed by <date></date>, however I have no clue what to do about it, despite hours upon hours of googling! Can someone please rescue me by replying with what that block needs to look like for TvScheduler to consider it new? Thanks! [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Products
TV-Server
For The Record - The rule-based scheduling suite
Contact us
RSS
Top
Bottom