We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there any plan to add basic support for media keyboard keys like pause/stop/play/next/previous?
I'd be interested in adding this if you have no immediate plans to do so.
The text was updated successfully, but these errors were encountered:
In the meantime, this little shell script works surprisingly well:
#!/bin/sh #pause/pay current radio stream : ${radio:=radiotray-lite} case "$1" in play) killall -CONT $radio ;; stop) killall -STOP $radio ;; pause) pid=`pidof $radio` || { echo "No active $radio process" >&2 exit 1 } signal=STOP [ `ps -o state= -p $pid` = T ] && signal=CONT kill -$signal $pid ;; *) self=`basename $0` cat 2>&1 <<END $self play, stop, or pause $radio process -- 9/15/18 brent@mbari.org $self pause toggles between $self play and $self stop END esac
Sorry, something went wrong.
No branches or pull requests
Is there any plan to add basic support for media keyboard keys like pause/stop/play/next/previous?
I'd be interested in adding this if you have no immediate plans to do so.
The text was updated successfully, but these errors were encountered: