Jump to content

Bug: Metadata Manager "Identify" fails for TV Series - ItemId in request causes empty results


Recommended Posts

Posted

Hi everyone,

I've discovered a bug in the Metadata Manager where the "Identify" function fails to find any results for TV series (movies work fine). After investigating, I found the root cause.

The Problem:

When searching for a TV series in the Identify screen, no results are returned - just an empty array. [].

Root Cause:

The issue is that the API request includes an ItemId field in the JSON body, which causes the search to fail.

Request URL:

POST http://<emby_url>/emby/Items/RemoteSearch/Series?X-Emby-Client=Emby+Web&X-Emby-Device-Name=Chrome+Windows&X-Emby-Device-Id=<UUID>&X-Emby-Client-Version=4.9.1.90&X-Emby-Token=<TOKEN>&X-Emby-Language=en-us&reqformat=json

Failing JSON body (with ItemId):

{"SearchInfo":{"ProviderIds":{},"Name":"Upload","Year":2022},"ItemId":"12345"}

Response: [] (empty)

Working JSON body (without ItemId):

{"SearchInfo":{"ProviderIds":{},"Name":"Upload","Year":2022}}

Response: Returns correct results from TVDB, IMDB, and other providers.

Steps to Reproduce:

  • Open Metadata Manager → Identify
  • Search for the series
  • Observe that no results are returned

Expected Behavior: The search should return matching results from metadata providers.

Actual Behavior: Empty results due to ItemId being included in the request payload.

Environment:

Has anyone else encountered this issue? Hopefully, this can be fixed in an upcoming release.

Thanks!

GrimReaper
Posted
10 minutes ago, zachi40 said:

I've discovered a bug in the Metadata Manager where the "Identify" function fails to find any results for TV series (movies work fine).

I see no issues with identifying TV series, either by name or ProviderID.

Post server log so it can be visible what calls were made. 

GrimReaper
Posted

There are no calls/GET requests to the providers in your log - what meta-downloaders you have enabled in your library and in what order? Try unticking/ticking them back again and then try to Identify a TV show, post server log afterwards if it fails again.

Posted

Thanks anyway! I fixed it by reinstalling the library.

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