From 4164bf9ca6b38dd7f634c8385f65e95b235350a5 Mon Sep 17 00:00:00 2001 From: desileR <39315068+zeroquinc@users.noreply.github.com> Date: Tue, 26 Sep 2023 04:19:53 +0200 Subject: [PATCH] Add support for AirTime, PremiereDate and Genres --- .../Helpers/DataObjectHelpers.cs | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/Jellyfin.Plugin.Webhook/Helpers/DataObjectHelpers.cs b/Jellyfin.Plugin.Webhook/Helpers/DataObjectHelpers.cs index 241d63b..f2aeedd 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: @@ -79,6 +84,11 @@ public static Dictionary AddBaseItemData(this Dictionary AddBaseItemData(this Dictionary AddBaseItemData(this Dictionary