| | #1 (permalink) |
| Portal User Join Date: Nov 2005 Location: Brussels
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
| 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? |
| | |
| | #2 (permalink) | |
| Super Moderator Join Date: Feb 2005 Location: Melbourne
Posts: 1,932
Thanks: 67
Thanked 28 Times in 28 Posts
Country: | Quote:
| |
| | |
| | #3 (permalink) |
| Portal Member Join Date: Nov 2005
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
| 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 |
| | |
| | #4 (permalink) | |
| Portal User Join Date: Nov 2005 Location: Brussels
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
| Quote:
| |
| | |
| | #5 (permalink) |
| Portal Member Join Date: Dec 2004 Location: Hong Kong
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
| 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 |
| | |
| | #7 (permalink) |
| Portal Member Join Date: Dec 2004 Location: Hong Kong
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
| 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. |
| | |
| | #8 (permalink) |
| Portal Developer Join Date: May 2005 Location: Switzerland
Posts: 1,348
Thanks: 4
Thanked 55 Times in 34 Posts
| 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 |
| | |
| | #9 (permalink) |
| Portal Member Join Date: Nov 2005 Location: Lagny sur Marne
Posts: 58
Thanks: 0
Thanked 0 Times in 0 Posts
Country: | 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 ? |
| | |
| | #10 (permalink) |
| Portal Developer Join Date: May 2005 Location: Switzerland
Posts: 1,348
Thanks: 4
Thanked 55 Times in 34 Posts
| 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 |
| | |
![]() |
| Bookmarks |
| Tags |
| time, xmltv, zones |
| Thread Tools | |
| Display Modes | |
| |
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 |