Parent: [b0bef9] (diff)

Download this file

radio-paradise-get-art.sh    9 lines (6 with data), 396 Bytes

1
2
3
4
5
6
7
8
#!/bin/sh
# Poor example for a very basic script to retrieve the cover art. The
# Radio Paradise now.xml file actually contains much more info, but
# there has to be an example of a simple artScript (outputs cover art
# url), as opposed to metaScript (outputs full metadata json).
curl -s http://radioparadise.com/xml/now.xml | grep '<coverart>' | sed -e 's/<coverart>//' -e 's!</coverart>!!'