瀏覽代碼

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",
                     MediaType.Video),
 
+                new ExtraRule(
+                    ExtraType.Unknown,
+                    ExtraRuleType.DirectoryName,
+                    "other",
+                    MediaType.Video),
+
                 new ExtraRule(
                     ExtraType.Trailer,
                     ExtraRuleType.Filename,
@@ -647,6 +653,12 @@ namespace Emby.Naming.Common
                     ExtraType.Unknown,
                     ExtraRuleType.Suffix,
                     "-extra",
+                    MediaType.Video),
+
+                new ExtraRule(
+                    ExtraType.Unknown,
+                    ExtraRuleType.Suffix,
+                    "-other",
                     MediaType.Video)
             };