If you add it once to the viewport, it will play the music once.
Could you give us a breakdown of how the whole things is supposed behave:
- the player opens the main and the music start playing
- we go to options (the music keeps playing)
- we go to settings (the music keeps playing)
- we return to main and the same music keeps playing?
That’s what I understood so far. Do tell if I got it right!