summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRasmus Steinke <rasi@xssn.at>2016-01-28 19:48:06 +0100
committerRasmus Steinke <rasi@xssn.at>2016-01-28 19:48:06 +0100
commit16bf92b7da293e6ae19d4f21d473d938f2b65728 (patch)
tree64e43d6cf32ddba2a1fa296b776fa9c2ecb3053b
parenta61c2c3795dc303bcf16695e6c3be17486da8a4d (diff)
downloadperl-app-clerk-16bf92b7da293e6ae19d4f21d473d938f2b65728.tar.gz
perl-app-clerk-16bf92b7da293e6ae19d4f21d473d938f2b65728.tar.xz
add playlist load command
-rwxr-xr-xclerk7
1 files changed, 4 insertions, 3 deletions
diff --git a/clerk b/clerk
index 8952f7d..d6e3920 100755
--- a/clerk
+++ b/clerk
@@ -2053,8 +2053,8 @@ while :; do
--playlist)
if [[ $2 == savealbum ]]; then
saveAlbumToPlaylist
- elif [[ $2 == menu ]]; then
- plMenu
+ elif [[ $2 == load ]]; then
+ dplayQueueLoad
elif [[ $2 == savelast ]]; then
saveLatestToPlaylist
elif [[ $2 == savetrack ]]; then
@@ -2097,7 +2097,8 @@ while :; do
echo ""
echo "Playlist"
echo " --queue <show, suspend, resume> manage current queue"
- echo " --playlist <menu, savealbum, savelast, savetrack> save selection to playlist \"clerk\""
+ echo " --playlist <savealbum, savelast, savetrack> save selection to playlist \"clerk\""
+ echo " --playlist <load> load playlist"
echo " --rss load podcast"
echo " (podcast should be placed in ~/.config/clerk/podcasts"
echo " with format NAME \ URL)"