diff options
| author | Logan Douglas <42654828+JadedRain@users.noreply.github.com> | 2025-11-05 13:06:57 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-05 13:06:57 -0700 |
| commit | 1adf441f1ca9d61c3d6c63df0ea87a870e03632f (patch) | |
| tree | 6406843a15c2eb3a315e07754fc493b300cbbe70 /tests | |
| parent | 490bf347cbdf8ec458996d09ba40651eb647b7b9 (diff) | |
| parent | 96d72788a1b596578d26841a91d24262723b1df1 (diff) | |
Merge branch 'jellyfin:master' into master
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/Jellyfin.Naming.Tests/TV/SeasonPathParserTests.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/Jellyfin.Naming.Tests/TV/SeasonPathParserTests.cs b/tests/Jellyfin.Naming.Tests/TV/SeasonPathParserTests.cs index 7671166ff4..0c3671f4fb 100644 --- a/tests/Jellyfin.Naming.Tests/TV/SeasonPathParserTests.cs +++ b/tests/Jellyfin.Naming.Tests/TV/SeasonPathParserTests.cs @@ -66,6 +66,9 @@ public class SeasonPathParserTests [InlineData("/Drive/SPECIALS", "/Drive", 0, true)] [InlineData("/Drive/Episode 1 Season 2", "/Drive", null, false)] [InlineData("/Drive/Episode 1 SEASON 2", "/Drive", null, false)] + [InlineData("/media/YouTube/Devyn Johnston/2024-01-24 4070 Ti SUPER in under 7 minutes", "/media/YouTube/Devyn Johnston", null, false)] + [InlineData("/media/YouTube/Devyn Johnston/2025-01-28 5090 vs 2 SFF Cases", "/media/YouTube/Devyn Johnston", null, false)] + [InlineData("/Drive/202401244070", "/Drive", null, false)] public void GetSeasonNumberFromPathTest(string path, string? parentPath, int? seasonNumber, bool isSeasonDirectory) { var result = SeasonPathParser.Parse(path, parentPath, true, true); |
