The following fixes the problem where play fails to work after browsing
a station. (Workaround was to press pause after pressing play or
switching to now playing, etc.)
At the end of Plugins::XMRadio::Plugin.doPlayOrAdd() (located in <SS
install dir>/Plugins/XMRadio/Plugin.pm), replace the following lines:
$play and $client->execute(['playlist','clear']);
$client->execute(['playlist','add',$playURL]);
$play and $client->execute(['play']);
with:
if ($play) {
$client->execute(['playlist','play',$playURL]);
}
else {
$client->execute(['playlist','add',$playURL]);
}
The station should begin playing after pressing play.
Tested SS 6.3.1 on SuSE, SB3. (Did not test 'add' functionality.)
Enjoy
--
Joe Bob
------------------------------------------------------------------------
Joe Bob's Profile: http://forums.slimdevices.com/member.php?userid=7361
View this thread: http://forums.slimdevices.com/showthread.php?t=21435
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins