jvandy7 0 Posted January 12, 2017 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!
chef 3810 Posted January 12, 2017 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
speechles 2055 Posted January 13, 2017 Posted January 13, 2017 https://github.com/MediaBrowser/Emby/wiki/Remote-control Is this what you mean? Sent from my Nexus 7 using Tapatalk
jvandy7 0 Posted January 13, 2017 Author 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" } ] } }
Luke 42077 Posted January 13, 2017 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.
jvandy7 0 Posted January 13, 2017 Author 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.
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