diff options
| author | Bond-009 <bond.009@outlook.com> | 2021-03-14 19:08:50 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-14 19:08:50 +0100 |
| commit | f2125da9f942e3972ce932bb20f6e83c2ece1e23 (patch) | |
| tree | 328459396c783e8c61214c8d960d8ba07b5773f6 /Jellyfin.Server.Implementations/Events | |
| parent | 109f24514fac52c8f138c4913d7ef614ff1973a1 (diff) | |
| parent | e5380c653b0584a3b5d61da1a9b005d6155694cb (diff) | |
Merge pull request #5395 from barronpm/ef-cleanup
Diffstat (limited to 'Jellyfin.Server.Implementations/Events')
| -rw-r--r-- | Jellyfin.Server.Implementations/Events/Consumers/Session/PlaybackStartLogger.cs | 4 |
1 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 0340248bb..aa6015caa 100644 --- a/Jellyfin.Server.Implementations/Events/Consumers/Session/PlaybackStartLogger.cs +++ b/Jellyfin.Server.Implementations/Events/Consumers/Session/PlaybackStartLogger.cs @@ -86,7 +86,7 @@ namespace Jellyfin.Server.Implementations.Events.Consumers.Session return name; } - private static string? GetPlaybackNotificationType(string mediaType) + private static string GetPlaybackNotificationType(string mediaType) { if (string.Equals(mediaType, MediaType.Audio, StringComparison.OrdinalIgnoreCase)) { @@ -98,7 +98,7 @@ namespace Jellyfin.Server.Implementations.Events.Consumers.Session return NotificationType.VideoPlayback.ToString(); } - return null; + return "Playback"; } } } |
