diff --git a/Jellyfin.Plugin.Webhook/Helpers/DataObjectHelpers.cs b/Jellyfin.Plugin.Webhook/Helpers/DataObjectHelpers.cs index 57c3e5b..9fca255 100644 --- a/Jellyfin.Plugin.Webhook/Helpers/DataObjectHelpers.cs +++ b/Jellyfin.Plugin.Webhook/Helpers/DataObjectHelpers.cs @@ -273,6 +273,11 @@ public static Dictionary AddPlaybackProgressData(this Dictionary dataObject[nameof(playbackProgressEventArgs.DeviceName)] = playbackProgressEventArgs.DeviceName; dataObject[nameof(playbackProgressEventArgs.ClientName)] = playbackProgressEventArgs.ClientName; + if (playbackProgressEventArgs.Session is not null && playbackProgressEventArgs.Session.PlayState?.PlayMethod is not null) + { + dataObject["PlayMethod"] = playbackProgressEventArgs.Session.PlayState.PlayMethod; + } + return dataObject; }