[PR #13720] [MERGED] Fix regression where "Search for missing metadata" not handling cast having multiple roles #13680

Closed
opened 2026-02-07 07:17:17 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/13720
Author: @Lampan-git
Created: 3/15/2025
Status: Merged
Merged: 3/20/2025
Merged by: @Bond-009

Base: release-10.10.zHead: fix_people_multiple


📝 Commits (1)

  • 78d9fa7 fix Missing metadata search where cast has multiple roles

📊 Changes

1 file changed (+15 additions, -4 deletions)

View changed files

📝 MediaBrowser.Providers/Manager/MetadataService.cs (+15 -4)

📄 Description

Changes

Fix regression from #13618 where it doesn't handle cast having multiple roles, as this it give the values from the first occurrence to everything else, and as null values are valid for sortOrder it overwrites the sortOrder of those roles which shouldn't have any.

This is done by grouping the target by name and then looping through the name groupings.

Issues


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/13720 **Author:** [@Lampan-git](https://github.com/Lampan-git) **Created:** 3/15/2025 **Status:** ✅ Merged **Merged:** 3/20/2025 **Merged by:** [@Bond-009](https://github.com/Bond-009) **Base:** `release-10.10.z` ← **Head:** `fix_people_multiple` --- ### 📝 Commits (1) - [`78d9fa7`](https://github.com/jellyfin/jellyfin/commit/78d9fa72e05e0f0e659f4c2f59ab35f4c8d852fd) fix Missing metadata search where cast has multiple roles ### 📊 Changes **1 file changed** (+15 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `MediaBrowser.Providers/Manager/MetadataService.cs` (+15 -4) </details> ### 📄 Description <!-- Ensure your title is short, descriptive, and in the imperative mood (Fix X, Change Y, instead of Fixed X, Changed Y). For a good inspiration of what to write in commit messages and PRs please review https://chris.beams.io/posts/git-commit/ and our documentation. --> **Changes** <!-- Describe your changes here in 1-5 sentences. --> Fix regression from #13618 where it doesn't handle cast having multiple roles, as this it give the values from the first occurrence to everything else, and as null values are valid for sortOrder it overwrites the sortOrder of those roles which shouldn't have any. This is done by grouping the target by name and then looping through the name groupings. **Issues** <!-- Tag any issues that this PR solves here. ex. Fixes # --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 07:17:17 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#13680