dotfiles/mpd/usr/bin/mpd-random-albums
2016-09-18 00:03:55 +02:00

9 lines
205 B
Text
Executable file

#!/usr/local/bin/scsh -s
!#
(run (mpc clear))
(for-each (lambda (album)
(run (mpc findadd album ,album)))
(run/strings (pipe (mpc list album)
(shuf))))