question

Neil Renaud avatar image
Neil Renaud asked

Way to control different players from different Echos?

Is there a way to know which Echo the user asked to play something? If they ask the Bedroom echo then I want to play on the bedroom device and if they ask the living room echo I want to play on the living room device.

video skill api
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

meep avatar image
meep answered

You can use the deviceID to identify the echo. Then, provide a function for users to select a playback device to map to that echo. Store this mapping in persistent data storage and you can then have your skill on a specific echo control content on the target/mapped device.

This breaks down if the user disables/re-enables the skill (a different deviceID is generated) but is otherwise solid.

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.