This doc may be helpful
I’m now using forked-daapd (docker) for multiroom audio using Google cast and/or AirPlay. It has a media_player integration and Spotify support, as well. Works great and easy to setup. Worth checking out as an alternative to mopidy.
https://hub.docker.com/r/linuxserver/daapd
Thanks. That’s so easy and just works. However it looks like it doesn’t support apps. I’m running Spotify through LMS through a custom plugin.
The plugin is accessed via the My Apps menu. It looks like this integration picks up local music. Still a good start
You could make an iframe in HA and show the LMS interface in a HA card.
Ok. Just found out that the plug-in is available at http://192.168.2.8:9000/plugins/spotty/index.html?&player=00:00:00:00:99:01 so you’re saying I could create an iFrame with this URL within HA - as in https://www.home-assistant.io/integrations/panel_iframe/?
You will need to use a proxy and port forwarding in order to have https for your LMS url. Iframe only supports https and NOT http. Then it will work (I have it working). I found this on Reddit which got me started back then:
And this comment: https://reddit.com/r/homeassistant/comments/jkhg1n/_/gamkzwm/?context=1
By the way, since one of the latest HA updates the LMS integration also supports the Media Browser of HA. Just select Media Browser on the sidebar and then an LMS speaker. You can access and play everything in your LMS library through that (including Spotify, Deezer and Tidal if you have Online Music Integration setup in LMS). So if you only want that and don’t want the hassle of iframe cards, you can try that.
But this is getting extremely off-topic, since this thread is about Mopidy/Snapcast and not LMS.
That’s not completely true, my iframes to the mopidy webserver are all http and work fine. The problem is only when you access the Home Assistant instance with https, but I only use https for remote access (and remotely I don’t need access to these iframes and if I really need to I login through a VPN) and locally it’s all http (achieved with NGINX).
Yes, thank you for clarifying. That is what I meant to say. This is also stated on the docs:
You can’t embed sites using HTTP if you are using HTTPS for your Home Assistant.
So if you’re using SSL and have access outside your HA instance, make sure you use a proxy for your LMS server.
Thanks. I guess I got some weekend work cut out and agree, we’re off topic here.
I went round in circles trying to get this to work with the separate mopidy and snapcast add-ons too. It’s just too hard without being able to edit the config file directly.
I’m just using the mopidy cast addon now which just works out of the box.
Do you have a link to that please.
As all my speakers are Google and spotify is only real media source I use, I’ve just used spotcast and the default Spotify integration for now.
https://github.com/bestlibre/hassio-addons/tree/master/mopidy_cast
Add bestlibre repository to add on store.
I’m not sure you’d be able to use snapcast with google speakers though. I have snapcast clients installed on Android tv box and old android phones plugged into amplifiers and speakers (I don’t like spending money!)
Thank you.
I forked one in my repo and keep it updated here:
Thanks a lot!
https://hub.docker.com/r/jaedb/iris
although the lastest images have removed the icecast integration, had to stick at a certain version
this also includes the iris interface
Mine includes Iris as well, should be no problem to add icecast, let me know if you are interested.
@Burningstone Thankyou for the offer
i think the iris integration has dropped the icecast integration in its code so im not sure adding it into the image would help. my icecast is actually a seperate container and no way now to link them in new version of iris