View Full Version : Strange XMLTV problem

2004-03-28, 04:37 PM
For some reason today my guide listings are one hour early. A show for 1pm shows in the guide as starting at 12 noon. This just occurred today and was fine last night. I have 2 other programs that use this same xmltv data and the time in their guides are correct. Is your program compensating for Daylight Savings early? I've emptied and re-added the EPG and also redownloaded the xmltv data from the Internet again with no change. Any idea what the issue could be?


2004-03-28, 05:11 PM
Some modifications have been made on latest version of XLMTV for countries with summer/winter hour system (most european countries). May be it's causing problem with your configuration.

2004-03-28, 05:24 PM
I'm seeing the same thing as gplasky. A quick look at the data in the XML file shows that it is correct.


2004-03-28, 05:38 PM
What style of date is used in both of your xmltv files? Also, has daylight saving just kicked in there? It should cope with it, but this is certainly a possibility.

2004-03-29, 12:07 AM

Here&#39;s a sample<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> &#60;programme start=&#34;20040328200000 -0500&#34; stop=&#34;20040328203000 -0500&#34; channel=&#34;12 WHNS&#34;&#62;
&#60;title&#62;The Simpsons&#60;/title&#62;
&#60;sub-title&#62;Wandering Juvie&#60;/sub-title&#62;
&#60;desc&#62;Bart meets a tough girl who helps him escape from juvenile detention.&#60;/desc&#62;
&#60;subtitles type=&#34;teletext&#34; /&#62;
&#60;rating system=&#34;VCHIP&#34;&#62;
The time zone is right for me GMT -5. Daylight Savings Time in the US starts at 2:00 AM next Sunday.


2004-03-29, 02:02 AM
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"> *&#60;/programme&#62;
*&#60;programme start=&#34;20040328210000 -0500&#34; stop=&#34;20040328220000 -0500&#34; channel=&#34;7 WXYZ&#34;&#62;
* *&#60;title&#62;Alias&#60;/title&#62;
* *&#60;sub-title&#62;The Frame&#60;/sub-title&#62;
* *&#60;desc&#62;Sydney and Vaughn pursue Kazari Bomani to obtain a piece of the Rambaldi puzzle.&#60;/desc&#62;
* *&#60;category&#62;Drama&#60;/category&#62;
* *&#60;audio&#62;
* * *&#60;stereo&#62;stereo&#60;/stereo&#62;
* *&#60;/audio&#62;
* *&#60;subtitles type=&#34;teletext&#34; /&#62;
* *&#60;rating system=&#34;VCHIP&#34;&#62;
* * *&#60;value&#62;14&#60;/value&#62;
* *&#60;/rating&#62;

This show currently shows in my guide as starting at 8pm and ending at 9pm. If it was next Sunday it would be worse because we spring ahead an hour. It would be 2 hours off.


2004-03-29, 04:51 AM
I can also confirm this is happening. *I&#39;ve looked at the XML file, and it is correct. *The time shows are listed in the XML file match the time the shows actually are on TV. *But when viewed though the GBPVR program, all shows are displayed an hour early. *So if a show begins at 9PM, the XML file shows 9PM, but GBPVR shows 8PM. *

Seems to only be GBPVR though. *I have myHTPC installed as well, using the same XML file, and the times it lists are correct. *

Hope this isn&#39;t too much detail. *I&#39;m just trying to help give info.

Any ideas for fixes for this?

2004-03-29, 05:29 AM
Yes, its definitely a problem. C#/.net doesn&#39;t have any direct support for timezones (other than the local one), and the library I&#39;m using seems to be doing something wrong. I&#39;m looking at it now.

2004-03-29, 06:28 AM

I&#39;ve checked yesterday whether daylight saving is a problem. I didn&#39;t have a problem, but I use the time format GMT+01:00. This doesn&#39;t explicitly state the timezone but gbpvr works with no problem.


2004-03-29, 10:00 AM
My timezone is GMT -0500 which is in the XMLYV file. Point is this broke as of yesterday. Maybe it is ony negative timezones from GMT. DST starts next week. If it was related to that the shows would show up an hour later. Something else is happening within the program. I also have myHTPC and GotTVPVR. They are all using the exact same XMLTV data file. This issue is only affecting GB-PVR. sub will figure it out. He recognizes it as a problem and is checking out the libraries. I&#39;d be curious to know what timezones are being affected by this or is it just Eastern Time Zone which I am in.


2004-03-29, 02:57 PM
I am a newbie with GB-PVR but I got everything working correctly. Awesome Program&#33; I just wanted to confirm that I have had the same problem and also live in the Eastern Time Zone (-500).

2004-03-29, 05:11 PM
I&#39;m looking for a couple of guinea pigs. If any of you would like to help me confirm my fix works, send me an email.


PS, sorry if I dont get back to every one. My busy work days is about to be begin, and my employer might not agree with me spending the day on email http://gbpvr.com/iB_html/non-cgi/emoticons/rock.gif

2004-03-29, 09:32 PM
Your latest build that you allowed me to download has fixed the 1 hour error I was seeing in the EPG. All times are looking correct now. The 5:30pm news is now at 5:30 and the 6:00pm news is now at 6:00.

Also would like to say it looks like you are adding a nice couple of touches to the app. http://gbpvr.com/iB_html/non-cgi/emoticons/biggrin.gif Don&#39;t know if you want me to say too much so I will leave it at that.


2004-03-29, 10:40 PM
Quote[/b] ]Also would like to say it looks like you are adding a nice couple of touches to the app.
Another guinea pig says http://gbpvr.com/iB_html/non-cgi/emoticons/biggrin.gif too.


2004-03-30, 12:01 AM
I need to be a pig&#33;&#33;&#33; For the time being i just turned back my windows clock an hour as a temporary fix but I really need to get this update.. Thanks for anyone who can point me in the right directions (wink wink)


Thanks, Brandon

2004-03-30, 12:12 AM
PM sent.

2004-03-30, 01:15 AM
Sorry Sub, if you were referring to me, i didn&#39;t get the PM. Could you send it again or email it to me.. thanks in advance


2004-03-30, 01:57 AM
Ok, email sent this time.

2004-03-30, 02:31 AM
perfect,, thanks for your help

Also, this new edition fixed the problem perfectly with some new features which will be enjoyed by many. Thanks again Sub for your help&#33;&#33;


2004-03-30, 02:41 AM
Some of you that are giving it a test run (and are USA based) may want to try emptying your EPG and setting the date forward a week on your PC, then try importing an XMLTV file. I&#39;m not able to easily test this here, but I fairly sure I&#39;m handling this correctly.

I&#39;d like to be confident that as daylight saving rolls around this weekend in the USA, that things will continue to work correctly.

If I&#39;ve not heard of any problems with this fix by tomorrow morning (NZ time), I&#39;ll make the new version available on the website for public download.

Cheers to those that have taken the time to give it a test run&#33;

2004-03-30, 06:18 PM
I have updated to ver 0.15 and now am getting a + 1hour problem with the epg. It worked fine in the previous version. I am in the uk and on GMT. Everything else seems to be working.

2004-03-30, 06:26 PM
oops its not GMT anymore we moved forward at the weekend, but does not help the probelm http://gbpvr.com/iB_html/non-cgi/emoticons/sad.gif

2004-03-30, 06:29 PM
lol http://gbpvr.com/iB_html/non-cgi/emoticons/biggrin.gif

I&#39;ll take another look tonight. So much for everyone that tested it (just kidding)...

2004-03-30, 07:12 PM
Thanks. If you need any more testers count me in.

2004-03-31, 09:28 AM
Same here. http://gbpvr.com/iB_html/non-cgi/emoticons/sad.gif UK and recently gone from GMT to BST.

Just installed 15c and is out by 1 hour on the EPG. XML feed (GrabEPG &amp; beeb) is fine. CAn send you the xml feed if it&#39;ll help any.

2004-03-31, 04:41 PM
box2k2, can you email me a current xmltv file?

2004-04-02, 03:01 AM
I am in MST (-0700) and am getting the +1 hour now (I was getting -1 hour with 0.14). *I&#39;d be willing to test whatever you need.