Bugzilla – Bug 1165
display ? ? returns HASH...
Last modified: 2008-09-15 14:37:04 UTC
The CLI command "display ? ?" returns HASH(...). The code in Command.pm calls my ($line1, $line2) = Slim::Display::Display::curLines($client); and then this goes into renderOverlay and I am lost since I am no expert in Perl OO code nor in graphics displays... Happens with a SLIMP3 or a SoftSqueeze. Latest SVN.
try this: --- Slim/Control/Command.pm 2005-03-19 20:49:00.000000000 -0800 +++ server/Slim/Control/Command.pm 2005-03-22 16:38:48.687500000 -0800 @@ -1325,9 +1325,9 @@ sub execute { } elsif ($p0 eq "display") { if ($p1 eq "?" && $p2 eq "?") { - my ($line1, $line2) = Slim::Display::Display::curLines($client); - $p1 = $line1; - $p2 = $line2; + my $parsed = $client->parseLines(Slim::Display::Display::curLines($client)); + $p1 = $parsed->{line1} || ''; + $p2 = $parsed->{line2} || ''; } else { Slim::Buttons::ScreenSaver::wakeup($client); $client->showBriefly($p1, $p2, $p3, $p4);
committed to r2685. please reopen if these results are not satisfactory.
There are 536 bugs in the database with targets of '---' that were fixed prior to new year 2006. I am setting them to targets of 6.2.1 to keep them from showing up in my queries.