Nice idea, but not sure it's worthwhile implementing as most players tend to play with the game music muted anyway.
What you could do is just mute music in game and open the client's sound folder where you will find the music files in MP3 or WAV format - the music is the filenames starting with bgm_ - just open them in your music player, maybe add the ones you enjoy to a playlist