sorry for the english but...
so because google now doesnt work i have edited the code a little. im not a programmer so left most of it like it was because i dont know what it does
to play a pre-recorded file you have to replace x-rincon with x-file in the request TTS section. then point to the mp3 on your computer using a compter name. doesnt work with IP address.
i used the TTS Test VD and edited the buttons code to point to that mp3. i can then use it in scenes and what ever else.
Problem now is that it wont go back to the song that was playing.
Krikoff Code for Sonos Player i leave as it is... then use button code from "test TTS" to play mp3... code below
Line 258
-- soap body data (options)
"<InstanceID>0</InstanceID>,<CurrentURI>x-file-cifs://David-PC/TTS/dummy.mp3</CurrentURI>,<CurrentURIMetaData></CurrentURIMetaData>",
the problem is once i push the button i cannot get sonos to play original song again. it just stops.
Music is in music folder and pre-recorded mp3's are in c:/TTS