Thanks again for all your time on this.alanbirtles wrote:all changes are now wrapped into 3.10.02
Digiguide grabber detail in 3.10.00W
Re: Digiguide grabber detail in 3.10.00W
Re: Digiguide grabber detail in 3.10.00W
I have trying out the new Digiguide grabber today and ran into a problem I haven't been able to solve yet.
I use XMLTVGUI to import an xml file for the Dutch channels and used the Digiguide grabber for the UK channels. Al the Dutch channels are ok but al the UK channels are one hour off (time in the xml is one hour later than the actual broadcast). I don't have this problem when using the RT grabber. The timezone is set to CET/CEST.
Any ideas why this is happening?
Bauke
I use XMLTVGUI to import an xml file for the Dutch channels and used the Digiguide grabber for the UK channels. Al the Dutch channels are ok but al the UK channels are one hour off (time in the xml is one hour later than the actual broadcast). I don't have this problem when using the RT grabber. The timezone is set to CET/CEST.
Any ideas why this is happening?
Bauke
-
- Site Admin
- Posts: 495
- Joined: Mon Sep 06, 2004 4:44 pm
Re: Digiguide grabber detail in 3.10.00W
If your system timezone is set to CEST then the digiguide times are probably translated into that time, the grabber assumes that the times are GMT/BST and if they arent then you will get incorrect times in the xml
Re: Digiguide grabber detail in 3.10.00W
My system time is set to CEST, does this mean I can't get the correct time when using the Digiguide grabber?
Bauke
Bauke
-
- Site Admin
- Posts: 495
- Joined: Mon Sep 06, 2004 4:44 pm
Re: Digiguide grabber detail in 3.10.00W
go into scripts\ukdigi\ukdigi.lua and change:
to:
add the following to lib\timezones.lua
Code: Select all
prog.Start = time.GMT_BSTToUTC(prog.Start)
prog.Stop = time.GMT_BSTToUTC(prog.Stop)
to:
Code: Select all
prog.Start = time.CET_CESTToUTC(prog.Start)
prog.Stop = time.CET_CESTToUTC(prog.Stop)
Code: Select all
time.CET_CESTToUTC = function(date)
if time.IsEUDST(date) then
date.Hour = date.Hour - 2
date = time.Fix(date)
else
date.Hour = date.Hour - 1
date = time.Fix(date)
end
return date
end
Re: Digiguide grabber detail in 3.10.00W
Hi Alan,
Thanks for helping me out with this.
I tried your suggested changes but when I add the last part to the timezones.lua the XMLTVGUI config seems to get corrupted. The program isn't working any more and when I go into the setting menu both the grabbers and postprocessors tap are completely empty.
After copying the original timezones.lua back al is working again.
Any ideas?
Bauke
Thanks for helping me out with this.
I tried your suggested changes but when I add the last part to the timezones.lua the XMLTVGUI config seems to get corrupted. The program isn't working any more and when I go into the setting menu both the grabbers and postprocessors tap are completely empty.
After copying the original timezones.lua back al is working again.
Any ideas?
Bauke
-
- Site Admin
- Posts: 495
- Joined: Mon Sep 06, 2004 4:44 pm
Re: Digiguide grabber detail in 3.10.00W
i have corrected the code
Re: Digiguide grabber detail in 3.10.00W
Allan Thanx after correcting a small typo its working
prog.Stop = time.GMT_CET_CESTToUTC(prog.Stop)
Bauke
prog.Stop = time.GMT_CET_CESTToUTC(prog.Stop)
Bauke
-
- Posts: 4
- Joined: Sun Jun 22, 2008 9:03 pm
Re: Digiguide grabber detail in 3.10.00W
Hi Alan - thanks for including the DigiGuide grabber. Are you sure that the issues with parsing the output of DG2XML have been resolved?
I notice that there is a lot more detail in the xml file I get now (example attached), but there are still some tags that don't appear (film star ratings, film BBFC ratings, video/audio/teletext, etc). If I use the DG2XML.exe that's available all the information looks to be in the file it produces.
Thanks,
Adrian.
I notice that there is a lot more detail in the xml file I get now (example attached), but there are still some tags that don't appear (film star ratings, film BBFC ratings, video/audio/teletext, etc). If I use the DG2XML.exe that's available all the information looks to be in the file it produces.
Thanks,
Adrian.
- Attachments
-
- BBC1.zip
- (62.73 KiB) Downloaded 2418 times
-
- Site Admin
- Posts: 495
- Joined: Mon Sep 06, 2004 4:44 pm
Re: Digiguide grabber detail in 3.10.00W
the latest svn of xmltv_parse now parses more details from the miscellaneous field
-
- Posts: 4
- Joined: Sun Jun 22, 2008 9:03 pm
Re: Digiguide grabber detail in 3.10.00W
Thanks Alan - top job . The xml file now shows up the star & film ratings etc.
Cheers,
Adrian.
Cheers,
Adrian.