Do not empty the library when I remove the USB disk?


is there a way that the library will retain when the USB disk is removed? I do not want to change the library in the near future. But the hard disk is always disconnected from the power again. The result is that the Raspberry always needs 30 minutes for a Rescan. That is why I want this switch off. Is that possible?

Best regards

any idea?