05-26-2018, 12:01 PM
(05-26-2018, 09:09 AM)Hillsidebeer Wrote: Hi,
I quickly realized that my "solution" to the problem of unresponsive large playlists didn't work well: creating a subset of (say) 200 tracks at boot and then using ashuffle to feed tracks to Moode meant that, inevitably, some tracks were played more than once over the course of a day (ashuffle doesn't have a Consume mode).
Instead, I now get the pi to create a new playlist containing 200 randomly selected tracks from a larger playlist. I added this to /etc/rc.local so that it runs on boot and refreshes the playlist daily (my Moode pi is set to shutdown at night):
sudo sh -c 'shuf -n 200 "/var/lib/mpd/playlists/The CDs.m3u" > "var/lib/mpd/playlists/Random.m3u"'
This "Random" playlist appears in Moode's Browse tab and will also start automatically on boot if set up that way.
Cheers,
Andy
Clever solution, Andy, that is very much in the spirit of Major Charles Emerson Winchester III (a character in the long-running TV show M*A*S*H): "I do one thing at a time. I do it very well. And then I move on."
Regards,
Kent