-
Notifications
You must be signed in to change notification settings - Fork 460
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using presets just reloads currently playing content #858
Comments
Hm... What kind of source is your favorite "Radio 4"?
Csn you start the favorite with the /bedroom/favorite/Radio%204 call? Does
that work?
…On Sat, 12 Nov 2022, 21:31 fishbrainsD, ***@***.***> wrote:
I've only tried presets which change the content playing in a single room.
If the room is completely "blank" ie it has no previous content displayed
in the sonos app (i presume this state happens when nothing has been played
in that room for some time) my preset works absolutely fine and plays the
content as expected.
If there is something stopped or paused in that room the preset will
reload whatever the last thing played or playing. If thats a radio station
it will stop and then reload it. If its a personalised apple "radio
station" it will stop the current track and play a different one.
I have tried this with different favorites and using *"URL":* to play
favorites via a url instead. Same result.
Heres an example of one of my preset files:
{
"players": [
{
"roomName": "Bedroom", "volume": 10}
],
"playMode": {
"shuffle": true,
"repeat": "all",
"crossfade": false
},
"pauseOthers": false,
"favorite": "Radio 4"
}
Running on osx, node v18.12.0
—
Reply to this email directly, view it on GitHub
<#858>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAYE2I2REHEZGPM7FPFIGBDWH75CBANCNFSM6AAAAAAR6PJJEI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Hi jishi, thanks for getting back. Radio 4 is a BBC Sounds favourite although this behaviour is repeatable with other types of favourites. If i start with a blank sonos player with no previous content loaded in the room /bedroom/favorite/Radio%204 call works fine. I can switch between this and other favourites no problem at all. The same is true if I call stations using presets calling favourites. I have done a bit more investigating now and what seems to cause the issue is if a radio station has been played in a room using the sonos app first. So if I play "times radio" for example using the sonos app then then use the /bedroom/favorite/Radio%204 call the browser will report success bu nothing happens. If I do the same thing but use a preset for radio 4 then the "times radio" station reloads and i lose audio for a moment but then "times radio" continues playing. Interestingly If i have "times radio" playing launched from the sonos app then use alexa to play another station eg "LBC UK" then call the "radio 4" preset it will load "times radio" again! I have tried lots of combinations going between different types of favourites to see if i can come up with any pattern but the only consistent thing really seems to be that stations have to have been loaded from the sonos app first for there to be an issue. Any ideas? |
I've only tried presets which change the content playing in a single room.
If the room is completely "blank" ie it has no previous content displayed in the sonos app (i presume this state happens when nothing has been played in that room for some time) my preset works absolutely fine and plays the content as expected.
If there is something stopped or paused in that room the preset will reload whatever the last thing played or playing. If thats a radio station it will stop and then reload it. If its a personalised apple "radio station" it will stop the current track and play a different one.
I have tried this with different favorites and using "URL": to play favorites via a url instead. Same result.
Heres an example of one of my preset files:
{
"players": [
{
"roomName": "Bedroom", "volume": 10}
],
"playMode": {
"shuffle": true,
"repeat": "all",
"crossfade": false
},
"pauseOthers": false,
"favorite": "Radio 4"
}
Running on osx, node v18.12.0
The text was updated successfully, but these errors were encountered: