mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
Anzeige des aktuellen Songs auf 125 Zeichen begrenzt
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@935 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
@@ -236,6 +236,7 @@ END
|
||||
|
||||
my $song = qx(/usr/local/bin/mpfirectrl song);
|
||||
if ( $song eq "" ){$song = "None";}
|
||||
if ( length($song) > 125 ) {$song = substr($song,0,125)."...";}
|
||||
|
||||
my $Volume = `/usr/local/bin/mpfirectrl volume`;
|
||||
$Volume=~s/<break>/<br \/>/g;
|
||||
|
||||
Reference in New Issue
Block a user