aboutsummaryrefslogtreecommitdiff
path: root/tests/Jellyfin.Naming.Tests
AgeCommit message (Collapse)Author
9 daysMerge pull request #14824 from CodyEngel/fix-numeric-titlesNiels van Velzen
Fix TV Series parsing containing only numbers.
2025-11-17Backport pull request #15404 from jellyfin/release-10.11.ztheguymadmax
Improve season folder parsing Original-merge: 2e5ced50986c37b19b5f4ef34d730fc56a51535a Merged-by: crobibero <cody@robibe.ro> Backported-by: Bond_009 <bond.009@outlook.com>
2025-11-02Backport pull request #15326 from jellyfin/release-10.11.zShadowghost
Skip too large extracted season numbers Original-merge: e7dbb3afec3282c556e4fe35d9376ecaa4417171 Merged-by: crobibero <cody@robibe.ro> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2025-10-27Backport pull request #15102 from jellyfin/release-10.11.ztheguymadmax
Make season paths case-insensitive Original-merge: 305b0fdca323833653dd26c642b2c465890143dc Merged-by: crobibero <cody@robibe.ro> Backported-by: Bond_009 <bond.009@outlook.com>
2025-09-20remove explicit ‘-‘ support in series nameCody Engel
2025-09-20support series that are numeric onlyCody Engel
updates SeriesResolver to handle series names that only contain numbers such as 1923.
2025-07-26Enhance extra rules for video and audio file naming; update tests for new ↵Sven Cazier
naming conventions
2025-03-27Fix for Issue #12142: Fix ExtraRuleResolver filtering out top level folders ↵Michael McElroy
(#12170) * Fix ExtraRuleResolver to stop filtering out libraries where the name of the base folder matches an 'videos extras' rule with an ExtraRuleType of DirectoryName Currently the ExtraRuleResolver code doesn't know anything about the root folder of the current library. As a result, when we're attempting to add items in a library where the root folder has a name with a match in Emby.Naming.Common.NamingOptions.VideoExtraRules, the entire library is being ignored as a Video Extras folder. Need to pass in the root folder of the current library to compare to the path of the current item being evaluated, and if we match the current item's folder to the root folder, then we ignore the ExtraRules with a type of DirectoryName and we continue to scan deeper in the library. Filters still apply to subfolders within the library itself. * Update CONTRIBUTORS.md * Update Emby.Naming/Video/ExtraRuleResolver.cs * Update ExtraTests.cs Add tests for this fix. Also add missing tests in TestKodiExtras, TestExpandedExtras, and TestSample, and expanded TestDirectories into TestDirectoriesAudioExtras and TestDirectoriesVideoExtras. There were no checks for the theme-music folder name previously. * Update ExtraTests.cs Removed unnecessary "using System" * In MediaBrowser.Model, upgrade System.Text.Json from 8.0.3 (vulnerable - high risk) to 8.0.4 * Update ExtraTests.cs Remove empty lines in usings * Revert "In MediaBrowser.Model, upgrade System.Text.Json from 8.0.3 (vulnerable - high risk) to 8.0.4"
2025-03-23Rework season folder parsing (#11748)Tim Eisele
2025-01-25chore: fix spellingJosh Soref
* a * acceleration * addition * altogether * api clients * artist * associated * bandwidth * cannot * capabilities * case-insensitive * case-sensitive * configuration * delimiter * dependent * diacritics * directors * enable * explicitly * filters * finish * have * hierarchy * implicit * include * information * into * its * keepalive * localization * macos * manual * matching * metadata * nonexistent * options * overridden * parsed * parser * playback * preferring * processes * processing * provider * ratings * retrieval * running * segments * separate * should * station * subdirectories * superseded * supported * system * than * the * throws * transpose * valid * was link: forum or chat rooms Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2024-10-12Add EpisodeExpression for anime file namesTonyB
2024-09-22Update dependency xunit to 2.9.1 (#12687)renovate[bot]
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Cody Robibero <cody@robibe.ro>
2024-09-18Sort by version name before resolution sorting (#12621)gnattu
2024-08-30Remove BOM from UTF-8 filesBond_009
I think some people need to change their IDE configuration ;)
2024-08-01Enable more analyser rules as errorsBond_009
Also deduplicates a bit of code inside of SeasonPathParser and adds some more tests
2024-06-23Backport pull request #12026 from jellyfin/release-10.9.zBond-009
Check hearing impared flags with equality instead of contains Original-merge: a89678074e7663c1240286a04bb2eead9ef633a7 Merged-by: Bond-009 <bond.009@outlook.com> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2024-05-17Backport pull request #11648 from jellyfin/release-10.9.zShadowghost
Fix series status parsing Original-merge: c6c48a2b474012f6e4464b743a937c522f15e04d Merged-by: nielsvanvelzen <nielsvanvelzen@users.noreply.github.com> Backported-by: Joshua M. Boniface <joshua@boniface.me>
2023-12-18Fix testsBond_009
2023-10-08Reduce string literal length by using verbatim stringStepan Goremykin
2023-10-08Remove redundant verbatim string prefixesStepan Goremykin
2023-07-28added test case, fixed regexesscatter-dev
2023-03-15fixed typomammo0
Co-authored-by: Shadowghost <Shadowghost@users.noreply.github.com>
2023-03-15fixed FourSisters test casemammo0
The files should be treated as separate movies and should not be stacked, because the parttype is missing.
2023-03-15fixed stacking test casesmammo0
Movies should not be stacked if no parttype is given.
2023-02-20Improve alternate ordering (#9336)Bond-009
2023-02-19Merge pull request #9343 from Lenart12/masterBond-009
2023-02-17Add rule and tests to fix #9341Lenart Kos
Add an additional EpisodeExpression that matches `Series title Season 3 Episode 9 - Episode title.avi` correctly. Fixes #9341
2023-02-17Reduce string allocations by regexBond_009
2023-02-15Make exact match primary videoBond_009
2023-02-12Always run code analyzers for tests projects (#9304)Bond-009
2023-02-04Use Directory.Packages.props (#9135)Zoltan Csizmadia
Co-authored-by: Zoltan Csizmadia <CsizmadiaZ@valassis.com>
2023-01-18chore(deps): update dependency microsoft.codeanalysis.bannedapianalyzers to ↵renovate[bot]
v3.3.4 (#9117) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-14Update test dependencies (#9094)Patrick Barron
2022-12-29Fix multi cleaning (#8978)xdo
Right now, a movie Name `Iron Man Multi 1080p.mkv` will be searched as `Iron Man Multi` leading to no result. The cleaning regex was containing multi but it looks like a typo joined `multi` and `subs` in the same term. Co-authored-by: Xavier-Do <xavier.dolle@gmail.com>
2022-12-07Update projects to .net7Bond_009
2022-12-05Replace != null with is not nullBond_009
2022-12-05Replace == null with is nullBond_009
2022-10-27Fix extra type differentiationphotonconvergence
Change rules for Featurettes and Shorts so they don't both get classed as ExtraType.Clip. Fix test that these changes break
2022-10-07Add hearing impaired subtitle stream indicator (#7379)Joe Rogers
Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2022-09-28Remove redundant using directivesHannes Braun
2022-09-26Bump Microsoft.NET.Test.Sdk from 17.3.1 to 17.3.2dependabot[bot]
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.3.1 to 17.3.2. - [Release notes](https://github.com/microsoft/vstest/releases) - [Commits](https://github.com/microsoft/vstest/compare/v17.3.1...v17.3.2) --- updated-dependencies: - dependency-name: Microsoft.NET.Test.Sdk dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2022-09-09Bump xunit from 2.4.1 to 2.4.2dependabot[bot]
Bumps [xunit](https://github.com/xunit/xunit) from 2.4.1 to 2.4.2. - [Release notes](https://github.com/xunit/xunit/releases) - [Commits](https://github.com/xunit/xunit/compare/2.4.1...2.4.2) --- updated-dependencies: - dependency-name: xunit dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2022-09-09Bump Moq from 4.18.1 to 4.18.2dependabot[bot]
Bumps [Moq](https://github.com/moq/moq4) from 4.18.1 to 4.18.2. - [Release notes](https://github.com/moq/moq4/releases) - [Changelog](https://github.com/moq/moq4/blob/main/CHANGELOG.md) - [Commits](https://github.com/moq/moq4/compare/v4.18.1...v4.18.2) --- updated-dependencies: - dependency-name: Moq dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
2022-09-05Bump Microsoft.NET.Test.Sdk from 17.2.0 to 17.3.1dependabot[bot]
Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 17.2.0 to 17.3.1. - [Release notes](https://github.com/microsoft/vstest/releases) - [Commits](https://github.com/microsoft/vstest/compare/v17.2.0...v17.3.1) --- updated-dependencies: - dependency-name: Microsoft.NET.Test.Sdk dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
2022-06-06Merge pull request #7842 from crobibero/dependency-backportCody Robibero
(cherry picked from commit df6c5b6d421aeac7c4c29f9eab75b92f2c3c7ce7) Signed-off-by: crobibero <cody@robibe.ro>
2022-06-04Bump Moq from 4.17.2 to 4.18.1 (#7820)dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-25Bump Microsoft.NET.Test.Sdk from 17.1.0 to 17.2.0 (#7760)dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-20Merge pull request #7741 from ↵Joshua M. Boniface
LewkyB/fix-improperly-labeled-four-digit-episode-numbering Fix to allow for episode numbering over 999 in certain scenarios (cherry picked from commit 3ea67374aecdeab6f90b66fecdaf6ee4e510675d) Signed-off-by: Joshua Boniface <joshua@boniface.me>
2022-05-09Bump StyleCop.Analyzers from 1.2.0-beta.406 to 1.2.0-beta.435 (#7726)dependabot[bot]
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-09Bump xunit.runner.visualstudio from 2.4.3 to 2.4.5 (#7727)dependabot[bot]
Bumps [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit) from 2.4.3 to 2.4.5. - [Release notes](https://github.com/xunit/visualstudio.xunit/releases) - [Commits](https://github.com/xunit/visualstudio.xunit/commits) --- updated-dependencies: - dependency-name: xunit.runner.visualstudio dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>