MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Main Features (talk, share your ideas, get support) » Electronic Program Guide » WebEPG


WebEPG everything related to WebEPG in here

Reply
 
Thread Tools Display Modes
Old 2005-11-06, 19:10   #1 (permalink)
Portal User
 
Join Date: Nov 2005
Location: Brussels
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts


Default Time zones in xmltv

I live in Belgium and mainly watch British and Flemish television.
I run tv_grab_uk_rt and tv_grab_be to produce 2 xml files for the channels that I watch, which I then merge. Obviously those listings that were grabbed by tv_grab_uk_rt use GMT times and those grabbed using tv_grab_be use CET.

The problem I have is that Media Portal treats the +0100 time zone information in the xmltv file as being a time offset - therefore it adds another hour onto the time listed.
This means that all my Belgian channels display the wrong time in Media Portal but work with other programmes.

Is there any way around this other than importing the 2 xml files in tvxb, adding a "special=utctime" command to the header of the ini filea and exporting a singl file from tvxb?
mj_wood is offline   Reply With Quote
Old 2005-11-07, 08:16   #2 (permalink)
Super Moderator
 
Join Date: Feb 2005
Location: Melbourne
Posts: 1,932
Thanks: 67
Thanked 28 Times in 28 Posts

Country:

My System

Send a message via ICQ to Marcusb
Default Re: Time zones in xmltv

Quote:
Originally Posted by mj_wood
Is there any way around this other than importing the 2 xml files in tvxb, adding a "special=utctime" command to the header of the ini filea and exporting a singl file from tvxb?
Sorry, that's exactly what I was about to suggest. Hopefully someone else will come along with a better suggestion...
Marcusb is offline   Reply With Quote
Old 2005-11-11, 01:30   #3 (permalink)
Portal Member
 
Join Date: Nov 2005
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Well, apart from Europe adopting something Bristsh for once (only kidding), I dont thing so.

Logic suggests that if you are importing something which asks for a time zone and then you do it again with another time zone, any 'manual' merging will be at your cost! So, how about polling your MP to suggest adopting British Time (well maybe not); so in the meantime I guess there will need to be some manual intervention in the process.

I guess you could write a script that; grabbed the UK listngs; put the clock back an hour; and, then grabbed the Belgium listing - might work?

Dave
DaveInUK is offline   Reply With Quote
Old 2005-11-11, 12:34   #4 (permalink)
Portal User
 
Join Date: Nov 2005
Location: Brussels
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts


Default

Quote:
Originally Posted by DaveInUK
Logic suggests that if you are importing something which asks for a time zone and then you do it again with another time zone, any 'manual' merging will be at your cost!
The problem isn't with the xml file, which contains all the necessary time zone information. The problem is that Media Portal does not read that information properly. The same xml file works fine with other applications.
mj_wood is offline   Reply With Quote
Old 2005-11-13, 04:19   #5 (permalink)
Portal Member
 
Join Date: Dec 2004
Location: Hong Kong
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts


Default Convert to UTC time

If you add the following item to the top section of the TVxb.ini file, it will convert all times to UTC. Medial Portal will then process the timezones correctly.

special=utctime
billd is offline   Reply With Quote
Old 2005-11-15, 23:44   #6 (permalink)
Portal Member
 
Joce's Avatar
 
Join Date: Nov 2005
Location: Lagny sur Marne
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Default

I hav the same problem. Where can I find the tvxb file ? I search my hard drive but I could not find it....
Joce is offline   Reply With Quote
Old 2005-11-17, 07:28   #7 (permalink)
Portal Member
 
Join Date: Dec 2004
Location: Hong Kong
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts


Default Correction to my earlier comment

I should have read the original post more carefully. The present TVxb release can't help with this problem. It can change the timezone of program data it scrapes itself. However it cannot change the timezone for data imported from an external sources.

Actually all TVxb does with imported data is make sure the character-encoding is correct and then merge that with its own data. I have been thinking about parsing and modifying the imported data - however there are several other requests ahead in the queue at this time.
billd is offline   Reply With Quote
Old 2005-11-23, 20:59   #8 (permalink)
Portal Developer
 
Join Date: May 2005
Location: Switzerland
Posts: 1,348
Thanks: 4
Thanked 55 Times in 34 Posts


Default

Hi Guys,

I've just added TimeZone support to WebEPG. It will now convert the times on a site by site basis into the local time zone.

You can test it out in the latest CVS builds.

Cheers,

/James
James is offline   Reply With Quote
Old 2005-11-25, 15:06   #9 (permalink)
Portal Member
 
Joce's Avatar
 
Join Date: Nov 2005
Location: Lagny sur Marne
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts

Country:

My System

Default

Hi James
Does it work for the information shown on the TVGuide page of MP ?
I actually use the 0.1.3.0 version of MP. How can I benefit from your update ?
Joce is offline   Reply With Quote
Old 2005-11-25, 16:04   #10 (permalink)
Portal Developer
 
Join Date: May 2005
Location: Switzerland
Posts: 1,348
Thanks: 4
Thanked 55 Times in 34 Posts


Default

Hi Joce,

Yes it works with the information shown in TVguide. It is for those users getting guide information from a different country/timezone as their own.

To try it out you can download a CVS built. All new versions of WebEPG now require .NET 2.0.

The file structure is a little changed so if you dont want to use the CVS build and just want to try WebEPG you can run it from the root directory of the CVS build.

If you want to copy it somewhere else without all the other CVS files then:

copy the following:

Files: webepg.exe, webepg.dll, utils.dll, databases.dll, core.dll nd sqlite.dll
Directories: WebEPG, xmltv, databases

into a new folder. If you want to try the new database lookup feature then copy your tv database into the above mentioned databases directory each time before running webepg.

Hope this helps and is not too complex.

Cheers,

/James
James is offline   Reply With Quote
Reply

Bookmarks

Tags
time, xmltv, zones

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
EPG USA setup using xmltv. STICK THIS! Athfar xmlTV 76 2007-06-20 20:21
Hauppauge remote, not working. Haplo General Support 17 2006-02-18 05:24
Hauppauge 45 Buttons in My Video Fullscreen/back button bug miljbee The old Bugreport Forum 4 2006-02-10 19:51
Changing the time in XMLTV jackpetty Installation, configuration support 1 2006-02-05 23:04
Need help with xmltv time Offset primetime General Support 2 2005-10-26 18:50


All times are GMT +1. The time now is 04:29.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden