Thank you for your donation!


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


Collection monitoring
#1
It would be nice if mo0de would monitor collections so that changes to collections would be evident in real time without having to trigger an mpd database update.

What is the practical difference between an "update" and a "re-gen" and when should one be used instead of the other?

Best,

     John
Reply
#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


Forum Jump: