Hi KDF,
You made changes so that pressing fwd on the remote played the next
random track and added a new one to the list whereas before it would
break the cycle and play the playlist to the end. It's this doesn't
seem to work if you use the custom map to start playback.
My changes were just an expansion of your suggestion of
'tracks' => sub {
my $client = shift;
playRandom($client,'track');
},
in the initplugin section.
I added
'artists' => sub {
my $client = shift;
playRandom($client,'artist');
},
'albums' => sub {
my $client = shift;
playRandom($client,'album');
}
and then added
7.hold = modefunction_PLUGIN.Random->tracks
8.hold = modefunction_PLUGIN.Random->albums
9.hold = modefunction_PLUGIN.Random->artists
to custom.map
Craig
--
Craig
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins