the-dumb1 121 Posted April 10, 2016 Share Posted April 10, 2016 (edited) It drives me absolutely nuts that I can't "view" my library by persons. This functionality used to exist and there is no commitment to bring it back. I looked at the API, and found that there is a Persons API. I have, perhaps naively, assumed that I could call http://address:8096/Persons but all I get is a "SecurityException" errorcode. The message is "Access token is required." Is the API out-of-sync with the code base, or am I just experiencing an ID-10-T error? Edited April 10, 2016 by timid1 Link to comment Share on other sites More sharing options...
the-dumb1 121 Posted April 10, 2016 Author Share Posted April 10, 2016 I'm pretty sure I'm being naive. I'm reading things about authentication, but honestly don't know where to start. I usually like to do a "hello world" type thing when I dive in on something new, but I just don't know where to start here. Any tips? In the end, what I want to do is walk through my library and graphically list the People in each movie, and if a movie doesn't have any people listed in it, then to flag that movie. I'd like to start small, at least figuring out a good starting point. Can anyone help/provide some tips? Link to comment Share on other sites More sharing options...
ebr 14960 Posted April 11, 2016 Share Posted April 11, 2016 Start here for the authentication issue. Link to comment Share on other sites More sharing options...
the-dumb1 121 Posted April 12, 2016 Author Share Posted April 12, 2016 (edited) Thank you! Let me try this a different way. I *have* to create a plug-in in order to "access" the Persons plug-in, yes? I'm a low-level programmer. OOP is not my forte, but I know how to RTFM and can do even better when I have examples. I looked at the XMLSaver Plugin as a start, and that helped just a little, but I'm still struggling a bit. Am I making this harder than it needs to be? I want to see a graphical representation of "Persons" in my library. Do I HAVE to create a plugin? Edited April 12, 2016 by timid1 Link to comment Share on other sites More sharing options...
ebr 14960 Posted April 13, 2016 Share Posted April 13, 2016 No, I wouldn't think you would have to create a plug-in. You should be able to get that information via the API - but you will have to authenticate in order to do that. Link to comment Share on other sites More sharing options...
the-dumb1 121 Posted April 14, 2016 Author Share Posted April 14, 2016 I'm tracking now, but I am still having trouble. I didn't want to let this one die, but I won't be able to look at this again until Sunday. I'll post a trace so that I can be a little more descriptive about where my struggle is. I'll bet the problem is me. ;-) Thanks ebr! Link to comment Share on other sites More sharing options...
the-dumb1 121 Posted April 17, 2016 Author Share Posted April 17, 2016 Request URL: http://localhost:8096/Users/AuthenticateByName Response Body: Errorcode - Request Binding Exception Message - Unable to bind request Response Code: 400 My search-fu brings up this: http://emby.media/community/index.php?/topic/11543-api-sessions-problem/ I'm missing more than just the basics. My inclination was to look at other plug-ins to find out how to start, but based on what I'm told in this thread, I shouldn't have to create a plug-in. I'm googling now as I write this message, and I'm wondering if all I need to do is use curl to send the information Emby is looking for in order to authenticate? Just a smaller push in the right direction, please ... :-) Link to comment Share on other sites More sharing options...
ebr 14960 Posted April 17, 2016 Share Posted April 17, 2016 Authentication 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