Kyle Wrote: 
> Greg, is there any way to get rid of the leading zero in 12-hour time? 
> In other words, have the display say "2:45" instead of "02:45"?
Oh o, is this Kyle from the Sirius thread :)  j/k

Right now the plugin simply gets/shows the time it is given from
SlimServer.  SlimServer gives it the time based on the preference
setting on how you like the time to be shown.  SlimServer only gives
you so many options, which I don't believe there is one for getting rid
of the leading 0.  You can create your own options somewhat, by
modifying the preference file (I did this to remove AM/PM in 12hr mode)
but I still don't think you'd be able to get rid of the 0.

If you're more adventurous you can modify the plugin to get rid of the
0.  Do a search for 
my $time = Slim::Utils::Misc::timeF();
Right after that line you could probably make some sort of regular
expression to remove leading 0's.

-Greg


-- 
GoCubs
------------------------------------------------------------------------
GoCubs's Profile: http://forums.slimdevices.com/member.php?userid=312
View this thread: http://forums.slimdevices.com/showthread.php?t=14327

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to