Mopidy add and Spotify

Hi guys,
I have Spotify on my HA but it keeps removing the sources (ghomes and gmini) which means I can’t run any playlist script.

I’ve looked around the fourm and see people mention mopidy.

Would this add-on allow me to stream Spotify playlist to my devices and if so could someone show me how the script would look.