Skip to content
simple remote control for mpv
Go Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
command
mp
plugins/xap-radio
.goreleaser.yml
LICENSE
Makefile
README.md
go.mod
go.sum
main.go

README.md

xap

bring some mpd to mpv

xap cli

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])
  • 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.

installation

With a working Go environment:

go get -u github.com/robertgzr/xap

dynamic git-style subcommands

xap supports running external subcommands to extend its functionality. For an example of how this can be done see plugins/xap-radio

more

  • 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
You can’t perform that action at this time.