Angelblue05 4130 Posted March 16, 2015 Share Posted March 16, 2015 Can someone explain to me what is expected when wanting to implement MB Connect? I can't find any documentation about it. Thanks. 1 Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted March 22, 2015 Author Share Posted March 22, 2015 No one knows how MB Connect is supposed to work? Where and how do I send authenticate to the server with MB connect information? All I found in the HTTP API is the following. The only thing that seems to make sense is the /Connect/Exchange, but I don't know how to get the connect user id. It seems if this feature should be implemented in clients that the documentation should be made available. Link to comment Share on other sites More sharing options...
ScottIsAFool 517 Posted March 24, 2015 Share Posted March 24, 2015 What language are you trying to connect with? If javascript, .NET or Java, I'd use the ApiClient, it will make things a lot easier for you. 1 Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted March 24, 2015 Author Share Posted March 24, 2015 Ok, so I need to use the ApiClient. Great stuff. I thought MB Connect was separate from it because there was no listed examples for it. Thanks Scott! Link to comment Share on other sites More sharing options...
ebr 14948 Posted March 24, 2015 Share Posted March 24, 2015 More specifically what you want is ConnectionManager which is a part of the ApiClient library. The basic workflow is: ConnectionManager.CreatePin() (display to user) ConnectionManager.GetPinStatus() (in a polling loop or after a button press) If pin is confirmed then ConnectionManager.Connect. 1 Link to comment Share on other sites More sharing options...
Luke 37180 Posted March 25, 2015 Share Posted March 25, 2015 If this is for JavaScript, I've updated the readme on how to use the JS libraries: https://github.com/MediaBrowser/MediaBrowser.ApiClient.Javascript Link to comment Share on other sites More sharing options...
Angelblue05 4130 Posted March 25, 2015 Author Share Posted March 25, 2015 Well, it's for JavaScript, but maybe in the future, for python too or any other languages that wishes to implement Emby connect. I'll check it out, thanks Luke. 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