[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1011241: kodi: Unable to change timezone (Kodi only uses system’s timezone)



Hi Johan!

cdatetime-std-chrono patches fix the issue where too narrow representation of timepoints
made Kodi unusable if a media item referenced a date before 1902. This patchset is not
yet merged upstream, but will be in 20.0~alpha2.

Christian's deb-multimedia builds dont have most patches I added for Kodi from Debian so
their users still experience the bug, to my knowledge.

Let me quickly reproduce an issue and issue a test build for you.
Are you comfortable installing packages via "dpkg -i" ?
-- 
Vasyl Gello
Certified SolidWorks Expert

Mob.:+380 (98) 465 66 77

E-Mail: vasek.gello@gmail.com
호랑이는 죽어서 가죽을 남기고 사람은 죽어서 이름을 남긴다


18 травня 2022 р. 16:33:45 UTC, Johan Fleury <jfleury@arcaik.net> написав(-ла):
Package: kodi
Version: 2:19.4+dfsg2-1+b1
Severity: normal

Dear Maintainer,

In Debian’s build of Kodi I’m unable to change timezone and Kodi is stuck with the system timezone (which is set to UTC).

The timezone settings can’t be changed in the UI and the `locale.timezonecountry` and `locale.timezone` settings in `userdata/guisettings.xml` have no effect. I also tried setting the TZ environment variable in Kodi’s systemd service with no luck (I tried multiple values: America/Montreal, America/Toronto, Etc/GMT-4).

I believe this is due to the `cdatetime-std-chrono`’s patches, but I can’t figure what exactly is causing this. My understanding of those patches is that Kodi now uses tzdata (and thus should read the TZ env), but I’m struggling to understand what it actually does and why it’s needed.

Also, just for information, changing timezone from the UI or in the `userdata/guisettings.xml` file works well with deb-multimedia.org’s (dmo) build of Kodi.

-- System Information:
Debian Release: bookworm/sid
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.17.0-2-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages kodi depends on:
ii kodi-bin 2:19.4+dfsg2-1+b1
ii kodi-data 2:19.4+dfsg2-1

Versions of packages kodi recommends:
ii kodi-repository-kodi [kodi-repository] 2:19.4+dfsg2-1
un kodi-visualization-spectrum <none>

kodi suggests no packages.

-- no debconf information

Reply to: