LOL. Yes, that is an unreasonable request. Every app becomes RM over time.
But, but, but having chased my tail and loose ends ad nauseam to find a workable TTS to Sonos setting, I'm left holding all volume and zillion over-ridden settings. Dorothy wanna git back home listening to Lynyrd Skynyrd, sans having to get a global broomstick to do it.
Would there be chance to add "music player" devices to the Capture/Restore selection list realm or that be over the rainbow?
Music player, that's what the OP is requesting isn't it?
Yes, this is what I said I am currently doing. But I was just putting a to adding a full capture and restore for "music player" it would make TTS things simpler.
Sorry, but that doesn't explain this at all. What is the use case please? There are no commands to set trackData, status, or trackDescription. Are you just trying to restore the volume?
If so, you don't need a new feature to do that. Simply put it in a variable (using custom attribute) and then set it from the variable.
Cannae speak for other music players, but @Eskay found means to step into the unlisted features via RM Set Mode or Variables, Run Custom Action: Run Custom Action in the thread at:
Sonos does curious actions behind and in the middle of TTS and to add insult to injury, it does different different things when playing from the Sonos App vs play from the Spotify vs cast to Sonos speaker from Spotify, same for YouTube Music and chromecast. It made me dinky head hurt. Thankfully, I've abundant Tanguerary in the frig....
The data track appears to hold all the Elvis return to sender song beyond the other five elements.
It is worth pointing out that when you use RM to play tts on a music player, it uses playTextAndRestore command to do so, and it passes the volume you selected to the player. That should restore the music player to whatever it was doing prior.
It sounds as though you are describing driver issues. Does this work as expected if you do this command from the device itself?
Using the built-in "Notifications" app, the TTS volume walks down using a Sonos speaker and from the driver (having used the Sonos Integration built-in app).
Using playTextAndRestore and the Notifications app plays the text with decreasing volume and then leaves the text as the music track to play. It does not restore, hence my request.
When my TTS comes through it stops the music altogether and plays the TTS at the volume the music was, then stops playing altogether.
I've tried it other ways with a playlist, and like @jchurch the music will then go back to the beginning of the playlist and start again.
What I do now is play music, when im finished set the sonos back to the volume I want the TTS to come through at and leave it alone, which sucks as I tend to use my echo / jbl soundbar instead of my nice sounding sonos because I dont want to mess up the TTS notifications.
I'm taking one step forward and two back chasing this. @stevebott123, is the Sonos speaker you use for TTS grouped or stereo paired to other Sonos speaker(s) and/or do you have Sonos TruePlay on? The rabbit hole I'm presently in has good scent, so this ole dog's hunting that direction.