From bf089012cdd062a903f9304d81b1b9e0e3da48d2 Mon Sep 17 00:00:00 2001 From: Sveninndh <32936592+Sveninndh@users.noreply.github.com> Date: Fri, 6 Feb 2026 18:26:26 +0100 Subject: [PATCH 1/3] =?UTF-8?q?Fix=20menu=20items=20of=20type=20=E2=80=9CH?= =?UTF-8?q?eader=E2=80=9D=20if=20no=20action=20is=20assigned=20to=20them?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Slim/Control/XMLBrowser.pm | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Slim/Control/XMLBrowser.pm b/Slim/Control/XMLBrowser.pm index 29f91ef8c5c..df1a1c89719 100644 --- a/Slim/Control/XMLBrowser.pm +++ b/Slim/Control/XMLBrowser.pm @@ -1191,6 +1191,13 @@ sub _cliQuery_done { }; } + if ( $item->{type} && $item->{type} eq 'header' ) { + unless ($item->{items} || $item->{url}) { + $hash{'style'} ||= 'itemNoAction'; + $hash{'action'} = 'none'; + } + } + elsif ( $item->{type} && $item->{type} eq 'search' ) { #$itemParams->{search} = '__INPUT__'; From dfa7ea588270b990769448717360648268015630 Mon Sep 17 00:00:00 2001 From: Sveninndh <32936592+Sveninndh@users.noreply.github.com> Date: Fri, 6 Feb 2026 20:22:34 +0100 Subject: [PATCH 2/3] =?UTF-8?q?Fix=20menu=20items=20of=20type=20=E2=80=9CH?= =?UTF-8?q?eader=E2=80=9D=20if=20no=20action=20is=20assigned=20to=20them?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Correction and optimization --- Slim/Control/XMLBrowser.pm | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Slim/Control/XMLBrowser.pm b/Slim/Control/XMLBrowser.pm index df1a1c89719..b63c153bb16 100644 --- a/Slim/Control/XMLBrowser.pm +++ b/Slim/Control/XMLBrowser.pm @@ -1170,7 +1170,7 @@ sub _cliQuery_done { $hasImage = 1; } - if ( $item->{type} && $item->{type} eq 'text' && !$item->{wrap} && !$item->{jive} ) { + if ( $item->{type} && ( ($item->{type} eq 'text' && !$item->{wrap} && !$item->{jive}) || ($item->{type} eq 'header' && !$item->{items} && !$item->{url}) ) ) { $hash{'style'} ||= 'itemNoAction'; $hash{'action'} = 'none'; } @@ -1191,13 +1191,6 @@ sub _cliQuery_done { }; } - if ( $item->{type} && $item->{type} eq 'header' ) { - unless ($item->{items} || $item->{url}) { - $hash{'style'} ||= 'itemNoAction'; - $hash{'action'} = 'none'; - } - } - elsif ( $item->{type} && $item->{type} eq 'search' ) { #$itemParams->{search} = '__INPUT__'; From bf54dcfc4837e1ffa288015f52d84f0639ef0c94 Mon Sep 17 00:00:00 2001 From: Sveninndh <32936592+Sveninndh@users.noreply.github.com> Date: Sun, 8 Feb 2026 17:31:02 +0100 Subject: [PATCH 3/3] =?UTF-8?q?Fix=20menu=20items=20of=20type=20=E2=80=9CH?= =?UTF-8?q?eader=E2=80=9D=20if=20no=20action=20is=20assigned=20to=20them?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Display of ‘header’ lines without action without the arrow on the right on old Squeezeboxes and Transporters. --- Slim/Buttons/XMLBrowser.pm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Slim/Buttons/XMLBrowser.pm b/Slim/Buttons/XMLBrowser.pm index ff51bb0ed42..ec64cc8f784 100644 --- a/Slim/Buttons/XMLBrowser.pm +++ b/Slim/Buttons/XMLBrowser.pm @@ -860,6 +860,9 @@ sub gotOPML { ); } + elsif ( $item->{'type'} && $item->{'type'} eq 'header' ) { + $client->bumpRight(); + } elsif ( Slim::Control::XMLBrowser::hasDescription($item) ) { displayItemDescription($client, $item, $opml); @@ -977,6 +980,9 @@ sub overlaySymbol { elsif ( Slim::Control::XMLBrowser::hasAudio($item) ) { $overlay = $client->symbols('notesymbol'); } + elsif ( $item->{type} && $item->{type} eq 'header' ) { + $overlay = $client->symbols('rightarrow') if exists $item->{items}; + } elsif ( !$item->{type} || $item->{type} ne 'text' ) { $overlay = $client->symbols('rightarrow'); }