Reproduction procedure :
* Start minidlna
* Delete a multimedia file that is alone in a directory
* Restart minidlna
* Put a multimedia file back to the previous directory
=> File is not add to minidlna database
This is due to the fact that when we delete a file and the contener is now empty we delete the directory fron the database. This should not be the case as we store empty directory in the database in order to use then for inotify.
Find attach patch fixing the problem.