summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdot/local/bin/musopen5
1 files changed, 4 insertions, 1 deletions
diff --git a/dot/local/bin/musopen b/dot/local/bin/musopen
index 7d007fb..478c9ac 100755
--- a/dot/local/bin/musopen
+++ b/dot/local/bin/musopen
@@ -21,7 +21,10 @@ while true; do
21 shift 21 shift
22done 22done
23 23
24URL=https://radio.musopen.org/v1/pieces/get_current/streamvbr0 24STREAM_URL=https://live.musopen.org:8085/streamvbr0?$(date +%s000)
25exec mpv "$STREAM_URL"
26exit 1
27
25JSON=$(curl -s "$URL") 28JSON=$(curl -s "$URL")
26URL_FMT='https://live.musopen.org/music/vbr0/%s' 29URL_FMT='https://live.musopen.org/music/vbr0/%s'
27 30