10-27-2022, 12:13 PM
Open System config and turn on the Metadata file then use the commands below to see whats active and whether it's playing. The Metadata file gets updated within 3 seconds of any changes in playback state.
What viewport size does that screen report?
Use the command below to display the viewport size in a popup notification when Menu, Refresh.
Code:
pi@moode:~ $ grep "file" /var/local/www/currentsong.txt | cut -d "=" -f 2
Airplay Active
pi@moode:~ $ grep "outrate" /var/local/www/currentsong.txt | cut -d "=" -f 2
16 bit, 44.1 kHz, Stereo, 1.411 Mbps
What viewport size does that screen report?
Use the command below to display the viewport size in a popup notification when Menu, Refresh.
Code:
# Display viewport size in popup notification
moodeutl -q "update cfg_system set value='viewport' where param='pkgid_suffix'"
# Turn off the viewport popup
moodeutl -q "update cfg_system set value='' where param='pkgid_suffix'"