I have installed Mediatomb to share my music library over my home network. All the files are stored in an external USB drive... After a bit of working I could get Mediatomb to access the external drive, by running it as a normal user.

The thing is that my USB drive it's not always plugged or turned on.

If I add my media folder to the database as an autoscan directory, everytime I unplug the drive, Mediatomb permanently removes the files from the database, and they won't get back as soon as the drive is mounted again...

On the other hand, if I add my media folder as NON autoscan directory, the files are not removed if I unplug the device, but the database is not updated upon media adding to the folder. Plus, apparently there's no way to manually force a rescan of the database...

Is there any way to workaround this problem?

Thanks in advance