Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Instruction Guide 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi
Hi Adrian,

In the Local services section of System Config there is a setting named "Metadata file". Turn it on and moOde will write song and playback info to /var/local/www/currentsong.txt file. When any of the renderers are playing only the renderer name and output rate info is provided.

Example:

Code:
watch -n1 "/var/local/www/currentsong.txt"

# playing song file

file=NAS/Music/Pat Metheny Group/Letter From Home/01 Have You Heard.flac
artist=Pat Metheny Group
album=Letter From Home
title=Have You Heard
coverurl=/coverart.php/NAS%2FMusic%2FPat%20Metheny%20Group%2FLetter%20From%20Home%2F01%20Have%20You%20Heard.flac
track=1
date=1989
composer=Pat Metheny
encoded=16/44.1 FLAC
bitrate=867 kbps
outrate=16 bit, 44.1 kHz, Stereo, 1.411 mbps
volume=20
mute=0
state=play

# Playing radio station

file=http://ice2.somafm.com/gsclassic-128-aac
artist=Radio station
album=Groove Salad Classic: The early days of a nicely chilled plate of ambient beats and grooves. [SomaFM]
title=Reflection - Many Colours
coverurl=images/radio-logos/Soma FM - Groove Salad Classic.jpg
track=
date=
composer=
encoded=VBR
bitrate=128 kbps
outrate=16 bit, 44.1 kHz, Stereo, 1.411 mbps
volume=20
mute=0
state=play

# Airplay active

file=Airplay Active
outrate=16 bit, 44.1 kHz, Stereo, 1.411 mbps

-Tim
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
RE: 128x64 OLED with Song Status and Spectrum Display on Raspberry Pi - by Tim Curtis - 09-02-2019, 03:17 PM
RE: help me - by ghera78 - 02-28-2020, 08:01 AM
RE: help me - by ghera78 - 02-28-2020, 01:17 PM

Forum Jump: