mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[PR #14147] [CLOSED] Fix TV Series Name Parsing for Shows with only Digits in its Title #13860
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/14147
Author: @deneille
Created: 5/21/2025
Status: ❌ Closed
Base:
master← Head:TV-TITLE-DIGITS📝 Commits (2)
f5ddaffResolved error resolving tv shows with 4 digitse685cf3handles the case of a tv show having only digits in its title regardless of length📊 Changes
2 files changed (+12 additions, -3 deletions)
View changed files
📝
Emby.Naming/TV/SeriesResolver.cs(+10 -3)📝
tests/Jellyfin.Naming.Tests/TV/SeriesResolverTests.cs(+2 -0)📄 Description
Changes
Within the Resolve function in the SeriesResolver class, I added the case where the title of the tv show is only numbers. It looks for tv show titles with only digits regardless of length. It uses Regex for possible matches and takes the numeric part for the instance where the title is
1923 (2022), it rightfully recognizes that1923is the title of the show.Issues
Fixes #13875.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.