aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Server.Implementations/Events
diff options
context:
space:
mode:
authorShadowghost <Shadowghost@users.noreply.github.com>2023-06-10 18:06:22 +0200
committerShadowghost <Ghost_of_Stone@web.de>2023-07-07 08:50:37 +0200
commita0d13a241891bbf832cc86909f0dbe20c979be52 (patch)
tree55fb4778ca9b2549f347d8f8c1398edfb718cbfd /Jellyfin.Server.Implementations/Events
parent05d98fe24c594ae43de4cd9f54139f8b04324119 (diff)
Apply suggestions from code review
Co-authored-by: Cody Robibero <cody@robibe.ro>
Diffstat (limited to 'Jellyfin.Server.Implementations/Events')
-rw-r--r--Jellyfin.Server.Implementations/Events/Consumers/Session/PlaybackStartLogger.cs2
-rw-r--r--Jellyfin.Server.Implementations/Events/Consumers/Session/PlaybackStopLogger.cs2
2 files changed, 2 insertions, 2 deletions
diff --git a/Jellyfin.Server.Implementations/Events/Consumers/Session/PlaybackStartLogger.cs b/Jellyfin.Server.Implementations/Events/Consumers/Session/PlaybackStartLogger.cs
index 8ed76565c..27726a57a 100644
--- a/Jellyfin.Server.Implementations/Events/Consumers/Session/PlaybackStartLogger.cs
+++ b/Jellyfin.Server.Implementations/Events/Consumers/Session/PlaybackStartLogger.cs
@@ -67,7 +67,7 @@ namespace Jellyfin.Server.Implementations.Events.Consumers.Session
GetPlaybackNotificationType(eventArgs.MediaInfo.MediaType),
user.Id)
{
- ItemId = eventArgs.Item?.Id.ToString()
+ ItemId = eventArgs.Item?.Id.ToString("N", CultureInfo.InvariantCulture),
})
.ConfigureAwait(false);
}
diff --git a/Jellyfin.Server.Implementations/Events/Consumers/Session/PlaybackStopLogger.cs b/Jellyfin.Server.Implementations/Events/Consumers/Session/PlaybackStopLogger.cs
index da9c2b8a2..6b16477aa 100644
--- a/Jellyfin.Server.Implementations/Events/Consumers/Session/PlaybackStopLogger.cs
+++ b/Jellyfin.Server.Implementations/Events/Consumers/Session/PlaybackStopLogger.cs
@@ -75,7 +75,7 @@ namespace Jellyfin.Server.Implementations.Events.Consumers.Session
notificationType,
user.Id)
{
- ItemId = eventArgs.Item?.Id.ToString()
+ ItemId = eventArgs.Item?.Id.ToString("N", CultureInfo.InvariantCulture),
})
.ConfigureAwait(false);
}