PDA

View Full Version : Time format preference



barrygordon
2008-04-21, 09:35
I would like to pull the time format setting (over the CLI port) which I assumed would be stored in server prefrences but I can not find it there.

Can some one point me to where it is kept, hoping it can be retrieved as a preference.

kdf
2008-04-21, 10:07
There are two, one for general server case and the second for the date time screensaver. The general server prefs is "timeFormat" and is in the server.prefs file. The datetime server pref is "timeformat" and is in the plugin/datetime.prefs file.

cheers,
kdf

barrygordon
2008-04-21, 10:36
Thanks, kdf

I found it in server prefs, BUT when on the settings:interface web page I change the time format, the server preference does not change. Do I have to rescan or restart SqueezeCenter. Shouldn't an apply in settings (web interface) do it?

kdf
2008-04-21, 11:09
>
> Thanks, kdf
>
> I found it in server prefs, BUT when on the settings:interface web page
> I change the time format, the server preference does not change. Do I
> have to rescan or restart SqueezeCenter. Shouldn't an apply in
> settings (web interface) do it?

yes, but there is a slight delay before it's written to the prefs file.

-k