maykar / plex_assistant

❱ Plex Assistant is a Home Assistant integration for casting Plex media to Google devices, Sonos devices, and Plex clients with Google Assistant, HA's conversation integration, and more.
MIT License
281 stars 60 forks source link

Play as specified home user #119

Closed Shayne55434 closed 3 years ago

Shayne55434 commented 3 years ago

Not sure if this is possible or not, but it would be really cool to specify which user to play as. Currently, it plays as the server owner/admin. However, I have a separate home user account I'd like to play media as. Hope this is possible and can be added!

maykar commented 3 years ago

This is an often suggested feature, but there is no current practical way to implement something like this. IFTTT doesn't pass along user, device, etc. information and to do this with dialogflow would require quite a bit of work and may not even be possible for a few reasons, not least of which is that I don't believe that you can make an Google Assistant plugin with a variable webhook address.

Shayne55434 commented 3 years ago

That's fair. However, couldn't you specify a user as default within HA, rather than passing it through IFTTT/GA?

maykar commented 3 years ago

This project uses HA's built in Plex integration services for starting playback, currently there is no feature for "Play as user". Might be a good feature request for HA core.