Fail to fetch metadata if an actor have empty name #7154

Closed
opened 2025-12-22 05:20:00 +01:00 by backuprepo · 1 comment
Owner

Originally created by @EdiTurn on GitHub (Jul 11, 2025).

This issue respects the following points:

  • This is a bug, not a question or a configuration issue; Please visit our forum or chat rooms first to troubleshoot with volunteers, before creating a report.
  • This issue is not already reported on GitHub (I've searched it).
  • I'm using an up to date version of Jellyfin Server stable, unstable or master; We generally do not support previous older versions. If possible, please update to the latest version before opening an issue.
  • I agree to follow Jellyfin's Code of Conduct.
  • This report addresses only a single issue; If you encounter multiple issues, kindly create separate reports for each one.

Description of the bug

I'm managing Demon Slayer: Kimetsu no Yaiba in Jellyfin, but I found that the metadata for several episodes is not displaying correctly. When I attempted to manually fetch and overwrite the metadata, I encountered the following error in the logs.

Reproduction steps

Find a TV show on TMDB that has missing actor names in its data. Then try to fetch its metadata.

What is the current bug behavior?

When an actor's name is missing, the entire metadata for that episode fails to load properly.
In my case, the problematic actor is: https://www.themoviedb.org/person/2868405?language=zh-CN — their name is missing in the Simplified Chinese metadata on TMDB.

What is the expected correct behavior?

Discard the invalid data for individual actors, or allow empty names, instead of letting it prevent the rest of the episode's metadata from being retrieved.

Jellyfin Server version

10.10.0+

Specify commit id

No response

Specify unstable release number

No response

Specify version number

No response

Specify the build version

250708

Environment

- OS: Ubuntu 24.04
- Linux Kernel: 6.8.0
- Virtualization: Docker - nyanmisaka/jellyfin:latest
- Clients: Browser
- Browser: Brave 1.80.120

Jellyfin logs

[2025-07-11 13:18:55.178 +08:00] [INF] [61] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/media/series/Demon Slayer - Kimetsu no Yaiba (2019)/Season 01/Demon Slayer - Kimetsu no Yaiba (2019) S01E01 [Bluray-1080p][FLAC 2.0][x265] - AI-Raws.mkv\" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format"
[2025-07-11 13:18:55.205 +08:00] [ERR] [61] MediaBrowser.Providers.TV.EpisodeMetadataService: Error in "TheMovieDb"
System.ArgumentException: The value cannot be an empty string. (Parameter 'person.Name')
   at System.ArgumentException.ThrowNullOrEmptyException(String argument, String paramName)
   at MediaBrowser.Controller.Entities.PeopleHelper.AddPerson(List`1 people, PersonInfo person)
   at MediaBrowser.Providers.Plugins.Tmdb.TV.TmdbEpisodeProvider.GetMetadata(EpisodeInfo info, CancellationToken cancellationToken)
   at MediaBrowser.Providers.Manager.MetadataService`2.ExecuteRemoteProviders(MetadataResult`1 temp, String logName, Boolean replaceData, TIdType id, IEnumerable`1 providers, CancellationToken cancellationToken)
[2025-07-11 13:19:00.209 +08:00] [INF] [75] Jellyfin.Plugin.KodiSyncQueue.EntryPoints.LibrarySyncNotification: Started library sync
[2025-07-11 13:19:00.217 +08:00] [INF] [75] Jellyfin.Plugin.KodiSyncQueue.EntryPoints.LibrarySyncNotification: Library Sync: Updated 1 items
[2025-07-11 13:19:00.217 +08:00] [INF] [75] Jellyfin.Plugin.KodiSyncQueue.EntryPoints.LibrarySyncNotification: Finished library sync, taking "00:00:00.0077903"

FFmpeg logs


Client / Browser logs

No response

Relevant screenshots or videos

No response

Additional information

No response

Originally created by @EdiTurn on GitHub (Jul 11, 2025). ### This issue respects the following points: - [x] This is a **bug**, not a question or a configuration issue; Please visit our [forum or chat rooms](https://jellyfin.org/contact/) first to troubleshoot with volunteers, before creating a report. - [x] This issue is **not** already reported on [GitHub](https://github.com/jellyfin/jellyfin/issues?q=is%3Aopen+is%3Aissue) _(I've searched it)_. - [x] I'm using an up to date version of Jellyfin Server stable, unstable or master; We generally do not support previous older versions. If possible, please update to the latest version before opening an issue. - [x] I agree to follow Jellyfin's [Code of Conduct](https://jellyfin.org/docs/general/community-standards.html#code-of-conduct). - [x] This report addresses only a single issue; If you encounter multiple issues, kindly create separate reports for each one. ### Description of the bug I'm managing Demon Slayer: Kimetsu no Yaiba in Jellyfin, but I found that the metadata for several episodes is not displaying correctly. When I attempted to manually fetch and overwrite the metadata, I encountered the following error in the logs. ### Reproduction steps Find a TV show on TMDB that has missing actor names in its data. Then try to fetch its metadata. ### What is the current _bug_ behavior? When an actor's name is missing, the entire metadata for that episode fails to load properly. In my case, the problematic actor is: https://www.themoviedb.org/person/2868405?language=zh-CN — their name is missing in the Simplified Chinese metadata on TMDB. ### What is the expected _correct_ behavior? Discard the invalid data for individual actors, or allow empty names, instead of letting it prevent the rest of the episode's metadata from being retrieved. ### Jellyfin Server version 10.10.0+ ### Specify commit id _No response_ ### Specify unstable release number _No response_ ### Specify version number _No response_ ### Specify the build version 250708 ### Environment ```markdown - OS: Ubuntu 24.04 - Linux Kernel: 6.8.0 - Virtualization: Docker - nyanmisaka/jellyfin:latest - Clients: Browser - Browser: Brave 1.80.120 ``` ### Jellyfin logs ```shell [2025-07-11 13:18:55.178 +08:00] [INF] [61] MediaBrowser.MediaEncoding.Encoder.MediaEncoder: Starting "/usr/lib/jellyfin-ffmpeg/ffprobe" with args "-analyzeduration 200M -probesize 1G -i file:\"/media/series/Demon Slayer - Kimetsu no Yaiba (2019)/Season 01/Demon Slayer - Kimetsu no Yaiba (2019) S01E01 [Bluray-1080p][FLAC 2.0][x265] - AI-Raws.mkv\" -threads 0 -v warning -print_format json -show_streams -show_chapters -show_format" [2025-07-11 13:18:55.205 +08:00] [ERR] [61] MediaBrowser.Providers.TV.EpisodeMetadataService: Error in "TheMovieDb" System.ArgumentException: The value cannot be an empty string. (Parameter 'person.Name') at System.ArgumentException.ThrowNullOrEmptyException(String argument, String paramName) at MediaBrowser.Controller.Entities.PeopleHelper.AddPerson(List`1 people, PersonInfo person) at MediaBrowser.Providers.Plugins.Tmdb.TV.TmdbEpisodeProvider.GetMetadata(EpisodeInfo info, CancellationToken cancellationToken) at MediaBrowser.Providers.Manager.MetadataService`2.ExecuteRemoteProviders(MetadataResult`1 temp, String logName, Boolean replaceData, TIdType id, IEnumerable`1 providers, CancellationToken cancellationToken) [2025-07-11 13:19:00.209 +08:00] [INF] [75] Jellyfin.Plugin.KodiSyncQueue.EntryPoints.LibrarySyncNotification: Started library sync [2025-07-11 13:19:00.217 +08:00] [INF] [75] Jellyfin.Plugin.KodiSyncQueue.EntryPoints.LibrarySyncNotification: Library Sync: Updated 1 items [2025-07-11 13:19:00.217 +08:00] [INF] [75] Jellyfin.Plugin.KodiSyncQueue.EntryPoints.LibrarySyncNotification: Finished library sync, taking "00:00:00.0077903" ``` ### FFmpeg logs ```shell ``` ### Client / Browser logs _No response_ ### Relevant screenshots or videos _No response_ ### Additional information _No response_
backuprepo 2025-12-22 05:20:00 +01:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@theguymadmax commented on GitHub (Jul 11, 2025):

This should be fixed in the Master by #14370

@theguymadmax commented on GitHub (Jul 11, 2025): This should be fixed in the Master by #14370
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: starred/jellyfin#7154
No description provided.