Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Random subsample of playlist
#7
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
Reply


Messages In This Thread
Random subsample of playlist - by Hillsidebeer - 04-29-2018, 04:06 PM
RE: Random subsample of playlist - by Tim Curtis - 04-29-2018, 05:49 PM
RE: Random subsample of playlist - by Tim Curtis - 04-29-2018, 10:07 PM
RE: Random subsample of playlist - by Hillsidebeer - 05-01-2018, 05:18 PM

Forum Jump: