Yes, I have been thinking of that, but even if I come to that conclusion, Firefly should STILL NOT just flush the db because it cant find any media in the place ive specified.
Of course it should. If you don’t have any media in the place you’ve specified, then by definition it isn’t there. It can’t play if someone connects anyway, so there is no point in having it in the library.
If you don’t want it to work that way, then don’t start the server when the music isn’t there. Set the service up to run manually, and only run it when you’ve turned on your nas, or use the switches listed here to defer scanning.
I’d also take a patch that works across all platforms, including headless ones, to make it work in a manner you feel more appropriate.