diff options
| author | Joshua M. Boniface <joshua@boniface.me> | 2019-08-09 22:33:18 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-09 22:33:18 -0400 |
| commit | f8ad6655fbf2909bd3368ceac4b7947bea41b009 (patch) | |
| tree | 28b97a41062a51b9c626ab5a8e1fe3e0a687ad97 /Emby.Server.Implementations/Activity/ActivityLogEntryPoint.cs | |
| parent | aafa11b48b8c86d5404d8c55c2fe46c1e5f29be6 (diff) | |
| parent | 9b2cf8501f082905b9b7b7b914dd42bba9d9e96d (diff) | |
Merge pull request #1023 from Bond-009/cultinvar
Use CultureInvariant string conversion for Guids
Diffstat (limited to 'Emby.Server.Implementations/Activity/ActivityLogEntryPoint.cs')
| -rw-r--r-- | Emby.Server.Implementations/Activity/ActivityLogEntryPoint.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/Activity/ActivityLogEntryPoint.cs b/Emby.Server.Implementations/Activity/ActivityLogEntryPoint.cs index 0530a251c..3e44c9c0a 100644 --- a/Emby.Server.Implementations/Activity/ActivityLogEntryPoint.cs +++ b/Emby.Server.Implementations/Activity/ActivityLogEntryPoint.cs @@ -1,5 +1,6 @@ using System; using System.Collections.Generic; +using System.Globalization; using System.Linq; using System.Text; using System.Threading.Tasks; @@ -75,7 +76,6 @@ namespace Emby.Server.Implementations.Activity _sessionManager.AuthenticationFailed += OnAuthenticationFailed; _sessionManager.AuthenticationSucceeded += OnAuthenticationSucceeded; _sessionManager.SessionEnded += OnSessionEnded; - _sessionManager.PlaybackStart += OnPlaybackStart; _sessionManager.PlaybackStopped += OnPlaybackStopped; @@ -117,7 +117,7 @@ namespace Emby.Server.Implementations.Activity { Name = string.Format(_localization.GetLocalizedString("SubtitleDownloadFailureFromForItem"), e.Provider, Notifications.Notifications.GetItemName(e.Item)), Type = "SubtitleDownloadFailure", - ItemId = e.Item.Id.ToString("N"), + ItemId = e.Item.Id.ToString("N", CultureInfo.InvariantCulture), ShortOverview = e.Exception.Message }); } |
