Skip to content
New issue

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

Shell script as a "remote" #27

Closed
ghost opened this issue Nov 25, 2019 · 1 comment
Closed

Shell script as a "remote" #27

ghost opened this issue Nov 25, 2019 · 1 comment

Comments

@ghost
Copy link

ghost commented Nov 25, 2019

I've been using this with a script I wrote that works as my remote for controlling playback of all my open mpv windows. please check it out and do with it as you please :-)

Usage: $ mpv_remote COMMAND [all | PID[,PID]]
Example:  mpv_remote play all
          mpv_remote next
          mpv_remote pause 845
          mpv_remote pause 845,846

mpv_remote.sh

@hoyon
Copy link
Owner

hoyon commented Dec 4, 2019

Looks great! Glad you've found this plugin useful.

FWIW if you're only interested in controlling mpv it might be useful to look into https://github.com/mpv-player/mpv/blob/master/DOCS/man/ipc.rst as you can do more mpv specific stuff not exposed by the mpris api.

I'm going to close this for now since it isn't really an issue.

@hoyon hoyon closed this as completed Dec 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant