chef 3749 Posted March 1, 2018 Share Posted March 1, 2018 Anyone have a moment to tell me where "SendPlayCommand" lives in the latest APi release? It use to be accessible through SessionInfo - SessionController - SendPlayCommand. But it has moved and left me broken. Link to comment Share on other sites More sharing options...
Luke 37253 Posted March 1, 2018 Share Posted March 1, 2018 You don't call methods directly on SessionInfo, instead do everything via ISessionManager. Link to comment Share on other sites More sharing options...
chef 3749 Posted March 1, 2018 Author Share Posted March 1, 2018 In my Alexa plugin I have to return a string for it to speak. This makes the playback function a Task<string>. I use a custom endpoint to let it speak and control the server. When initiating a playback request inside a plugin, what Controlling Session Id is most likely used to report to the server? Can I just make one up, or does it have to be a registered Id? Link to comment Share on other sites More sharing options...
chef 3749 Posted March 1, 2018 Author Share Posted March 1, 2018 (edited) It seems a bit janky, I am using the first session found on the network, but something tells me that The controlling session isn't going to work for the session to control. In other words emby sessions shouldn't control themselves... Lol. If there is only one device in the network at the time of the Alexa playback request, then wierd things might happen... Can the controllingSessionId be optional? Edited March 1, 2018 by chef Link to comment Share on other sites More sharing options...
Luke 37253 Posted March 1, 2018 Share Posted March 1, 2018 Yes you can leave controllingSessionId null. Try that. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now