jvandy7 0 Posted January 12, 2017 Share Posted January 12, 2017 Is there a way through the API to start content on a specific client? I have a media server I want to be able to control content on through web service requests. I think right now I can only query what each client is doing but not set it. Thanks! Link to comment Share on other sites More sharing options...
chef 3746 Posted January 12, 2017 Share Posted January 12, 2017 (edited) I think it is: PlayRequest But I can't remember the namespace. It is under Sessions... Maybe. There are parameters to send the request to a certain session. Edited January 12, 2017 by chef Link to comment Share on other sites More sharing options...
speechles 1920 Posted January 13, 2017 Share Posted January 13, 2017 https://github.com/MediaBrowser/Emby/wiki/Remote-control Is this what you mean? Sent from my Nexus 7 using Tapatalk Link to comment Share on other sites More sharing options...
jvandy7 0 Posted January 13, 2017 Author Share Posted January 13, 2017 Thanks! I've been trying to test those from a command line and the swagger ui. They both return an error with appVersion, which I don't see anywhere. Most of those methods don't make sense as POST as it just posts redundant data. { "ResponseStatus": { "ErrorCode": "ArgumentNullException", "Message": "Value cannot be null.\nParameter name: appVersion", "Errors": [ { "ErrorCode": "ArgumentNullException", "FieldName": "appVersion", "Message": "Value cannot be null.\n" } ] } } Link to comment Share on other sites More sharing options...
Luke 37116 Posted January 13, 2017 Share Posted January 13, 2017 There are headers you have to supply on every request. unfortunately github seems to be down right now but it is documented in the developer wiki. Link to comment Share on other sites More sharing options...
jvandy7 0 Posted January 13, 2017 Author Share Posted January 13, 2017 Thanks, I was able to trace the calls and found the header for x-emby-authorization that needs to be included. So far I'm able to get it to Pause, but not Unpause. 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