mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-16 05:53:03 +03: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