Skip to content

General Notify support

Erik Massop edited this page Nov 4, 2017 · 1 revision

Support for dnotify, inotify (Linux) or kqueue (BSD). There are two things this can help with in the medialibrary.

Notification of changes to songs in medialib

Listen to all songs in medialib and update the mediainfo in the db if a file changes. This should be a setting medialib.update_metadata_automatically.

Notification when adding new songs

Automatically add songs to the medialib when you upload files to a specific directory. Configvalue for the path. Should we watch all recursive directories for new files? Or should we be able to add multiple paths to the configuration? It should also check the directory on xmms2d startup to see if any changes have occurred and add those songs/update those songs in the medialib.

Implementations

Clone this wiki locally