Stopping in-game sound while Spotify / iTunes is playing

Hi everyone!

I want to set the volume for in-game SFX and music to zero when player has Spotify, iTunes or something else actively playing in the background. I’ve tried the solution involving the undocumented API which didn’t work for me in my only device so I know I can’t rely on that. Is there any workaround to it or should I go ahead and submit a feature request on GitHub?