X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=audio%2Fplayers%2Faction;h=af5a2c748b116e04e1347ef4b1d4a2f9e5d06244;hb=HEAD;hp=d8bbd159d4885ccb21eec8dc569901aa9616fd53;hpb=6c49eb3eb2c236f0e8e711eec72b32d01d629050;p=audio-cdr-video.git diff --git a/audio/players/action b/audio/players/action index d8bbd15..af5a2c7 100755 --- a/audio/players/action +++ b/audio/players/action @@ -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