I have a fix for you. I you don't mind hacking could you try it. In the
Plugins\Alien folder, edit the Plugin.pm file. Locate the code "sub
lines" and then just before the final "return $parts;" insert for
following:

Code:
--------------------
        # Convert &xxx;and &#xxx; items to the correct character for display on 
the SB
        $parts->{line1} = HTML::Entities::decode_entities($parts->{line1});
        $parts->{line2} = HTML::Entities::decode_entities($parts->{line2});
--------------------
Assuming you are using the latest version, the whole function will then
look like this:

Code:
--------------------
    #
  # Player display function
  #
  sub lines 
  {
        my $client = shift;
        my $parts;
  
        if (defined $refreshing{$client} && $refreshing{$client} )
        {
                $parts->{line1} = '';
                $parts->{line2} = '';
                return $parts;
        }
  
        my $num_items = $current_menu{$client}->get_num_items();
        if ($num_items == 1)
        {
                $parts->{line1} = $current_menu{$client}->title();
        } 
        else 
        {
                $parts->{line1} = $current_menu{$client}->title() . " (" . 
($current_line{$client}+1) . "/" . $num_items .")";
        }
  
        if ($num_items > 0) 
        {
                my $item = 
$current_menu{$client}->get_item($current_line{$client});
                $parts->{line2} = $item->get_text();
        
                if ($item->has_children()) 
                {
                        $parts->{overlay2} = 
$client->symbols(Slim::Display::Display::symbol('rightarrow'));
                } 
                elsif ($item->is_playable()) 
                {
                        $parts->{overlay2} = 
$client->symbols(Slim::Display::Display::symbol('notesymbol'));
                }
        } 
        else 
        {
                $parts->{line2} = 
Slim::Utils::Strings::string('PLUGIN_ALIENBBC_NO_ITEMS');
        }
        
        # Convert &xxx;and &#xxx; items to the correct character for display on 
the SB
        $parts->{line1} = HTML::Entities::decode_entities($parts->{line1});
        $parts->{line2} = HTML::Entities::decode_entities($parts->{line2});
  
        return $parts;
  }
--------------------


Neil


-- 
Neil Sleightholm
------------------------------------------------------------------------
Neil Sleightholm's Profile: http://forums.slimdevices.com/member.php?userid=131
View this thread: http://forums.slimdevices.com/showthread.php?t=18341

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to