doctorniz 1 Posted July 10, 2019 Posted July 10, 2019 I am trying to get details of a movie by its imdb id rather than name. I believe I have to use the ItemLookupService "Items/RemoteSearch/Movies" I provide the appropriate headers as it requires authentication by user. I provide the body in the following format: { "SearchInfo": { "ProviderIds": { "Imdb": "ttsomevalidimdbid } } } I get a server error in response 500. How do I get this to work? Thanks in advance
Luke 42077 Posted July 10, 2019 Posted July 10, 2019 Are you trying to do an internet lookup, or to lookup something in your database?
doctorniz 1 Posted July 10, 2019 Author Posted July 10, 2019 Within my database. Let's assume I have the item and it has its metadata filled appropriately.
Luke 42077 Posted July 10, 2019 Posted July 10, 2019 That method is an internet lookup. The regular items endpoint has a filter param for this.
doctorniz 1 Posted July 10, 2019 Author Posted July 10, 2019 I am trying this now but I am not seeming to get this to work. It keeps returning zero items. y When I do a blank '/Items/' query with authorization headers, no params, no body, I only get 4 items (there's a lot more) Tehse 4 items are not even file items but folders - Playlists, Movies, Series and Music. Sorry if i'm beeing a newbie
Solution doctorniz 1 Posted July 10, 2019 Author Solution Posted July 10, 2019 My apologies. I needed to set 'Recursive' to True or set the proper parentfolderid. Works now. 1
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