diff options
| author | Claus Vium <cvium@users.noreply.github.com> | 2021-11-15 23:35:53 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-15 23:35:53 +0100 |
| commit | f638cd08ea8132457a501edd983441c8d9193909 (patch) | |
| tree | 9beccf282c4ef2a5c035266c6d8477e0c5bc8e81 /Emby.Server.Implementations/Playlists | |
| parent | 31b87130a2c817b81a72405377ed2fc3f018656b (diff) | |
| parent | 474b035d99c388e7d23280cefaa97760d4263f76 (diff) | |
Merge pull request #6852 from Bond-009/warn54
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 b07798fa40..9481e26f72 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); } |
