Jump to content

Strange behavior when searching for items


Recommended Posts

Posted

Hey,

 

I started to work with the Emby API and got some strange behavior when I call for items with a certain ParentID.

 

When I query for a certain parentId that starts with 4514 I get a total different ParentID in all results (results are correct)

When I query for the parentID included in the results I get the same results.

 

I get the parentId starting with 4514 from the query to get the top items (libraries) and now I wanted to get all movies for a certain view. But when I save it like this I have no idea in my DB how to link my movies to the libraries (because of the different ID's.

 

Am I doing something wrong here?

 

Thanks,

Reggi

 

 5960bd411e488_Untitled.png

Posted

No you're not doing anything wrong. Occasionally you'll see that.

  • Like 1
Posted

mmmm ok, thanks for the response. 

I'll think I will keep everything in memory then, don't need to save all data in my own db anyway.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...