Jump to content

No result when using search API


Recommended Posts

MissMakima
Posted
curl -X 'GET' \
  'https://<Hostname>/emby/Items?SearchTerm=<Keyword>&IncludeItemTypes=Episode&api_key=<Key>' \
  -H 'accept: application/json'

And I got the result as below:

{
  "Items": [],
  "TotalRecordCount": 0
}

Meanwhile I did have matched records in my Emby Library.

If I do this on web interface or inside the client software, there would be "Items" but the "TotalRecordCount" is constantly 0, no matter how many "Items" are returned.

Posted

HI, currently if the search query length is less than 4 characters, then total record count is disabled for performance reasons.

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...