Kodi Community Forum
How To: Easy synchronised multiroom audio (inc. Spotify!) using XSqueeze in XBMC - Printable Version

Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Tips, tricks, and step by step guides (https://forum.kodi.tv/forumdisplay.php?fid=110)
--- Thread: How To: Easy synchronised multiroom audio (inc. Spotify!) using XSqueeze in XBMC (/showthread.php?tid=134943)

Pages: 1 2 3 4 5 6 7 8 9 10


How To: Easy synchronised multiroom audio (inc. Spotify!) using XSqueeze in XBMC - bossanova808 - 2012-06-28

I've spent some time developing an XBMC embedded Squeezebox player/controller solution that basically embeds a software squeezebox music player. And a by-product of this is an easy system for multiroom synchonised audio playback within XBMC.

Basically, rather than re-invent the wheel, I have tried to merge an XBMC system (and it's eye candy) - with an existing high quality infrastructure for synchronised multiroom audio. And it works really rather well. And you don't need any extra hardware (i.e. no actual squeezeboxes).

So - here's a quick recipe for easy, effective, synchronised multiroom audio in XBMC:

1. Install Logitech Media Server on your server (any machine that can reach your music library) - this runs on Windows, Mac, Linux, and various NAS/embedded/plug type platforms. Scan your music library and then you're set at the server end. (N.B. if you are running LMS on the same machine as your XBMC install, change the LMS server settings to serve on port 9091 so it doesn't conflict with the XBMC JSON interface running on 9090). Restart LMS after changing the port...)

2. On your XBMC players - and note for local playback you will need a Win/Mac/Linux/Arm machine (currently I am experimenting with Raspberry Pi) - it's not possible on iOS machines unfortunately) - install my repo using the link in the right panel of this page: Add-on:XSqueeze (wiki) and from there install the XSqueeze add on.

3. Configure each of your XBMC's Add-on:XSqueeze (wiki) to point to your LMS server, and to have a separate MAC address for each install (under Local Playback) - so that they register as separate players.

4. Run XSqueeze on each player, and set up synchronisation. The easiest way to do this is from the LMS web interface on the server - just go to your server:9000 and use the drop down player menu at the top right to set up your sync groups.


....and wa la, synchronised network audio playback inside of XBMC (well, technically control & visualisation of the system in xbmc and playback alongside of xbmc, but the effect is the same)...

**** NOTE I have recently added a new player engine to XSqueeze (called squeezelite) - which now supports Spotify!. Spotify playback (even synchronised!) - is working well.


RE: How To: Easy synchronised multiroom audio playback using XSqueeze in XBMC - Ned Scott - 2012-06-28

Nice!


RE: How To: Easy synchronised multiroom audio playback using XSqueeze in XBMC - bossanova808 - 2012-06-29

Yeah - using totally free, open source software and your existing hardware - no need for any squeezeboxes at all (of course if you already have them you can bring them into the sync mix too!).



RE: How To: Easy synchronised multiroom audio playback using XSqueeze in XBMC - darynn - 2012-06-29

Hi! I am new to xbmc so sorry if its a stupid question!

How exactly do you get the audio to synchronize with each other? I can seem to play music from one XBMC and resume it with another XBMC, but is it actually possible to play the same audio at the same time?

Thanks!


RE: How To: Easy synchronised multiroom audio playback using XSqueeze in XBMC - bossanova808 - 2012-06-29

Your are playing using XSqueexe right? You must be playing through this add on.

At the bottom of the addon are two lines - this represents a simple controller for the music player, you navigate with your arrows and the ok button basically. You want to navigate down to Settings -> hit ok/right to go into there -> navigate down to Synchronise hit right/ok -> you will then see a list of players connected to your LMS and you can choose to synchronise to a single other player or an existing player group if there are any.

Yes, with this, it is entirely possible to play synchronised music.





RE: How To: Easy synchronised multiroom audio playback using XSqueeze in XBMC - darynn - 2012-06-29

Yes I am Big Grin

So yeah, I see the settings. I see Repeat, Shuffle, Rescan, etc. but I don't see the "Synchronise". hmmm =/


RE: How To: Easy synchronised multiroom audio playback using XSqueeze in XBMC - bossanova808 - 2012-06-29

Is the other player connected? Oh - you'll need to tell them to use two different MAC addresses in the XSQueeze settings....otherwise the two install will register as the same player....will add that to the notes above!

So go to addons->programs->XSQueeze->configure addon->Local Playback-> and change one of the players to 00:...:02 or whatever.

Now re-start XSqueeze on both boxes and then you should find synchronise available (you can check on your LMS server -> settings -> Information tab -> you should see two registered players under there)



RE: How To: Easy synchronised multiroom audio playback using XSqueeze in XBMC - darynn - 2012-06-29

It works!!
That explains a lot about how it acted.
thanks so much Smile awesome solution!!


RE: How To: Easy synchronised multiroom audio playback using XSqueeze in XBMC - bossanova808 - 2012-06-29

Yeah, it's really kinda nifty and for me plugs a big whole in XBMC's abilities.... I didn't do all that much, just kind of wrapped it all up for XBMC, although even that took a fair bit of time. But the hard work was done by the people who wrote squeezeslave...



RE: How To: Easy synchronised multiroom audio playback using XSqueeze in XBMC - rflores2323 - 2012-07-03

why no ios support?


How To: Easy synchronised multiroom audio playback using XSqueeze in XBMC - bossanova808 - 2012-07-03

I am tempted to say 'because iOS is a closed suckhole of an OS' but it's really because squeezeslave doesn't build on iOS ... Tool chain issues I think, the dev doesn't seem interested...


RE: How To: Easy synchronised multiroom audio playback using XSqueeze in XBMC - rflores2323 - 2012-07-03

ok thanks for the response. Smile


RE: How To: Easy synchronised multiroom audio playback using XSqueeze in XBMC - SinCere - 2012-07-07

i can't install XSqueeze. I can install XSqueeze Chooser...


RE: How To: Easy synchronised multiroom audio playback using XSqueeze in XBMC - bossanova808 - 2012-07-08

See below - repo is fixed....


RE: How To: Easy synchronised multiroom audio playback using XSqueeze in XBMC - bossanova808 - 2012-07-08

Ok ignore the above - I have found the issue and uploaded 0.6.1 to the repo. Force refresh it and then install that new one and all should be well.