mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #14540] [MERGED] Improve extra rule resolution and file handling #14026
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/14540
Author: @TokerX
Created: 7/27/2025
Status: ✅ Merged
Merged: 8/4/2025
Merged by: @joshuaboniface
Base:
master← Head:issue-8641📝 Commits (1)
7785b51Enhance extra rules for video and audio file naming; update tests for new naming conventions📊 Changes
8 files changed (+195 additions, -93 deletions)
View changed files
📝
CONTRIBUTORS.md(+1 -0)📝
Emby.Naming/Common/NamingOptions.cs(+14 -14)📝
Emby.Naming/Video/ExtraRuleResolver.cs(+28 -50)📝
Emby.Server.Implementations/Library/CoreResolutionIgnoreRule.cs(+12 -25)📝
tests/Jellyfin.Naming.Tests/Video/ExtraTests.cs(+9 -2)📝
tests/Jellyfin.Naming.Tests/Video/VideoListResolverTests.cs(+1 -1)➕
tests/Jellyfin.Server.Implementations.Tests/Library/CoreResolutionIgnoreRuleTest.cs(+129 -0)📝
tests/Jellyfin.Server.Implementations.Tests/Plugins/PluginManagerTests.cs(+1 -1)📄 Description
NamingOptions.cs
legitimate file names ending in trailer or sample.
ExtraRuleResolver.cs
reduce duplication.
efficiency.
CoreResolutionIgnoreRule.cs
already evaluated upstream.
Tests
ExtraTests.cs and VideoListResolverTests.cs: updated to reflect
new logic.
CoreResolutionIgnoreRuleTest.cs: new tests added
PluginManagerTests.cs: fixed test failure by formatting
versionInfo.Timestamp using the "o" format to ensure consistent
UTC parsing.
Closes #8641
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.