Thank you for your donation!


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


Collection monitoring
#2
Hi John,

There actually are MPD settings that control whether to automatically update the database when files are changed. Refer to this link https://github.com/MusicPlayerDaemon/MPD...mpd.conf.5 for information. The settings go in the file /etc/mpd.conf. I left them out of moOde because of old reports that the mechanism used to detect file changes can bog down a system. Maybe its time to revisit them :-)

auto_update <yes or no>
This specifies the whether to support automatic update of music database when
files are changed in music_directory. The default is to disable autoupdate
of database.

auto_update_depth <N>
Limit the depth of the directories being watched, 0 means only watch
the music directory itself.  There is no limit by default.

The difference between update and re-gen (rescan) are described in this link
https://www.musicpd.org/doc/html/protoco...c-database

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


Messages In This Thread
Collection monitoring - by Listener - 12-19-2018, 03:17 PM
RE: Collection monitoring - by Tim Curtis - 12-19-2018, 03:41 PM

Forum Jump: