This commit is contained in:
kokopi-dev
2026-04-04 23:55:05 +09:00
commit 04ab0cd4e9
9 changed files with 93 additions and 0 deletions

12
music/playlist.sh Executable file
View 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 "$@"