Project

General

Profile

play/pause issue

Added by Anonymous almost 11 years ago

I have wrote a script to pause the audacious when the screensaver locks the screen. According to the documentation the command line options should be:

-u, --pause Pause current song
-t, --play-pause Pause if playing, play otherwise

However in practice both -u and -t result in exactly the same behavior (pause if playing, play otherwise). I would expect the -u option NOT to start music if the audacious is already paused. At this point I have to use -s (stop) option, but it returns to the beginning of the song upon play, which is not exactly perfect solution.

The question is: is it a bug or a feature?


Replies (1)

RE: play/pause issue - Added by John Lindgren almost 11 years ago

audtool playback-paused || audtool playback-pause
will do what you want.
    (1-1/1)