]> git.phdru.name Git - audio-cdr-video.git/blobdiff - audio/players/action
Add `cat-playlists`
[audio-cdr-video.git] / audio / players / action
index d8bbd159d4885ccb21eec8dc569901aa9616fd53..af5a2c748b116e04e1347ef4b1d4a2f9e5d06244 100755 (executable)
@@ -19,20 +19,22 @@ elif pgrep deadbeef >/dev/null; then
    elif [ "$action" = next ]; then
       exec deadbeef --next
    elif [ "$action" = pause ]; then
-      exec deadbeef --toggle-pause
+      exec deadbeef --play-pause
    elif [ "$action" = stop ]; then
       exec deadbeef --stop
    fi
 
 elif pgrep audacious >/dev/null; then
    if [ "$action" = prev ]; then
-      exec audacious --rew
+      exec audtool --playlist-reverse
    elif [ "$action" = next ]; then
-      exec audacious --fwd
+      exec audtool --playlist-advance
    elif [ "$action" = pause ]; then
-      exec audacious --play-pause
+      exec audtool --playback-playpause
    elif [ "$action" = stop ]; then
-      exec audacious --stop
+      exec audtool --playback-stop
+   elif [ "$action" = stop-after ]; then
+      exec audtool --playlist-stop-after-toggle
    fi
 
 else