mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-01 13:28:27 +01:00
Unwrapped GetDirectoryName and DirectorySeperatorChar
This commit is contained in:
@@ -337,7 +337,7 @@ namespace Emby.Server.Implementations.Localization
|
||||
.Where(i => i != null)
|
||||
.ToDictionary(i => i.Name, StringComparer.OrdinalIgnoreCase);
|
||||
|
||||
var countryCode = _fileSystem.GetFileNameWithoutExtension(file)
|
||||
var countryCode = Path.GetFileNameWithoutExtension(file)
|
||||
.Split('-')
|
||||
.Last();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user