[Slim-Checkins] r10085 - /trunk/server/Slim/Buttons/Home.pm

kdf at svn.slimdevices.com kdf at svn.slimdevices.com
Thu Sep 28 08:26:28 PDT 2006


Author: kdf
Date: Thu Sep 28 08:26:26 2006
New Revision: 10085

URL: http://svn.slimdevices.com?rev=10085&view=rev
Log:
Bug: 4245
Description: cleaner regex per Moser


Modified:
    trunk/server/Slim/Buttons/Home.pm

Modified: trunk/server/Slim/Buttons/Home.pm
URL: http://svn.slimdevices.com/trunk/server/Slim/Buttons/Home.pm?rev=10085&r1=10084&r2=10085&view=diff
==============================================================================
--- trunk/server/Slim/Buttons/Home.pm (original)
+++ trunk/server/Slim/Buttons/Home.pm Thu Sep 28 08:26:26 2006
@@ -122,8 +122,10 @@
 
 				Slim::Buttons::Common::pushModeLeft($client, 'playlist');
 
-			} elsif ($selection =~ /^(?:BROWSE_|SAVED_PLAYLISTS)/ && $selection !~ /^(?:BROWSE_MUSIC$)/) {
-
+			} elsif ($selection eq 'SAVED_PLAYLISTS'
+						|| ($selection =~ /^BROWSE_/
+							&& $selection ne 'BROWSE_MUSIC')) {
+							
 				# If we're in a Browse mode and the user
 				# presses play, just go right, per Dean
 				Slim::Buttons::Input::List::exitInput($client, 'right');



More information about the checkins mailing list