diff options
| author | Sven Cazier <sven.cazier@vdabcampus.be> | 2025-07-26 23:24:58 +0200 |
|---|---|---|
| committer | Sven Cazier <sven.cazier@vdabcampus.be> | 2025-07-26 23:24:58 +0200 |
| commit | 7785b51f572cf48a62dfc2ee60fc1db0ccedf1a2 (patch) | |
| tree | 68cfb8ae8deb259a6901a749ca2de3df00ecf5fa /Emby.Naming/Common/NamingOptions.cs | |
| parent | a068f756233e1750a0dfc0b248ed4c1963860c67 (diff) | |
Enhance extra rules for video and audio file naming; update tests for new naming conventions
Diffstat (limited to 'Emby.Naming/Common/NamingOptions.cs')
| -rw-r--r-- | Emby.Naming/Common/NamingOptions.cs | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/Emby.Naming/Common/NamingOptions.cs b/Emby.Naming/Common/NamingOptions.cs index 192235bae..1c518f0cc 100644 --- a/Emby.Naming/Common/NamingOptions.cs +++ b/Emby.Naming/Common/NamingOptions.cs @@ -573,6 +573,18 @@ namespace Emby.Naming.Common MediaType.Video), new ExtraRule( + ExtraType.Sample, + ExtraRuleType.Filename, + "sample", + MediaType.Video), + + new ExtraRule( + ExtraType.ThemeSong, + ExtraRuleType.Filename, + "theme", + MediaType.Audio), + + new ExtraRule( ExtraType.Trailer, ExtraRuleType.Suffix, "-trailer", @@ -593,13 +605,7 @@ namespace Emby.Naming.Common new ExtraRule( ExtraType.Trailer, ExtraRuleType.Suffix, - " trailer", - MediaType.Video), - - new ExtraRule( - ExtraType.Sample, - ExtraRuleType.Filename, - "sample", + "- trailer", MediaType.Video), new ExtraRule( @@ -623,16 +629,10 @@ namespace Emby.Naming.Common new ExtraRule( ExtraType.Sample, ExtraRuleType.Suffix, - " sample", + "- sample", MediaType.Video), new ExtraRule( - ExtraType.ThemeSong, - ExtraRuleType.Filename, - "theme", - MediaType.Audio), - - new ExtraRule( ExtraType.Scene, ExtraRuleType.Suffix, "-scene", |
