Hi,
yeah you are right, currently the BackgroundMusic component is designed to loop nonstop unless it is disabled with settings.musicEnabled = false or the volume is set to 0 (this doesn’t work on windows at the moment but will be added with the next daily build).
We will add some more “intelligence” to the BackgroundMusic item, to save it’s current state when the device is locked or the app goes to the background, and then restore this state instead of starting it again in any case, like it’s done now. This will also be available within the next daily build.
Do you have a specific use case where you encountered this problem?
Cheers,
Alex