summaryrefslogtreecommitdiffstats
path: root/clerk
diff options
context:
space:
mode:
authorRasmus Steinke <rasi@xssn.at>2014-08-10 18:36:02 +0200
committerRasmus Steinke <rasi@xssn.at>2014-08-10 18:36:02 +0200
commit7c2e3733166a2bd87a09c2adb17dabb231dad94e (patch)
tree49423e04ae5364ecfbc00efb5bfcb71cfa289e65 /clerk
parentc03b7195f2540c19a6b6d56d8973be721c08a381 (diff)
downloadperl-app-clerk-7c2e3733166a2bd87a09c2adb17dabb231dad94e.tar.gz
perl-app-clerk-7c2e3733166a2bd87a09c2adb17dabb231dad94e.tar.xz
added new shortcuts
Diffstat (limited to 'clerk')
-rwxr-xr-xclerk14
1 files changed, 14 insertions, 0 deletions
diff --git a/clerk b/clerk
index 3f66344..c907c62 100755
--- a/clerk
+++ b/clerk
@@ -1175,6 +1175,12 @@ if [[ "$1" == "-h" ]]; then
echo "Playlist"
echo " -queue show current queue"
echo " -queuedl delete items from current queue"
+ echo " -playlists manage playlists"
+ echo " -suspend suspend current queue"
+ echo " -resume resume suspended queue"
+ echo " -rss load podcast"
+ echo " (podcast should be placed in ~/.config/clerk/podcasts"
+ echo " with format NAME \ URL)"
echo ""
echo "Ratings"
echo " -rate show rating prompt"
@@ -1215,6 +1221,14 @@ elif [[ "$1" == "-queue" ]]; then
dplayQueue
elif [[ "$1" == "-queuedl" ]]; then
dplayQueueDelete
+elif [[ "$1" == "-rss" ]]; then
+ loadRSS
+elif [[ "$1" == "-suspend" ]]; then
+ suspendPlaylist
+elif [[ "$1" == "-resume" ]]; then
+ resumePlaylist
+elif [[ "$1" == "playlists" ]]; then
+ managePlaylists
else
dplayPrompt
fi