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: 263945" data-attributes="member: 69110"><p>It's slightly more complicated than that. For whatever reason, most of my first-run programs have a "previously-shown" date that's about a day and 3 hours earlier than the actual run time (time zone issue?). Not even the 1 day 3hr difference is a constant, however... sometimes it's 1 day 4hrs earlier, and a few programs are a full 1 day, 23hrs earlier! I'm on Pacific Standard Time, btw.</p><p></p><p>Also, sometimes the "previously-shown" date is *in* the previously-shown tag, like:</p><p><previously-shown start="20080207000000" />)</p><p></p><p>Other times the previously-shown tag is reduced to "<previously-shown />" and there's a <date></date> tag with the earlier runtime in it, minus the 6 trailing zeros. So my script checks for a full date in either place ("full date" because for movies the <date> tag often just has the release year of the movie in it), and removes any existing previously-shown tag if the broadcast date is 1 day, 23hrs after the "previously shown" date or closer.</p><p></p><p>Hope that was clear... and hopefully my code's legible enough to explain better!</p></blockquote><p></p>
[QUOTE="mrbenji, post: 263945, member: 69110"] It's slightly more complicated than that. For whatever reason, most of my first-run programs have a "previously-shown" date that's about a day and 3 hours earlier than the actual run time (time zone issue?). Not even the 1 day 3hr difference is a constant, however... sometimes it's 1 day 4hrs earlier, and a few programs are a full 1 day, 23hrs earlier! I'm on Pacific Standard Time, btw. Also, sometimes the "previously-shown" date is *in* the previously-shown tag, like: <previously-shown start="20080207000000" />) Other times the previously-shown tag is reduced to "<previously-shown />" and there's a <date></date> tag with the earlier runtime in it, minus the 6 trailing zeros. So my script checks for a full date in either place ("full date" because for movies the <date> tag often just has the release year of the movie in it), and removes any existing previously-shown tag if the broadcast date is 1 day, 23hrs after the "previously shown" date or closer. Hope that was clear... and hopefully my code's legible enough to explain better! [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Products
TV-Server
For The Record - The rule-based scheduling suite
Contact us
RSS
Top
Bottom