m.sh

2026-02-07 03:14

a="$(curl -s http://127.0.0.1:2001/a28.php)"
while true
do
b="$(curl -s http://127.0.0.1:2001/a28.php)"
if [ "$b" == "$a" ]; then
clear
echo $b
else
ffplay "/media/peplive/1844AEA344AE82DC/Aera23/Downloads/files/X-${b:0-1}.mp3" -autoexit -nodisp -hide_banner ## New msg
a=$b
fi
sleep 5 # wait ~5s before repeating
done