Created
April 5, 2019 14:27
-
-
Save polonez/27d17f08a67fcab888fefc10d96c45db to your computer and use it in GitHub Desktop.
kbs-classic-fm on mpd, raspberry pi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set -x | |
# mpc clear | |
mpc add $(curl -s "http://onair.kbs.co.kr/index.html?sname=onair&stype=live&ch_code=24" | grep service_url | tail -1 | cut -d\" -f16 | cut -d\\ -f1) | |
#mpc play 1 | |
mpc play $(mpc playlist | wc -l) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment