OK, it seems to work fine... I also had to change the choiceMapping code
below, but now the buttons seem to be responding as expected... Not sure
if I have lost any functionality for which the custom mapping has been
defined to begin with, but I am very happy it is not crashing anymore...
:)


Code:
--------------------
    
  for my $buttonPressMode (qw{repeat hold hold_release single double}) {
                if(!defined($choiceMapping{'play.' . $buttonPressMode})) {
                        $choiceMapping{'play.' . $buttonPressMode} = 'dead';
                }
                if(!defined($choiceMapping{'add.' . $buttonPressMode})) {
                        $choiceMapping{'add.' . $buttonPressMode} = 'dead';
                }
  
  *-            if(!defined($choiceMapping{'search.' . $buttonPressMode})) {
                        $choiceMapping{'search.' . $buttonPressMode} = 
'globalsearch';
                }
                if(!defined($choiceMapping{'stop.' . $buttonPressMode})) {
                        $choiceMapping{'stop.' . $buttonPressMode} = 'stop';
                }
                if(!defined($choiceMapping{'pause.' . $buttonPressMode})) {
                        $choiceMapping{'pause.' . $buttonPressMode} = 'pause';
                }
  -*
--------------------


Thanks for all the useful tips! ;)



http://www.last.fm/user/amatala
------------------------------------------------------------------------
amatala's Profile: http://forums.slimdevices.com/member.php?userid=15972
View this thread: http://forums.slimdevices.com/showthread.php?t=30908

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

Reply via email to