mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #15689] [MERGED] Use original name for MusicAritist matching #14387
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/jellyfin/jellyfin/pull/15689
Author: @gnattu
Created: 12/1/2025
Status: ✅ Merged
Merged: 12/6/2025
Merged by: @crobibero
Base:
release-10.11.z← Head:dont-normalize-artist-name📝 Commits (1)
01e87b7Use original name for MusicAritist matching📊 Changes
3 files changed (+12 additions, -2 deletions)
View changed files
📝
Emby.Server.Implementations/Library/LibraryManager.cs(+1 -0)📝
Jellyfin.Server.Implementations/Item/BaseItemRepository.cs(+9 -2)📝
MediaBrowser.Controller/Entities/InternalItemsQuery.cs(+2 -0)📄 Description
Our MusicArtist matching is now having inconsistencies after EFCore refactor:
CreateItemByNameusesGetItemListto find existing artists and that query would transparently normalize the artist name into a clean name and return the artist matched with the clean name, even if the original artist name is differentFindArtistsmatch artists with the original name (not the normalized cleanName)This inconsistency would cause the following case:
CreateItemByNamethinks there is already an existing artist to be the same personFindArtistswill not be able to find that particular artist, and to user, there is just one "missing artist"Given the fact that artists could having surprisingly similar name that just differ by cases or special characters, we should always use the original name to match existing artists.
Changes
Issues
Fixes #15283
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.