Questions tagged [sonos]

Sonos is the wireless Home Sound System that fills as many rooms as you want with great-sounding music, movies and TV. Stream via WiFi. Play whatever you’re craving. And amp up every moment with intense, pulse-pounding sound. Sonos devices (speakers and audio components) are controlled by Sonos-developed applications (iOS, Android, Mac, Windows).

Sonos is the wireless Home Sound System that fills as many rooms as you want with great-sounding music, movies and TV. Stream via WiFi. Play whatever you’re craving. And amp up every moment with intense, pulse-pounding sound.

Information on the Sonos Sound Platform is available on the developer site, https://developer.sonos.com/.

270 questions
6
votes
2 answers

Sonos Music API implementation "Unable to browse music" error

I’m trying to implement a SMAPI service, but am running into some issues. I’ve built a “fake” service which gives hard-coded responses for these…
Rob Isenberg
  • 161
  • 5
4
votes
2 answers

Sonos API Redirect URI

I have a question about the Sonos API authentication redirect URI. In previous projects I have used a redirect URI that my native application can intercept. Such as myApp://auth-code. That does not appear to be possible with the Sonos API as it…
jkistler
  • 786
  • 5
  • 11
4
votes
1 answer

Why am I suddenly getting a SSL certificate chain validation error with Sonos Self-test Suite

Yesterday when I ran the Sonos self-test suite, everything was passing. But today when I run it I get 1 failure: ... INFO Start Test Case: 41331557 ssl_validation test_certificate_chain STOP 1011373133 STOP 41331557 ssl_validation…
Rob Isenberg
  • 161
  • 5
4
votes
1 answer

Why is PollingIntervalTest test_getlastupdate_no_change failing with the error “could not convert string to float” in Sonos Self-Test Suite

I've run the Sonos Self-Test Suite available here and everything passes except for this one error, and I'm not sure why: Test case: PollingIntervalTest test_getlastupdate_no_change Instance messages: could not convert string to float ...more…
Rob Isenberg
  • 161
  • 5
4
votes
1 answer

How could play a song in my computer soco python (sonos controller python)

I'm using soco (link github), I'm try to playing a song on my computer by using these command : sonos = SoCo('192.168.1.102') sonos.play_uri('C:\\mysong.mp3') but it got error : Illegal MIME-Type Someone help me please!
tuanph
  • 41
  • 3
3
votes
0 answers

Docker for Mac host network access

I am running the latest docker for mac build and have a number of docker-compose based apps up and running - all accepting being called from my local network. I am now trying to implement a node.js app that needs network access to scan the host's…
SteveGroom
  • 129
  • 1
  • 15
3
votes
1 answer

Removing track from playlist call deleteContainer instead removeFromContainer

When I am trying to remove tracks from users playlist, controller send SOAP request with method deleteContainer, i.e.:
Igor R
  • 418
  • 2
  • 7
3
votes
0 answers

"Illegal MIME-Type" Error when trying to play_uri() a song using SoCo

SoCo is a Python library for controlling Sonos speakers. I'm trying to play a locally stored song: device = SoCo("192.168.209.7") device.play_uri("/home/myuser/mysong.ogg") If I've read the docs correctly, mysong.ogg should start playing on the…
2
votes
1 answer

Recent issue with production code. SONOS Control API is returning forbidden 403 error

Having an issue subscribing to SONOS Control events. This is in production code that has not been modified for a long time (over a year). SONOS web server is returning access denied (403). For example, when subscribing for playback…
Krinkster
  • 23
  • 2
2
votes
1 answer

Why isn't SONOS' Custom SD system working anymore?

I have a service developed for SONOS which is already deployed. Sometimes I need to test it against my local copy of the API. I connected my SONOS player to my local API using the form at :1400/customsd.htm, and it worked fine for a couple…
John Alexander
  • 822
  • 1
  • 12
  • 21
2
votes
1 answer

Authorization Header missing on POST request

I'm trying to send a POST request to a URL, using fetch(). I'm deliberately setting the Authorization header but when I inspect the response in Firefox Dev Tools it outputs following error "Missing request header 'Authorization' for method parameter…
noah_s
  • 43
  • 1
  • 8
2
votes
0 answers

Sonos GetPlaylist API return "404 Not Found"

This is my list of Sonos playlists associated to the household obtained by calling the api /households/{householdId}/playlists "playlists": [ { "id": "1", "name": "Playlist Sonos A", "type": "playlist", …
forlan
  • 33
  • 3
2
votes
2 answers

How to play Spotify music on Sonos using the Sonos API

Is there a way to play a certain album or artist from spotify using the Sonos API? I managed to play the favorites from Sonos, but I'd like to play any song from Spotify. Thanks!
Flo
  • 136
  • 7
2
votes
2 answers

getting an error code back from sonos auth pages

when I open a browser window to https://api.sonos.com/login/v3/oauth?client_id=myid&response_type=code&state=mystateinb64&scope=playback-control-all&redirect_uri=my redirect url i get to the SONOS "starting" screen, then I press "continue" I enter…
amg0
  • 31
  • 2
2
votes
0 answers

Play sound.mp3 with node-sonos-http-api

I have a MP3 file: myMusic.mp3, in 192.168.1.196/myPubcli/myMusicFolder/myMusic.mp3 With enter link description here I want to play this file but I can't how. I try http:\localhost:5005\myRoom\tunein\play\44491 with success! :-) But how I can play…
1
2 3
17 18