Forum rules - please read before posting, it can save you a lot of time.
method StartMusic(Filename, Looping, LoopStart) { if (this.GetMusic() != Filename) this.PlayMusic(Filename, Looping, LoopStart);}