How to let player choose in-game music or ipod music?

This should be a pretty simple question. I want the player to be able to choose if he/she wants to listen to music from their ipod or the in-game music. Pretty much all i need is a variable that tells me if music from the ipod is currently playing, if “true” I’ll stop the in-game music and only play the sound effects, if “false” let the game run as usual.
Also, it would be nice to be able to include in the game settings the option to override the ipod music. I know this option is available in the unity editor under project settings>play>override ipod music, but i haven’t been able to find this variable in the script reference.

You will have to write a plugin that allows this and then tell unity to not kill the music player session so you can do it when required.

Unity does only offer to define it statically as in “ipod music always killed / never killed”.