浏览代码

Merge pull request #8520 from anthonylavado/add-extras

Add extras with "Other" as a label
Claus Vium 2 年之前
父节点
当前提交
97a1113223
共有 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)
             };
             };