diff options
| author | Bond-009 <bond.009@outlook.com> | 2019-02-28 23:22:57 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2019-08-09 23:17:54 +0200 |
| commit | 6032f31aa660e3b0fe1936217109f9fb47853ba3 (patch) | |
| tree | 2c1858fa4465714094d86457ca093294c9f097d2 /MediaBrowser.Providers/Subtitles/SubtitleManager.cs | |
| parent | 779f0c637f4c280561029535a5b2160f34813b53 (diff) | |
Use CultureInvariant string conversion for Guids
Diffstat (limited to 'MediaBrowser.Providers/Subtitles/SubtitleManager.cs')
| -rw-r--r-- | MediaBrowser.Providers/Subtitles/SubtitleManager.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/MediaBrowser.Providers/Subtitles/SubtitleManager.cs b/MediaBrowser.Providers/Subtitles/SubtitleManager.cs index 7fc6909f5..b4a4c36e5 100644 --- a/MediaBrowser.Providers/Subtitles/SubtitleManager.cs +++ b/MediaBrowser.Providers/Subtitles/SubtitleManager.cs @@ -1,12 +1,11 @@ using System; using System.Collections.Generic; +using System.Globalization; using System.IO; using System.Linq; using System.Threading; using System.Threading.Tasks; -using MediaBrowser.Common.Configuration; using MediaBrowser.Common.Extensions; -using MediaBrowser.Controller.Configuration; using MediaBrowser.Controller.Entities; using MediaBrowser.Controller.Entities.Movies; using MediaBrowser.Controller.Entities.TV; @@ -296,7 +295,7 @@ namespace MediaBrowser.Providers.Subtitles private string GetProviderId(string name) { - return name.ToLowerInvariant().GetMD5().ToString("N"); + return name.ToLowerInvariant().GetMD5().ToString("N", CultureInfo.InvariantCulture); } private ISubtitleProvider GetProvider(string id) |
