diff options
Diffstat (limited to 'dot/local/bin/musopen')
-rwxr-xr-x | dot/local/bin/musopen | 5 |
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 |
22 | done | 22 | done |
23 | 23 | ||
24 | URL=https://radio.musopen.org/v1/pieces/get_current/streamvbr0 | 24 | STREAM_URL=https://live.musopen.org:8085/streamvbr0?$(date +%s000) |
25 | exec mpv "$STREAM_URL" | ||
26 | exit 1 | ||
27 | |||
25 | JSON=$(curl -s "$URL") | 28 | JSON=$(curl -s "$URL") |
26 | URL_FMT='https://live.musopen.org/music/vbr0/%s' | 29 | URL_FMT='https://live.musopen.org/music/vbr0/%s' |
27 | 30 | ||