aboutsummaryrefslogtreecommitdiff
path: root/Emby.Naming/Video
AgeCommit message (Collapse)Author
2025-09-08Make private Emby.Naming.Video.StackResolver.StackMetadata sealed to silence ↵Varoon Pazhyanur
compiler warning
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"
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 ;)
2023-10-06Reduce string allocationsBond_009
Some simple changes to reduce the number of allocated strings
2023-06-28Use RegexGenerator where possibleBond_009
2023-03-09Clean Extra NamesSenorSmartyPants
- Adds regular expression to CleanStrings to remove suffix style extra naming from the name presented in JF. - Override Resolve for Extras to enable parsename - remove exclusion on parsename of extratypes
2023-02-20Improve alternate ordering (#9336)Bond-009
2023-02-17Reduce string allocations by regexBond_009
2023-02-15Make exact match primary videoBond_009
2022-12-05Replace != null with is not nullBond_009
2022-12-05Replace == null with is nullBond_009
2021-12-28Use dedicated resolvers for extrascvium
2021-12-24Update StyleCopBond_009
2021-12-24Merge pull request #7029 from cvium/allocations_maybeCody Robibero
2021-12-20Use our own Contains extensioncvium
2021-12-20Fix buildcvium
2021-12-20Fix extras folderscvium
2021-12-14Reviewcvium
2021-12-13Fix usage of RegexOptions.Compiledcvium
2021-12-13Update Emby.Naming/Video/ExtraResolver.csClaus Vium
Co-authored-by: Bond-009 <bond.009@outlook.com>
2021-12-11Rename unknown parttype to "unknown"cvium
2021-12-10Remove duplicationcvium
2021-12-10Simplify StackResolvercvium
2021-12-07Refactor extras parsingcvium
2021-10-26Change ReadOnlySpan to string following PR 6383 (#6734)Claus Vium
2021-10-26Merge pull request #6383 from sushilicious/masterClaus Vium
Made default parser a tiny bit mroe robust
2021-10-05Fix issue #6123Bond_009
2021-08-13Merge branch 'master' into minor15Bond-009
2021-08-05Update Emby.Naming/Video/CleanStringParser.cs sushilicious
Cleaned up code a bit Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
2021-08-04Made CleanStringParser go through regexps only oncesushilicious
2021-08-04Merge branch 'master' of https://github.com/jellyfin/jellyfin into HEADsushilicious
2021-08-04Minor improvementsBond_009
2021-08-03Made CleanStringParser more robustsushilicious
Now it can handle [...] at beginning of string
2021-07-06Minor fixesBond_009
2021-06-19Move non-jellyfin extensions to separate projectBond_009
2021-06-12Use stackalloc in Format3DParser.Parsecvium
2021-05-28Update Emby.Naming/Video/VideoListResolver.csClaus Vium
Co-authored-by: Bond-009 <bond.009@outlook.com>
2021-05-24Remove some unnecessary allocationscvium
2021-05-19Review changescvium
2021-05-16Reduce some allocationscvium
2021-03-15revert underscore as a multiversion separatorcvium
2021-03-12Merge pull request #5417 from Bond-009/codeanalBond-009
Add code analysis attributes where appropriate
2021-03-10make the eligibility check more strict wrt. bracketscvium
2021-03-10fix multiversion eligibility check for complex folder namescvium
2021-03-09Add code analysis attributes where appropriateBond_009
2021-03-07return empty span instead of null for backwards compatcvium
2021-03-07do not throw ArgumentNullException in TryCleanStringcvium
2021-01-21100% branch coverage for Jellyfin.NamingBond_009