From 0860db73ae6fd9a6f6347219d820bf026a6b8b91 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Sun, 27 Sep 2026 17:38:39 +0200 Subject: * MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Automated-commit-by: dots Signed-off-by: Robert Günzler --- bin/play-music | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'bin/play-music') diff --git a/bin/play-music b/bin/play-music index 14e91f1..554d93f 100755 --- a/bin/play-music +++ b/bin/play-music @@ -20,4 +20,13 @@ select) subdir=$(find . -type d -printf "%P\n" | shuf | fuzzel -d -w 80) mpa "$subdir" ;; +playlists) + cd $music_dir + playlist=$(find . -maxdepth 1 -name '*.m3u' -printf "%P\n" | shuf | fuzzel -d -w 80) + mpa "$playlist" + ;; +*) + shift + mpa "$@" + ;; esac -- cgit 1.4.1