diff options
| author | Bond_009 <bond.009@outlook.com> | 2021-11-15 15:57:07 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2021-11-15 15:57:07 +0100 |
| commit | 474b035d99c388e7d23280cefaa97760d4263f76 (patch) | |
| tree | 2c1fbbb639e0592247c8f8b6bc21a0b6d9aec244 /Emby.Server.Implementations/Playlists | |
| parent | 9c74103fbe151cad7ec0c2ddf4061afc9378b203 (diff) | |
Fix some warnings
Diffstat (limited to 'Emby.Server.Implementations/Playlists')
| -rw-r--r-- | Emby.Server.Implementations/Playlists/PlaylistManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/Playlists/PlaylistManager.cs b/Emby.Server.Implementations/Playlists/PlaylistManager.cs index b07798fa4..9481e26f7 100644 --- a/Emby.Server.Implementations/Playlists/PlaylistManager.cs +++ b/Emby.Server.Implementations/Playlists/PlaylistManager.cs @@ -527,7 +527,7 @@ namespace Emby.Server.Implementations.Playlists var relativeUri = folderUri.MakeRelativeUri(fileAbsoluteUri); string relativePath = Uri.UnescapeDataString(relativeUri.ToString()); - if (fileAbsoluteUri.Scheme.Equals("file", StringComparison.CurrentCultureIgnoreCase)) + if (fileAbsoluteUri.Scheme.Equals("file", StringComparison.OrdinalIgnoreCase)) { relativePath = relativePath.Replace(Path.AltDirectorySeparatorChar, Path.DirectorySeparatorChar); } |
