Skip to content
Permalink
Browse files

+ jamendo: radio player

  • Loading branch information...
l29ah committed Mar 31, 2019
1 parent 77265c0 commit 27e035dad5bba2bd8aa01ebae59f5d03fba158fb
Showing with 4 additions and 0 deletions.
  1. +4 −0 jamendo.com/jamendo
@@ -0,0 +1,4 @@
#!/bin/bash
radioid="${1:?Usage: $0 4}"
hash='$baad15d58e5b8b61531f8704cf913cd120a5bab0*0.2974652781657737~'
curl -s "https://www.jamendo.com/api/radios/planning?radioId=$radioid&limit=1000" -H 'Accept: application/json, text/javascript, */*; q=0.01' -H 'Accept-Language: en-US,en;q=0.5' --compressed -H "X-Jam-Call: $hash" -H 'X-Jam-Version: 1106ir' | jq '.[] | .trackId' | sed -e 's#^\(.*\)$#https://mp3l.jamendo.com/?trackid=\1\&format=mp34\&from=app-97dab294#'

0 comments on commit 27e035d

Please sign in to comment.
You can’t perform that action at this time.