mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #16160] Fix ItemValues Type checks #14543
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/16160
Author: @Shadowghost
Created: 2/1/2026
Status: 🔄 Open
Base:
master← Head:fix-itemvalues-uniqueness📝 Commits (2)
77ff451Only save unique values of ProductionLocations, Studios, Tags, Artists and AlbumArtists1dacb69Fix Genre Uniqueness📊 Changes
2 files changed (+20 additions, -19 deletions)
View changed files
📝
Jellyfin.Api/Controllers/ItemUpdateController.cs(+6 -6)📝
Jellyfin.Server.Implementations/Item/BaseItemRepository.cs(+14 -13)📄 Description
Changes
e.Type + "+"which converts the enum to its name (e.g., "Studios"), while line 1301 uses(int)e.MagicNumberwhich produces the integer value (e.g., "3") which makes the comparison fail.Issues
Fixes #16156
Fixes #16157
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.