aboutsummaryrefslogtreecommitdiff
path: root/Emby.Naming
AgeCommit message (Collapse)Author
2025-05-02Update NamingOptions.cs to include "part" (#14022)harry-hart
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-27Add eac3 as audio name format (#13784)theguymadmax
2025-03-23Rework season folder parsing (#11748)Tim Eisele
2025-01-28Fix spelling (#13444)Josh Soref
* spelling: anamorphic Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: associated Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: channelinfo Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: eagerly Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: enumerable Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: greater than/less than Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: greater Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: lineup Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: logs out Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: names Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: paging Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: playlist Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: sanitized Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: saving Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --------- Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2024-11-16Update projects to .NET 9 (#13023)Bond-009
2024-11-03Merge pull request #12778 from TonyBotongChu/anime-parseBond-009
Add EpisodeExpression for anime file names
2024-10-26Bump version to 10.11.0Jellyfin Release Bot
2024-10-12Use [0-9] instead of \dTonyB
2024-10-12Add EpisodeExpression for anime file namesTonyB
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-25Backport pull request #11808 from jellyfin/release-10.9.zShadowghost
Add Canceled to ended state Original-merge: 4a54e5ddebdb01d34902c78253f7232ab7391d8d Merged-by: crobibero <cody@robibe.ro> 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>
2024-05-11Bump version to 10.10.0Jellyfin Release Bot
2024-03-30Support "extra" folder for extras content (#11249)Niels van Velzen
2024-02-26Store lyrics in the database as media streams (#9951)Cody Robibero
2023-11-16Update depsBond_009
* Removes SourceLink as it should work automagically with .NET 8
2023-11-14Update to .NET 8Bond_009
2023-11-05Add IDisposableAnalyzers to more projectsBond_009
2023-10-12Merge branch 'master' into fix-resharper-warningsStepan Goremykin
# Conflicts: # Emby.Server.Implementations/Net/SocketFactory.cs # RSSDP/SsdpCommunicationsServer.cs # RSSDP/SsdpDeviceLocator.cs # RSSDP/SsdpDevicePublisher.cs
2023-10-08Reduce string literal length by using verbatim stringStepan Goremykin
2023-10-08Remove redundant verbatim string prefixesStepan Goremykin
2023-10-06Reduce string allocationsBond_009
Some simple changes to reduce the number of allocated strings
2023-08-07cleaner regex formattingscatter-dev
2023-07-28added test case, fixed regexesscatter-dev
2023-07-28add parsing for date with spaces, fix for underscoresscatter-dev
2023-06-28Fix clean regexBond-009
2023-06-28Use RegexGenerator where possibleBond_009
2023-03-27Don't add .spc audio files (#9034)Bond_009
2023-03-20Merge pull request #9403 from SenorSmartyPants/ExtraCleanAndNFOCody Robibero
Co-authored-by: Cody Robibero <cody@robibe.ro>
2023-03-15removed unnecessary file stacking rulemammo0
This rule did not check for a parttype. According to the documantation (https://jellyfin.org/docs/general/server/media/shows/#episodes-split-across-multiple-parts) there should be one.
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-03-01Allocate less ListsBond_009
2023-02-20Improve alternate ordering (#9336)Bond-009
2023-02-20Merge pull request #9356 from Bond-009/tryparseBond-009
2023-02-19Optimize tryparseBond_009
* Don't check for null before * Don't try different formats when not needed (NumberFormat.Integer is the fast path)
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-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>
2022-12-30Add support for .sup subtitle (#8808)Cody Robibero
Fixes https://github.com/jellyfin/jellyfin/issues/8628
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