manr: fix
[copyleftie-scripts.git] / mpvc
blobd95ebe42725e7663f2df16ca409bfbab590f62a7
1 #!/bin/execlineb -WS0
2 # mpvc - control an mpv(1) listening on the socket $tmp/mpv
3 #       think mpd(1) but with video and stream support
4 # BUGS
5 #       - mpv's IPC is insecure by design
6 #       - a socket might be overkill?
7 # TODO
8 #       - create a better interface than mpv's
10 importas -u tmp tmp
11 pipeline { echo ${@} }
12         pipeline { read -m }
13         dial unix!${tmp}/mpv