]> git.phdru.name Git - audio-cdr-video.git/blobdiff - audio/players/action
Add `cat-playlists`
[audio-cdr-video.git] / audio / players / action
index 5449dd4250db95e83658969fa5a9197b68124d9f..af5a2c748b116e04e1347ef4b1d4a2f9e5d06244 100755 (executable)
@@ -26,13 +26,15 @@ elif pgrep deadbeef >/dev/null; then
 
 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