add:media
This commit is contained in:
12
media/playlist.sh
Executable file
12
media/playlist.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
if ! command -v mpv &> /dev/null; then
|
||||
echo "mpv is not installed"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "space = play/pause"
|
||||
echo "volume up/down = 9|0"
|
||||
echo "<,> = back,next"
|
||||
echo "q = quit"
|
||||
echo "left/right = skip seconds"
|
||||
mpv --input-ipc-server=/tmp/mpvsocket --shuffle --loop-playlist=inf "$@"
|
||||
Reference in New Issue
Block a user