05-03-2018, 08:13 PM
Update: I've added a script to /etc/rc.local that tests whether mpd is running and then pipes a random selection of tracks from a playlist into ashuffle. On boot, this initiates shuffling a subset of tracks from your playlist into Moode without overloading the browser memory, which seemed to be an issue with Chrome on both my tablet and phone. For my purposes , it's better than the shuffle option within Moode as it doesn't pick from the whole library, but a playlist or folder (see previous post).
(/etc/rc.local)
while !(pgrep -x "mpd" > /dev/null)
do
sleep 10
done
shuf -n 200 "/var/lib/mpd/playlists/CDs.m3u" | ashuffle -f -
This seems to work OK - so far: this isn't my specialist subject, so happy to receive comments.
Cheers,
Andy
(/etc/rc.local)
while !(pgrep -x "mpd" > /dev/null)
do
sleep 10
done
shuf -n 200 "/var/lib/mpd/playlists/CDs.m3u" | ashuffle -f -
This seems to work OK - so far: this isn't my specialist subject, so happy to receive comments.
Cheers,
Andy