mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-10-29 21:17:26 +00:00
Update Emby.Server.Implementations/ApplicationHost.cs
Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
parent
d27d2a8990
commit
f80e181eda
1 changed files with 1 additions and 1 deletions
|
|
@ -1080,7 +1080,7 @@ namespace Emby.Server.Implementations
|
|||
}
|
||||
else
|
||||
{
|
||||
metafile = dir.Split(new char[] { Path.DirectorySeparatorChar }, StringSplitOptions.RemoveEmptyEntries).Last();
|
||||
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));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue