I have found this wiki for the sonos pluging:
[url=http://code.mios.com/trac/mios_sonos-wireless-music-systems/wiki#]Sonos Wireless HiFi Music Systems
But the explanation is quite different as the options I have in my vera.
I cannot find the " SetFileToPlay" , the only thing which resembles is “SetURIToPlay” is that the same?
also the “play” option has other options as in the wiki :-s , I have “PlayURI” and “play”, but play has options speed and instance ID…
Do I have an older version , how do I check,or am I doing something very wrong?
Been busy the whole day trying to sort it out , but no luck.
The last thing I did now was delete the sonos device, downloaded the zip file from the wiki page and uploaded again all the files to the vera and restarted luup. Created a new device and tried to make a new scene , but i don’t have the SetFileToPlay option , also I have different “play” options , on play option in “…serviceID:AV transport” and also a play option in “… serviceID:medianavigation” … which one to use?
I attached a screenshot of the first options where the “SetFileToPlay” should be.
Here is my test scene that works. Mp3 file is saved in my NAS-box. Very important is to use text in red “circle” x-file-cifs:// in the begin of the file path name. Without that Sonos can’t find my files.
Thanks for looking into this for me … so how it is explained in the wiki with “SetFileToPlay” that is wrong …
I will try to do this tomorrow, since I am about to go to work now.
All these options I have in my advanced settings, so I am very curious!
Jukka’s solution worked almost for me. I noticed the file was not played , just loaded.
When I used th option “PlayURI” this worked best ,I also could insert a volume and the file was automaticallyplayed
[s]BUT:
I noticed when a music station or library is played and than via a scene in vera this mp3 file is played, all stops afterwards, the music does not continue to play.
How can I change this. For info , I use this scene as a doorbell.
-Music is playing in the kitchen (radio station or from music libary)
-scene is activated via vera to play doorbell.mp3 file (10 seconds)
-I would like that the sonos continues to play what is has been playing before.[/s]
*EDIT: I found the option “SavePlaybackContext” and " RestorePlaybackContext", this does this exactly.
Is there also an option to play an mp3 sound 2 or 3 times before the radio station or music libabry is started again?
Another thing I see, you can group via the option “PlayURI” it would be nice if all sonos in my house would play the doorbell at once and than continue what they were doing.
How do I use this “group” function? do I insert device ID , or device name?
SetFileToPlay was recently suppressed. The wiki was not updated. SetURIToPlay can be used rather than SetFileToPlay.
IMHO, the main entry point to be used is PlayURI.
SetURIToPlay is slighty different: main difference is that the URI is loaded but playback is not started. And you cannot manage the volume or group several Sonos at the same time, everything you can do using PlayURI.
No, this option does not yet exist. What could be the usage ?
Another thing I see, you can group via the option "PlayURI" it would be nice if all sonos in my house would play the doorbell at once and than continue what they were doing.
How do I use this "group" function? do I insert device ID , or device name?
For playing a file 2 or 3 times, that would be usefull for a doorbell for example, but i can also easily make the mp3 file a bit longer… so , it is not important
For a future reference , if I have another sonos , what do I insert in the group function, do I seperate with a space, coma, coma + space etc.