Bugzilla – Bug 9936
MUSIC string used instead of PLUGIN_RADIOTIME_MUSIC
Last modified: 2009-09-08 09:23:01 UTC
This is a weird one. Navigate into Internet Radio, the 3rd item is "Music Folder". It seems that the button code is looking up both the correct PLUGIN_RADIOTIME_MUSIC string and then looking up the MUSIC string which overwrites the value.
Its because stringExterRef is set in the mode params before calling INPUT.List This means Input.List looks the line as a string. I am not sure why S:B:Home.pm uses has stringExterRef => 1, you could try it without? If there are side effects could we put a space on the end of the string so it does not match a string token? Lots of legacy code here which hopefully dean understands...
Can't see a downside to this: --- Slim/Buttons/Home.pm (revision 23858) +++ Slim/Buttons/Home.pm (working copy) @@ -112,7 +112,6 @@ }, 'externRefArgs' => 'CV', - 'stringExternRef' => 1, 'header' => undef, 'headerAddCount' => 1, 'callback' => \&homeExitHandler, As the externRef is always converting tokens to strings, so at present it is saying a double string lookup should be done - don't see any reason for that?
Thanks, fixed in change 23863. Hopefully does not cause any regressions.
Verified in 7.3 - 24282.
This bug has been fixed in the 7.3.0 release version of SqueezeCenter! Please download the new version from http://www.slimdevices.com/su_downloads.html if you haven't already. If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.
Reduce number of active targets for SC