Onebrowser button interface (ip3k) player interface look differnt when
browsing the music library as the notes and rightarrow symbols are not
used at the same points as before.  I propose the following to correct
this - can anyone see any issues?


Code:
--------------------
    
  --- Slim/Buttons/XMLBrowser.pm  (revision 32396)
  +++ Slim/Buttons/XMLBrowser.pm  (working copy)
  @@ -928,6 +928,10 @@
  my $default = $item->{default};
  $overlay = Slim::Buttons::Common::radioButtonOverlay( $client, $default eq 
$item->{name} );
  }
  +       elsif ( $item->{url} && ref $item->{url} eq 'CODE') {
  +               # Show rightarrow if there are more browseable levels below us
  +               $overlay = $client->symbols('rightarrow');
  +       }
  elsif ( Slim::Control::XMLBrowser::hasAudio($item) ) {
  $overlay = $client->symbols('notesymbol');
  }
  
--------------------


-- 
Triode
------------------------------------------------------------------------
Triode's Profile: http://forums.slimdevices.com/member.php?userid=17
View this thread: http://forums.slimdevices.com/showthread.php?t=85895

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

Reply via email to