more scripting to get track title title as a static file

This commit is contained in:
2025-05-04 21:28:39 -05:00
parent 04fb833d77
commit 79af7bfae7
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,5 @@
#!/usr/bin/sh
while true ; do
su shred-batch -c '/opt/shred.ing/sbin/icecast-track-title-to-javascript.sh > /opt/shred.ing/js/title.json' ;
sleep 17
done

View File

@ -0,0 +1,8 @@
#!/usr/bin/sh
while true ; do
ls -l /opt/shred.ing/js/title.json;
#ps -f 75362;
systemctl status icecast-title.service
cat /opt/shred.ing/js/title.json;
sleep 10;
done