2021-05-24 10:34:06 +02:00

10 lines
152 B
Bash
Executable File

#!/bin/sh
stream="$(mpc status -f "%file%" | awk 'NR==1')"
mpc stop >/dev/null
mpc clear >/dev/null
mpc add "$stream" >/dev/null
mpc play >/dev/null