Update Emby.Server.Implementations/ApplicationHost.cs

Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
BaronGreenback 2020-09-14 18:44:29 +01:00 committed by GitHub
parent f80e181eda
commit e88d3ba8c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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