[quote=“lolodomo, post:1, topic:177749”]Hi Garrett.
I come back with a feedback regarding the Sonos plugin integration. Sorry, I know, it is very late !
My tests have been run with the new version 3.1.3.0 proposed by the Play Store.
It is working well but not perfectly.
[ul][li]
After sending a command, it seems that you are refreshing data too fast. It is too fast for certain Web services. The consequence is that data is not refreshed in certain cases… What is the delay used ?
[/li][/ul][/quote]
What should be a reasonable delay between actions? This will not be an issue with auto refresh enabled, but for those who do not want auto refreshing turned on, a suggested delay amount would help.
[quote=“lolodomo, post:1, topic:177749”][ul][li]
OFF and ON buttons are not working. It leads to an error (not implemented). There is no ON/OFF feature with Sonos. What was your idea with these buttons ? What action are you calling ?
[/li][/ul][/quote]
This was a duplicate of the squeezebox interface and I’ll remove them. Since I do not own a sonos, I was not aware they can not be turned off / on.
[quote=“lolodomo, post:1, topic:177749”][ul][li]
I have an album named “Neverworld’s End”. What is displayed is “Neverworld&pos;s End”.
[/li][/ul][/quote]
I would assume you are using some sort of escaping? I am currently just displaying what is given to me.
[quote=“lolodomo, post:1, topic:177749”][ul][li]
The two buttons on the second line are for “repeat all” and “shuffle” ? They are not working as expected. What parameter value are you using when calling SetPlayMode ? Sonos is using a non-standard value. Should these buttons change color (blue) to show the current state ? It is not working…
[/li][/ul][/quote]
The repeat button uses “REPEAT_ONE” and the shuffle button uses “SHUFFLE”. Currently the buttons do not show their current state.
[quote=“lolodomo, post:1, topic:177749”][ul][li]
Display of the album art is not always working, but I have not a clear case to explain. Sometimes, even Sonos could make time to refresh its own album art. So maybe you refresh data at “wrong” time.
[/li][/ul][/quote]
The album issue can be a few things. If the current album art variable hasn’t changed or the app hasn’t refreshed, it will not update. The image is also cached for 5 minutes. But as long as the value has changed and the app is aware of the new album art value, it should reload the image. Also depends on if you are on the local network or remote. If the album art is on the local network and you are remote, it will not load the album art and use a default icon.
[quote=“lolodomo, post:1, topic:177749”][ul][li]
When I change the volume, as soon as I release the slider, I first see the slider moving to my previous position. Then the volume is adjusted and the slider is adjusted again to its new position. It is working but the behaviour is a little strange.
[/li][/ul][/quote]
This unfortunately is a behavior of android and the use of databases and their adapters. I do not modify the database when you perform the action in the app. I wait until the data is refreshed to update the controls. If I were to update the values directly in the database of the app and the command was never acknowledged on Vera’s side, then the app would be out of sync.
I have intentions of adding it. I will add it as soon as things stabilize for the plugin. I will add it to my development vera for testing. Is it pretty much dead on with controls of the Sonos?