05-01-2018, 05:18 PM
I think I have a good solution to the problem of shuffling large playlists: using shuf -n to randomly select a number of songs from a folder or playlist and piping to ashuffle, e.g.
mpc search filename USB/ssd/MyAudio/MyMusic | shuf -n 10 | ashuffle -f - & [from a folder]
or
shuf -n 100 "/var/lib/mpd/playlists/CDs.m3u" | ashuffle -f - & [from a playlist]
You need to manually select Consume mode or the tracks accumulate in the Moode playlist. Also, I haven't yet tried to start this on boot, or worked out how to stop it without killing the ashuffle process.
Cheers,
Andy
mpc search filename USB/ssd/MyAudio/MyMusic | shuf -n 10 | ashuffle -f - & [from a folder]
or
shuf -n 100 "/var/lib/mpd/playlists/CDs.m3u" | ashuffle -f - & [from a playlist]
You need to manually select Consume mode or the tracks accumulate in the Moode playlist. Also, I haven't yet tried to start this on boot, or worked out how to stop it without killing the ashuffle process.
Cheers,
Andy