Преглед изворни кода

Add extras with "Other" as a label

Anthony Lavado пре 2 година
родитељ
комит
2358028e3f
1 измењених фајлова са 12 додато и 0 уклоњено
  1. 12 0
      Emby.Naming/Common/NamingOptions.cs

+ 12 - 0
Emby.Naming/Common/NamingOptions.cs

@@ -529,6 +529,12 @@ namespace Emby.Naming.Common
                     "extras",
                     "extras",
                     MediaType.Video),
                     MediaType.Video),
 
 
+                new ExtraRule(
+                    ExtraType.Unknown,
+                    ExtraRuleType.DirectoryName,
+                    "other",
+                    MediaType.Video),
+
                 new ExtraRule(
                 new ExtraRule(
                     ExtraType.Trailer,
                     ExtraType.Trailer,
                     ExtraRuleType.Filename,
                     ExtraRuleType.Filename,
@@ -647,6 +653,12 @@ namespace Emby.Naming.Common
                     ExtraType.Unknown,
                     ExtraType.Unknown,
                     ExtraRuleType.Suffix,
                     ExtraRuleType.Suffix,
                     "-extra",
                     "-extra",
+                    MediaType.Video),
+
+                new ExtraRule(
+                    ExtraType.Unknown,
+                    ExtraRuleType.Suffix,
+                    "-other",
                     MediaType.Video)
                     MediaType.Video)
             };
             };