10 lines
152 B
Bash
Executable File
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
|