add a script to parse icecast current track title and make JSON

This commit is contained in:
2025-05-04 20:16:40 -05:00
parent 8a58c175b9
commit 76f73b94ff

View File

@ -0,0 +1,3 @@
#!/usr/bin/bash
curl -s http://shred.ing:8000/live.mp3.vclt | perl -nle 'print qq({ "title" : "$1" }) if /^TITLE=(.*)$/'