Index: Slim/Player/Player.pm =================================================================== --- Slim/Player/Player.pm (revision 22170) +++ Slim/Player/Player.pm (working copy) @@ -665,6 +665,7 @@ my $showBar = $modeOpts->{bar}; my $showTime = $modeOpts->{secs}; my $showFullness = $modeOpts->{fullness}; + my $showClock = $modeOpts->{clock}; my $displayWidth = $display->displayWidth($screen2 ? 2 : 1); # check if we don't know how long the track is... @@ -707,11 +708,15 @@ $songtime .= ' ' . $client->string('SECONDS'); } } + } elsif ($showTime) { $songtime = ' ' . $client->textSongTime($showTime < 0); + } elsif ($showClock) { + # show the current time in the format defined for datetime screensaver + $songtime = ' ' . Slim::Utils::DateTime::timeF(undef, preferences('plugin.datetime')->get('timeformat')); } - if ($showTime || $showFullness) { + if ($showTime || $showFullness || $showClock) { $overlay = $songtime; } Index: Slim/Display/Boom.pm =================================================================== --- Slim/Display/Boom.pm (revision 22170) +++ Slim/Display/Boom.pm (working copy) @@ -101,7 +101,11 @@ { desc => ['VISUALIZER_SPECTRUM_ANALYZER', 'AND', 'REMAINING'], bar => 0, secs => -1, width => 160, params => [$VISUALIZER_SPECTRUM_ANALYZER, 0, 0, 0x10000, 0, 80, 0, 3, 1, 1, 1, 1, 81, 80, 1, 3, 1, 1, 1, 1] }, - # mode 10 + # mode 10 + { desc => ['CLOCK'], + bar => 0, secs => 0, width => 160, clock => 1, + params => [$VISUALIZER_NONE] }, + # mode 11 { desc => ['SETUP_SHOWBUFFERFULLNESS'], bar => 0, secs => 0, width => 160, fullness => 1, params => [$VISUALIZER_NONE], @@ -110,7 +114,7 @@ our $defaultPrefs = { 'playingDisplayMode' => 1, - 'playingDisplayModes' => [0..10], + 'playingDisplayModes' => [0..9], 'idleBrightness' => 6, 'powerOnBrightness' => 6, 'powerOffBrightness' => 6, Index: strings.txt =================================================================== --- strings.txt (revision 22170) +++ strings.txt (working copy) @@ -17857,3 +17857,6 @@ MOREINFO EN More Info + +CLOCK + EN Clock