Pirate Audio without mopidy?

Can I suggest trying the steps and script I provided in this post - and see if that helps you both make the thing work and understand how to extend it further?