Thank you for your donation!


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


Metadata
#2
Hi Terry,

Most of the settings are stored in SQL tables and some are obtained via shell commands. If you examine the System info script it will show where/how most of settings are obtained.

Code:
https://github.com/moode-player/moode/blob/master/www/command/sysinfo.sh

If you come up with a specific list of settings I can look into whether it would be feasible to add them to the metadata file, or at least make a script that you could use to easily obtain them.

Below are a couple of  example queries:

sqlite3 /var/local/www/db/moode-sqlite3.db "select * from cfg_system"
Code:
pi@moode:~ $ sqlite3 /var/local/www/db/moode-sqlite3.db "select * from cfg_system"
1|sessionid|e454a5a83f20f82c76fb4f62d9391e54
2|timezone|America/Detroit
3|i2sdevice|none
4|hostname|moode
5|browsertitle|moOde Player
6|airplayname|Moode Airplay
7|upnpname|Moode UPNP
8|dlnaname|Moode DLNA
9|airplaysvc|0
10|upnpsvc|0
11|dlnasvc|0
12|maxusbcurrent|0
13|rotaryenc|0
14|autoplay|0
15|kernelver|4.14.84-v7+
16|mpdver|0.20.20
17|procarch|armv7l
18|adevname|On-board audio device
19|clkradio_mode|Disabled
20|clkradio_item|0
21|clkradio_name|
22|clkradio_start|06,00,AM,0,0,0,0,0,0,0
23|clkradio_stop|07,00,AM,0,0,0,0,0,0,0
24|clkradio_volume|10
25|clkradiio_shutdown|No
26|playhist|No
27|phistsong|
28|library_utf8rep|No
29|musictab_default|Browse
30|timecountup|0
31|themecolor|Emerald
32|volknob|0
33|volmute|0
34|wificountry|US
35|alsavolume|100
36|amixname|PCM
37|mpdmixer|software
38|xtagdisp|Yes
39|rsmafterapl|No
40|lcdup|0
41|lcdupscript|
42|extmeta|0
43|maint_interval|21600
44|hdwrrev|Pi-3B+ 1GB v1.3
45|crossfeed|Off
46|apdssid|Moode
47|apdchan|6
48|apdpwd|moodeaudio
49|airplaymeta|0
50|airplayactv|0
51|debuglog|0
52|ashufflesvc|0
53|ashuffle|0
54|mpdassvc|0
55|mpdaspwd|
56|mpdasuser|
57|uac2fix|0
58|keyboard|us
59|localui|0
60|kernel|Standard
61|slsvc|0
62|hdmiport|1
63|cpugov|performance
64|mpdsched|other
65|pkgid|
66|airplayvol|auto
67|mpdcrossfade|0
68|eth0chk|1
69|libartistcol|Artist
70|rsmafterbt|0
71|rotenc_params|100 2 3 4 5
72|shellinabox|0
73|alsaequal|Off
74|eqfa4p|Off
75|p3wifi|1
76|p3bt|1
77|cardnum|0
78|btsvc|0
79|btname|Moode Bluetooth
80|btmulti|0
81|feat_bitmask|2494
82|engine_mpd_sock_timeout|600000
83|btactive|0
84|touchscn|0
85|scnblank|600
86|scnrotate|0
87|scnbrightness|255
88|themename|Standard
89|res_software_upd_url|http://d3oddxvgenziko.cloudfront.net
90|alphablend|1.0
91|adaptive|No
92|audioout|Local
93|audioin|None
94|slactive|0
95|rsmaftersl|No
96|mpdmixer_local|software
97|wrkready|1
98|scnsaver_timeout|Never
99|compilation_excludes|greatest hits
100|favorites_name|Favorites
101|spotifysvc|0
102|spotifyname|Moode Spotify
103|spotactive|0
104|rsmafterspot|No
105|library_covsearchpri|Embedded cover
106|library_hiresthm|Auto
107|library_pixelratio|1
108|usb_auto_updatedb|0
109|cover_backdrop|No
110|cover_blur|20px
111|cover_scale|1.25
112|eth_port_fix|0
113|compilation_rollup|No
 
sqlite3 /var/local/www/db/moode-sqlite3.db "select * from cfg_audiodev where name='Allo Katana DAC'"
Code:
pi@moode:~ $ sqlite3 /var/local/www/db/moode-sqlite3.db "select * from cfg_audiodev where name='Allo Katana DAC'"
4|Allo Katana DAC|ESS Sabre ES9038Q2M|Apodizing Fast Roll-off Filter,Bypass,on|Sigma/Delta 32 bit 384 kHz|I2S||allo-katana-dac-audio|allo-katana-dac-audio|

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


Messages In This Thread
Metadata - by Terry - 12-12-2018, 02:32 PM
RE: Metadata - by Tim Curtis - 12-12-2018, 03:53 PM
RE: Metadata - by Terry - 12-13-2018, 12:39 PM

Forum Jump: