#!/bin/bash echo "šŸ” USB Audio Check:" arecord -l | grep "card 0" || echo "āš ļø No card 0 found" echo -e "\nšŸ“Š Service Status:" systemctl status sonos-aux.service --no-pager || echo "āš ļø Service not running" echo -e "\nšŸ“œ Last 20 log lines:" journalctl -u sonos-aux.service -n20 --no-pager || echo "āš ļø No logs found" echo -e "\n🌐 Icecast streams:" curl -s http://localhost:8000/status-json.xsl 2>/dev/null | grep -o 'http[^<]*' || echo "āš ļø Icecast not responding"