Merge pull request #14824 from CodyEngel/fix-numeric-titles

Fix TV Series parsing containing only numbers.
This commit is contained in:
Niels van Velzen
2025-11-27 16:32:11 +01:00
committed by GitHub
2 changed files with 22 additions and 0 deletions

View File

@@ -19,6 +19,7 @@ namespace Jellyfin.Naming.Tests.TV
[InlineData("/some/path/The Show", "The Show")]
[InlineData("/some/path/The Show s02e10 720p hdtv", "The Show")]
[InlineData("/some/path/The Show s02e10 the episode 720p hdtv", "The Show")]
[InlineData("/some/path/1923 (2022)", "1923")]
public void SeriesResolverResolveTest(string path, string name)
{
var res = SeriesResolver.Resolve(_namingOptions, path);