diff --git a/Jellyfin.Plugin.Webhook/Helpers/DataObjectHelpers.cs b/Jellyfin.Plugin.Webhook/Helpers/DataObjectHelpers.cs index 241d63b..580b81b 100644 --- a/Jellyfin.Plugin.Webhook/Helpers/DataObjectHelpers.cs +++ b/Jellyfin.Plugin.Webhook/Helpers/DataObjectHelpers.cs @@ -66,6 +66,11 @@ public static Dictionary AddBaseItemData(this Dictionary 0) + { + dataObject["Genres"] = string.Join(", ", item.Genres); + } + switch (item) { case Season season: @@ -98,6 +103,11 @@ public static Dictionary AddBaseItemData(this Dictionary AddBaseItemData(this Dictionary AddUserItemData(this DictionaryEscaped string. private static string Escape(this string? input) => input?.Replace("\"", "\\\"", StringComparison.Ordinal) ?? string.Empty; -} +} \ No newline at end of file