Thank you for your donation!


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


How can I set the MPD database and playlist place?
#1
I store the MPD database and playlists on the NAS. How do I configure MoodE to use this database and see my playlists?

If there was already such a question, can I ask you a link? (Unfortunately I didn't find it)

Thanks!
Tamás
Reply
#2
You would need to update the cfg_mpd SQL table.

Code:
pi@moode:~ $ moodeutl -q "select * from cfg_mpd"
1|music_directory|/var/lib/mpd/music
2|playlist_directory|/var/lib/mpd/playlists
3|db_file|/var/lib/mpd/database
4|log_file|/var/log/mpd/log
5|pid_file|/var/run/mpd/pid
6|state_file|/var/lib/mpd/state
7|sticker_file|/var/lib/mpd/sticker.sql
8|user|mpd
9|group|audio
10|bind_to_address|any
11|port|6600
12|log_level|default
13|restore_paused|yes
14|auto_update|no
15|follow_outside_symlinks|yes
16|follow_inside_symlinks|yes
17|zeroconf_enabled|no
18|zeroconf_name|Moode MPD
19|filesystem_charset|UTF-8
20|metadata_to_use|+comment
21|device|0
22|mixer_type|software
23|dop|no
24|audio_output_format|disabled
25|sox_quality|high
26|sox_multithreading|1
27|replaygain|off
28|replaygain_preamp|0
29|replay_gain_handler|software
30|volume_normalization|no
31|audio_buffer_size|4096
32|input_cache|Disabled
33|max_output_buffer_size|131072
34|auto_resample|yes
35|auto_channels|yes
36|auto_format|yes
37|buffer_time|500000
38|period_time|256000000
39|selective_resample_mode|0
40|sox_precision|20
41|sox_phase_response|50
42|sox_passband_end|95
43|sox_stopband_begin|100
44|sox_attenuation|0
45|sox_flags|0
46|max_playlist_length|16384
47|stop_dsd_silence|no
48|thesycon_dsd_workaround|no
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
(12-29-2021, 12:57 PM)Tim Curtis Wrote: You would need to update the cfg_mpd SQL table.

Code:
pi@moode:~ $ moodeutl -q "select * from cfg_mpd"
1|music_directory|/var/lib/mpd/music
2|playlist_directory|/var/lib/mpd/playlists
3|db_file|/var/lib/mpd/database
4|log_file|/var/log/mpd/log
5|pid_file|/var/run/mpd/pid
6|state_file|/var/lib/mpd/state
7|sticker_file|/var/lib/mpd/sticker.sql
8|user|mpd
9|group|audio
10|bind_to_address|any
11|port|6600
12|log_level|default
13|restore_paused|yes
14|auto_update|no
15|follow_outside_symlinks|yes
16|follow_inside_symlinks|yes
17|zeroconf_enabled|no
18|zeroconf_name|Moode MPD
19|filesystem_charset|UTF-8
20|metadata_to_use|+comment
21|device|0
22|mixer_type|software
23|dop|no
24|audio_output_format|disabled
25|sox_quality|high
26|sox_multithreading|1
27|replaygain|off
28|replaygain_preamp|0
29|replay_gain_handler|software
30|volume_normalization|no
31|audio_buffer_size|4096
32|input_cache|Disabled
33|max_output_buffer_size|131072
34|auto_resample|yes
35|auto_channels|yes
36|auto_format|yes
37|buffer_time|500000
38|period_time|256000000
39|selective_resample_mode|0
40|sox_precision|20
41|sox_phase_response|50
42|sox_passband_end|95
43|sox_stopband_begin|100
44|sox_attenuation|0
45|sox_flags|0
46|max_playlist_length|16384
47|stop_dsd_silence|no
48|thesycon_dsd_workaround|no

great, thank you very much!
Reply


Forum Jump: