PMS on qnap loses library path after playing one or two source files

Kinda hard, when you didn’t specified the library path, nor uploaded logs, but a wild guess here would be, that you are using the multimedia share that comes with QNAP?