bring some mpd to mpv
command line tool to interact with mpv via unix socket
- player ctl
- queue ctl
- player settings
- softvol adjustments (via
xap vol
) - access to raw mpv properties (via
xap raw [get|set|exec]
)
- softvol adjustments (via
- start/stop background mpv process (via
xap player [start|stop|show]
) - use with custom mpv socket (e.g. to control IINA, gnome-mpv, etc.)
- connect to remote mpv instances (via SSH proxy)
For documentation of the available commands check xap --help
.
With a working Go environment:
go get -u github.com/robertgzr/xap
xap supports running external subcommands to extend its functionality. For an example of how this can be done see plugins/xap-radio
- add tracks/albums from your beets library:
beet ls -p <query> | xap add -
- simple shuffle with beets:
beet random -p -n <num> [-e] [<query>] | xap add -
- interact with r-a-d.io:
xap radio play r-a-d.io
,xap radio now