Bug settings.xml - timezonecountry and timezone
#1
Hi,

I'm making custom build of XBMC (custom in settings). All settings are applied correctly using custom settings.xml, but timezonecountry and timezone are empty fields on first bootup on first bootup (Linux XBMC, Amlogic platform).

Way I apply it:

Code:
<group id="2">
        <setting id="locale.timezonecountry" type="string" label="14079" help="36117">
          <level>1</level>
          <default>Romania</default> <!-- will be properly set on startup -->
          <constraints>
            <options>timezonecountries</options>
          </constraints>
          <control type="list" format="string" />
        </setting>
        <setting id="locale.timezone" type="string" label="14080" help="36118">
          <level>1</level>
          <default>Europe/Bucharest</default> <!-- will be properly set on startup -->
          <constraints>
            <options>timezones</options>
          </constraints>
          <dependencies>
            <dependency type="update" setting="locale.timezonecountry" />
          </dependencies>
          <control type="list" format="string" />
        </setting>
      </group>

As I mentioned, all other settings (language, codepage, subtitles codepage, subtitles language selection) are applied same way as above code and works correctly.

Versions tried: 13.0 final (Gotham_r2) and 13.1 final.

Any hint on that?

Thanx,
Stane
Reply
#2
Looking at the code, I found that it's reading local time zone information from /etc/timezone if you add that to your build then xbmc defaults on first time boot (and after) to what you have in that file
Current setup:
Amlogic M3/MX + Linux + BOXiK Skin + Pioneer vsx520 + Dali Lektor 6

Previous setup:
Revo 3700 + flirc + OpenElec nightlies + Quartz + Pioneer vsx520 + Dali Lektor 6
atv1 + Crystalbuntu + XBMC nightly + xperience1080
Reply
#3
(2014-06-12, 00:05)Ilia Wrote: Looking at the code, I found that it's reading local time zone information from /etc/timezone if you add that to your build then xbmc defaults on first time boot (and after) to what you have in that file

Sorry for late reply, I was out of town....

Yes, it works, thanx man Smile
Reply

Logout Mark Read Team Forum Stats Members Help
settings.xml - timezonecountry and timezone0