Update Emby.Server.Implementations/ApplicationHost.cs

Co-authored-by: h1dden-da3m0n <33120068+h1dden-da3m0n@users.noreply.github.com>
pull/3401/head
BaronGreenback 4 years ago committed by GitHub
parent 02951bb8ce
commit 5baf87663f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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);
} }

Loading…
Cancel
Save