palinek / pvr.sledovanitv.cz

Kodi's sledovanitv.cz client addon
GNU General Public License v2.0
30 stars 14 forks source link

Spatna prace s casovou zonou #21

Closed Kozzi11 closed 5 years ago

Kozzi11 commented 5 years ago

Zkousel jsem v kodi pouzivat tento doplnek a musim rict super prace. Jedine co je trochu neprijemne ze se zda ze doplnek spravne nezpracovava casovou zonu. Vsechny informace o programech jsou o hodinu posunuty vuci realu

palinek commented 5 years ago

Please, be more verbose. You didn't provide any relevant information -> os/sw version information, the exact problem description ("Vsechny informace o programech jsou o hodinu posunuty vuci realu" is too vague and I can't do much with it).

Kozzi11 commented 5 years ago

Ok, sorry for not so very descriptive text :). I am using your plugin on Techbite Flix TVBOX (AndroidTV 8 Oreo).

Kodi version: 18.0 pvr.sledovani.tv version: 1.4.7

Here is a screenshot of tv guide: https://photos.app.goo.gl/yZsakkjmZZjK2i1K7

As you can see for eg. Top Gear 2008 seems to be at 9:55 to 11:05 but it should be 10:55 to 12:05

So it seems that your plugin use GMT instead of GMT+1 as a timezone

Thank you for your response.

If you need anything else just ask and I will try to add as much info as I could

palinek commented 5 years ago

What local timezone is set on your box? (in kodi Settings -> Interface -> Regional -> Timezone country)

Kozzi11 commented 5 years ago

As you can see here: https://photos.app.goo.gl/JFrA3jdqQVutcdV76 There is no option to select time zone in my kodi :(

Kozzi11 commented 5 years ago

Ok it seems there is no such an option for kodi on android: https://forum.kodi.tv/showthread.php?tid=331166

So I checked my androidTV settings and it seems there is everything ok: https://photos.app.goo.gl/YVZcFkaA9vamWfBg7

palinek commented 5 years ago

Just tried on an android phone...changed the timezone and I saw no changes in the presented program guide. Strange.

Note: pvr.sledovanitv.cz (or any other pvr addon) gives the start/end times to kodi in seconds since epoch... so changing local time zone of system should make a difference in the program guide

palinek commented 5 years ago

There's a funny typo in the code, that I've just discovered. Can you have a look into #22?