voidrice/.local/bin/pauseallmpv

5 lines
116 B
Text
Raw Normal View History

2018-10-04 18:00:58 +00:00
#!/bin/sh
for i in $(ls /tmp/mpvsoc*); do
echo '{ "command": ["set_property", "pause", true] }' | socat - $i;
done