Update ApplicationHost.cs

This commit is contained in:
BaronGreenback 2020-09-14 20:52:18 +01:00 committed by GitHub
parent 51c416c832
commit 69c4b44d24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1080,7 +1080,7 @@ namespace Emby.Server.Implementations
}
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.
versions.Add(new Version(0, 0, 0, 1), metafile, dir));
}