I thought about making something similar to this the other day. It could come in handy to host your own Spotify with your entire music collection accessible everywhere.
Then I quickly realized this problem was already solved by sshfs/FUSE.
Why dick around with web browsers and your own arbitrary protocols when you can just use regular old music players and regular old network drives