Skip to content

Commit

Permalink
honor favorites_type
Browse files Browse the repository at this point in the history
  • Loading branch information
philippe44 committed Mar 10, 2024
1 parent 909b2cb commit d5544da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Slim/Web/XMLBrowser.pm
Original file line number Diff line number Diff line change
Expand Up @@ -1001,7 +1001,7 @@ sub handleFeed {
my $name = $item->{'favorites_title'} || $item->{'name'};
my $icon = $item->{'favorites_icon'} || $item->{'image'} || $item->{'icon'} || Slim::Player::ProtocolHandlers->iconForURL($furl);

if ( $item->{'play'}
if ( ($item->{'play'} && !$item->{'favorites_type'})
|| ($type eq 'playlist' && $furl =~ /^(file|db):/)
) {
$type = 'audio';
Expand Down

0 comments on commit d5544da

Please sign in to comment.