Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
  • 1
  • 8
  • 9
  • 10(current)
  • 11
  • 12
  • 201
TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;)
Ok, I can get you that info. But it might have to wait until tomorrow.

It does get complicated when I look at it myself. It appears to adjust the time and not the offset. Leaving the offsets the same. So the BBC time you read, for start time - has been adjusted and is correct.

Sent from my ONE A2005
Reply
(2016-08-10, 21:33)iainmacleod Wrote: Let me know if you need anything else.

I've been thinking about this and I am not sure why you are having problems.

I am in Denmark at the moment.
My Win7 and Kodi timezones are set to Denmark
I set up the main webgrab program in Win7 with just the defaults.
Then I ran my Webgrab+Plus Configurator addon with no additional settings.
Then I pulled the output xmltv.xml file into TV Guide Fullscreen
and all the programs times are correct.
BBC1 News At Ten is about to start and it is 11pm here.
The Danish DR1 channel says Olympic Gymnastics is on now and that is correct too.

I didn't need to add any offsets at all.

Are you sure the computer you are running webgrab on has the correct timezone in Kodi and the operating system?

If you can do the same test as me on Windows or Linux that would be a good comparison.
Reply
Hmmm. Well here's the thing. I'm using tvguide.co.uk and tv.com - I'm going to hazard a guess and say you use one site for grabbing. Since I grab from a UK site, it's UK timezone, and the US site is us timezones...maybeHuh



Sent from my ONE A2005
Reply
But I am happy to test anything.

Sent from my ONE A2005
Reply
(2016-08-10, 23:17)iainmacleod Wrote: Hmmm. Well here's the thing. I'm using tvguide.co.uk and tv.com - I'm going to hazard a guess and say you use one site for grabbing. Since I grab from a UK site, it's UK timezone, and the US site is us timezones...maybeHuh



Sent from my ONE A2005

Did you follow the instructions for the tv.com website about saving cookies?
\userdata\addon_data\script.webgrab\webgrab\siteini.pack\USA\tv.com_instructions.txt
Reply
Yup

Sent from my ONE A2005
Reply
Could it be that my Kodi box does a VPN connection on start up? System time is right...

Sent from my ONE A2005
Reply
I grab from both of those too. I have noticed that a couple of UK channels are off by an hour, I'm set to UTC-5 a couple of channels do UTC-4. That' on my Windows machine running straight WebGrab++. That may be my fault choosing the wrong link. I have not had time to survey configurator yet, I think they are OK.
Reply
(2016-08-11, 03:49)donbrew Wrote: I grab from both of those too. I have noticed that a couple of UK channels are off by an hour, I'm set to UTC-5 a couple of channels do UTC-4. That' on my Windows machine running straight WebGrab++. That may be my fault choosing the wrong link. I have not had time to survey configurator yet, I think they are OK.

If you get time could you make a list of the providers that need offsets.

I am pretty sure that standard webgrab on win7 gets the right channels from tvguide.co.uk without offsets.

If everyone here can help make a list I can add in an automation step to fill in the offset config file.
Reply
(2016-08-10, 23:36)iainmacleod Wrote: Could it be that my Kodi box does a VPN connection on start up? System time is right...

Sent from my ONE A2005

Possibly.

The other thing to check is whether webgrab is actually grabbing the new programs or using its cache.

If you have experimented with offset processing there might be old data in the cache.

You can force an update.

I would manually delete the cache folder to be sure.

Don't forget to compare on a desktop/laptop operating system.
Reply
(2016-08-11, 08:55)primaeval Wrote:
(2016-08-11, 03:49)donbrew Wrote: I grab from both of those too. I have noticed that a couple of UK channels are off by an hour, I'm set to UTC-5 a couple of channels do UTC-4. That' on my Windows machine running straight WebGrab++. That may be my fault choosing the wrong link. I have not had time to survey configurator yet, I think they are OK.

If you get time could you make a list of the providers that need offsets.

I am pretty sure that standard webgrab on win7 gets the right channels from tvguide.co.uk without offsets.

If everyone here can help make a list I can add in an automation step to fill in the offset config file.

It may also be due to the UK currently being in British Summer Time (UTC + 1)? So if you're expecting the channel timings to match UTC, then they'll be an hour off. We don't switch back to UTC until October or so (or GMT as it gets called here, but they're basically the same). The joys of daylight saving...
|Banned add-ons (wiki)|Forum rules (wiki)|VPN policy (wiki)|First time user (wiki)|FAQs (wiki) Troubleshooting (wiki)|Add-ons (wiki)|Free content (wiki)|Debug Log (wiki)|

Kodi Blog Posts
Reply
iainmacleod

What device are you running webgrab+ where you are unable to run chans2correct.xml in such a way that you have something like awiouy's LibreELEC webgrabplus add-on can currently provide:-
  • guide_wgp.xml (With NO chans2correct.xml changes applied, but with timezone changes applied based on each site.ini)
  • guide.xml (With overriding chans2correct.xml changes applied)

This way you have would always have a guide_wgp.xml that "should under normal circumstances" correctly apply time zone changes on all countries channels with reference to your time zone (Assuming device webgrabplus is running on is set to valid time zone your in)

And you would also have a guide.xml with which you could manually alter the time zone of every single channel if/as necessary to be sure that the time is correct for device guide is being run on that is problematic.

PS If user has not modified chans2correct.xml to add channels to be modified guide.xml = guide_wgp.xml
(My current understanding of awiouy webgrabplus add-on feature)

Does this idea help you with your specific issue in any way?
RPi4, (LibreELEC 11.0) hdmi0 -> Philips 55PUS7304 4K TV, hdmi1 -> Onkyo TX-SR608 AV Receiver
Reply
If not what about this bat file that I currently run on windows machine to do similar to run webgrabplus (+ utilse xmltv_time_correct.exe with chans2correct.xml) before moving resulting guide(s) to where I need on my network :-

Quote:@echo off
:CheckOS
IF EXIST "%PROGRAMFILES(X86)%" (GOTO BIT64) ELSE (GOTO BIT32)

:BIT64
SET ProgramPath=%PROGRAMFILES(X86)%
GOTO END

:BIT32
SET ProgramPath=%PROGRAMFILES%
GOTO END

:END
"%ProgramPath%\ServerCare\WebGrab+PlusV1.1.1\WebGrab+Plus.exe" "C:\ProgramData\ServerCare\WebGrab"
rem specify: xmltv_time_correct inputxmltvfile outputxmltvfile
rem inputxmltvfile and outputxmltvfile must be different!
xmltv_time_correct guide.xml tvguide.xml
rem xcopy transfers the final tvguide.xml to following device(s) Add additional lines as required
xcopy "C:\ProgramData\ServerCare\WebGrab\tvguide.xml" "\\xxx.xxx.xxx.xxx\Downloads\" /Y
xcopy "C:\ProgramData\ServerCare\WebGrab\tvguide.xml" "C:\Users\xxxxxxx\Dropbox" /Y
RPi4, (LibreELEC 11.0) hdmi0 -> Philips 55PUS7304 4K TV, hdmi1 -> Onkyo TX-SR608 AV Receiver
Reply
Lots to try here.

MikeKL, I think I used an alternate file - but I may have used a wrong one.

I'm going to do a forced refresh and retest. Will report my findings.

Thank you all for the help.

Sent from my OnePlus 2
Reply
Ok, here are my findings.

I did a forced refresh on all the grabbed information.

It produces 3 files:
  • Grabbed information (guide_wgp.xml)
  • Grabbed information with MDB added content (guide_mdb.xml)
  • Grabbed information with MDB added content and timezone offsets. (guide.xml)


I loaded guide.xml into TV Guide addon - everything is fine.
I loaded guide.xml into TV Guide Fullscreen addon - UK channels are 5 hours behind, US channels are 4 hours behind, what should be at 10am, is shown at 6am.

I erases the source.db during each of these tests.

Next, focusing solely on TV Guide Fullscreen, I loaded guide_wgp.xml (this is before the grabbed content has been modified with an offset)- UK channels are fine, US channels are 4 hours behind, what should be at 10am, is shown at 6am.

Now here is an example of the same UK and US shows, from guide.xml:
  • <programme start="20160811060000 +0100" stop="20160811064500 +0100" channel="BBC1">
    <title lang="en">Wanted Down Under</title>
    <sub-title lang="en">James/Powell Family.</sub-title>

  • <programme start="20160812210000 +0000" stop="20160812220000 +0000" channel="KDKA(CBS)">
    <title lang="en">Blue Bloods</title>
    <sub-title lang="en">The Bullitt Mustang</sub-title>

Still, focusing solely on TV Guide Fullscreen, I loaded guide.xml (this is after the grabbed data has been modified with an offset) - UK channels are 5 hours behind, US channels are 4 hours behind.

From guide_wgp.xml:
  • <programme start="20160811110000 +0100" stop="20160811114500 +0100" channel="BBC1">
    <title lang="en">Wanted Down Under</title>
    <sub-title lang="en">James/Powell Family.</sub-title>

  • <programme start="20160812210000 +0000" stop="20160812220000 +0000" channel="KDKA(CBS)">
    <title lang="en">Blue Bloods</title>
    <sub-title lang="en">The Bullitt Mustang</sub-title>
Reply
  • 1
  • 8
  • 9
  • 10(current)
  • 11
  • 12
  • 201

Logout Mark Read Team Forum Stats Members Help
TV Guide Fullscreen - possibly the most powerful TV Guide in the world. ;)8