12-19-2018, 03:41 PM
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
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