robertgzr / xap

simple remote control for mpv

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

simple remote control for mpv

License:MIT License


Languages

Language:Go 98.3%Language:Makefile 1.7%