Moode Forum
[PROBLEM] Metadata file not cleared when disabled - Printable Version

+- Moode Forum (http://moodeaudio.org/forum)
+-- Forum: moOde audio player (http://moodeaudio.org/forum/forumdisplay.php?fid=3)
+--- Forum: Support (http://moodeaudio.org/forum/forumdisplay.php?fid=7)
+--- Thread: [PROBLEM] Metadata file not cleared when disabled (/showthread.php?tid=1928)



Metadata file not cleared when disabled - adrii - 11-27-2019

Hi

The metadata file is not cleared when the setting is disabled (on Moode 6.3).

Turn on Metadata file setting
Listen to BBC Radio 1
Check the metadata file contents (shows Radio 1)
Code:
pi@moode:~ $ cat /var/local/www/currentsong.txt
file=http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio1_mf_p
artist=Radio station
album=BBC Radio 1
title=Streaming source
coverurl=images/radio-logos/BBC Radio 1.jpg
track=
date=
composer=
encoded=VBR
bitrate=128 kbps
outrate=24 bit, 48 kHz, Stereo, 2.304 mbps
volume=38
mute=0
state=play

Turn off Metadata file setting
Check the metadata file contents (still shows Radio 1)
Code:
pi@moode:~ $ cat /var/local/www/currentsong.txt
file=http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio1_mf_p
artist=Radio station
album=BBC Radio 1
title=Streaming source
coverurl=images/radio-logos/BBC Radio 1.jpg
track=
date=
composer=
encoded=VBR
bitrate=128 kbps
outrate=24 bit, 48 kHz, Stereo, 2.304 mbps
volume=38
mute=0
state=play

Listen to BBC Radio 2
Check the metadata file contents (still shows Radio 1)
Code:
pi@moode:~ $ cat /var/local/www/currentsong.txt
file=http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio1_mf_p
artist=Radio station
album=BBC Radio 1
title=Streaming source
coverurl=images/radio-logos/BBC Radio 1.jpg
track=
date=
composer=
encoded=VBR
bitrate=128 kbps
outrate=24 bit, 48 kHz, Stereo, 2.304 mbps
volume=38
mute=0
state=play

Turn on Metadata file settings
Check the metadata file contents (now shows Radio 2)
Code:
pi@moode:~ $ cat /var/local/www/currentsong.txt
file=http://bbcmedia.ic.llnwd.net/stream/bbcmedia_radio2_mf_p
artist=Radio station
album=BBC Radio 2
title=Streaming source
coverurl=images/radio-logos/BBC Radio 2.jpg
track=
date=
composer=
encoded=VBR
bitrate=128 kbps
outrate=24 bit, 48 kHz, Stereo, 2.304 mbps
volume=38
mute=0
state=play


Adrian.


RE: Metadata file not cleared when disabled - Tim Curtis - 11-27-2019

It would prolly be easier to check the setting value. 0/1 = off/on

Code:
pi@rp3:~ $ sqlite3 /var/local/www/db/moode-sqlite3.db "select value from cfg_system where param='extmeta'"
0



RE: Metadata file not cleared when disabled - adrii - 11-27-2019

Hi Tim

Thanks for the suggestion.

Adrian.