This is a good idea. I think you should develop it as a Firefox extension. All of this looks achievable as an extension, and you won't have to wait for Mozilla to get to it. Plus you'll have control over the music selection and all the other details.