Skip to main content
Contributor I
March 4, 2020
Answered

Sonos on Ubuntu/Linux + Spotify

  • March 4, 2020
  • 40 replies
  • 6872 views

Did a search for a Sonos + Linux but all threads were archived.

I want to add a +1 for Linux support.

I’m probably an idiot and missed something. I main Linux, and while my Sonos device shows up in Spotify in Linux it never connects, regardless of network (2.4 or 5).. I tried various 3rd party addons and could probably make it work, but why make it such a hassle for Linux users. In Windows the Sonos deivce works perfectly in Spotify as expected.

Love your product, the physical quality and the sound quality, but it’s annoying having to reboot into Windows to listen to music (especially when shitfaced). I would love to extend my Sonos speakers system. but the hassle just makes me ponder Bluetooth speakers instead.

By now, isn’t there enough Linux users to warrant Sonos integration? Again, maybe I missed something.

 

This topic has been closed for further comments. You can use the search bar to find a similar topic, or create a new one by clicking Create Topic at the top of the page.
Best answer by Stanley_4

If trying to do a native Linux app you do face a lot of hurdles, something like the package method here: http://pascalopitz.github.io/unoffical-sonos-controller-for-linux/ works quite well and you only need one version to support any Linux based on the same CPU. Flatpack offers similar features.

I’d really like to see a new Sonos “dedicated hardware” controller. Something that could live in a case or an outlet box set into a wall. A non-touch device, real switches would be optimal and support folks with disabilities better.

Even a browser based approach would be great. If my garage door can come with a mini server that lets me control it from any browser Sonos should be able to do the same.

40 replies

Trending Lyricist I
June 10, 2020

@castalla Ok, got ya. Well, keep posting them here, that’s better than me not finding out about issues.

 

Out of interest, do you have the same problem with the beta8?

If so, could you do me a favour and check for stack traces in the developer tools?

Finally, you could try to use the Developer Tools→Application→ local storage and remove the entry called “zone” and see if that helps?

Local Superstar
June 10, 2020

Thanks again.  Will try the beta 8 today and report back.

It's the courageous bee's knees - all 6 🐝🐝🐝🐝🐝🐝. - - - - - Make Sonos Great Again - - - - -
Local Superstar
June 10, 2020

@castalla Ok, got ya. Well, keep posting them here, that’s better than me not finding out about issues.

 

Out of interest, do you have the same problem with the beta8?

If so, could you do me a favour and check for stack traces in the developer tools?

Finally, you could try to use the Developer Tools→Application→ local storage and remove the entry called “zone” and see if that helps?

Mixed results … it finds the sonos system intermittently.   Connects every other run (?)

How do I get ‘stack traces’?  

It's the courageous bee's knees - all 6 🐝🐝🐝🐝🐝🐝. - - - - - Make Sonos Great Again - - - - -
Local Superstar
June 10, 2020

Boost not displayed in beta8, but ...

 

Strange characters in playlist display:

 

Also, the main screen shows Line-in.  My devices don’t have this, so is it possible to remove from the menu?

It's the courageous bee's knees - all 6 🐝🐝🐝🐝🐝🐝. - - - - - Make Sonos Great Again - - - - -
Trending Lyricist I
June 10, 2020

How do I get ‘stack traces’?  

 

ctrl+shift+i should open the developer tools, alternatively there’s a menu option for that.

There you find a tab called console. Anything red in there is something that failed. If it has an Error in it, you’ll see where the error was generated and what might have lead to it. Looks similar to this.

 

Local Superstar
June 10, 2020

All the following in RED

[Content removed because somebody objected to my asking for assistance]

It's the courageous bee's knees - all 6 🐝🐝🐝🐝🐝🐝. - - - - - Make Sonos Great Again - - - - -
controlav
Lead Maestro
June 10, 2020

Excuse me but I got into a lot of trouble for using this forum as a support forum for my Sonos apps, and it was a lot less than this thread. Please take this level of discussion elsewhere.

Author of the leading independent Sonos apps for Android, MacOS, iOS, Windows and Xbox.
Trending Lyricist I
June 10, 2020

@controlav Thanks for the heads up. Over to github it is. @castalla Sorry, won’t look at error reports etc here. Maybe also remove the lengthy state dump and stack trace comments as they clutter up the thread?

 

 

Stanley_4
Grand Maestro
June 11, 2020

controlav, that sounds like a good idea, I’ll make new comments, requests and reports to the github project instead of here. 

-----

For folks not familiar with github.com it is really easy to use to submit issues or download software.

Unofficial App Download page: Sonos Releases

I think you need a free github account to submit issues or comments there.

Unofficial App Issues page: Sonos Issues

Look for a previous report of your issue and click it or click the New Issue button to start a new one.

Keeping the work over there is a really good idea as it will be less confusing for folks using the Official Sonos Apps and will make it easier for pascalopitz / pascalo to keep track of things.

Contributor I
January 13, 2021

I have created a simple sonos linux controller. It’s not meant to be player (like unoffical-sonos-controller-for-linux). But it might help you if you just want to skip a song or change the volume. 

open-sonos-controller release

Any suggestions and feature requests are welcome.

Also I only have 3 rooms and only sonos playbar for tv watching, which seems to be discontinued.
Help with testing on the newer hardware would be great.