浏览代码

Update ApplicationHost.cs

BaronGreenback 4 年之前
父节点
当前提交
69c4b44d24
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Emby.Server.Implementations/ApplicationHost.cs

+ 1 - 1
Emby.Server.Implementations/ApplicationHost.cs

@@ -1080,7 +1080,7 @@ namespace Emby.Server.Implementations
                     }
                     }
                     else
                     else
                     {
                     {
-                        metafile = dir.Split(new[] { Path.DirectorySeparatorChar }, StringSplitOptions.RemoveEmptyEntries)[^1];
+                        metafile = dir.Split(new[] { Path.DirectorySeparatorChar }, StringSplitOptions.RemoveEmptyEntries)[^1]);
                         // Add it under the path name and version 0.0.0.1.
                         // Add it under the path name and version 0.0.0.1.
                         versions.Add(new Version(0, 0, 0, 1), metafile, dir));
                         versions.Add(new Version(0, 0, 0, 1), metafile, dir));
                     }
                     }