From 21b90d10ba437b496488b1f5a8c6361b24857483 Mon Sep 17 00:00:00 2001 From: desileR <39315068+zeroquinc@users.noreply.github.com> Date: Wed, 27 Sep 2023 04:35:59 +0200 Subject: [PATCH] Support for more variables Support for `AirTime`, `EpisodePremiereDate`, `SeriesPremiereDate` and `Genres` --- .../Helpers/DataObjectHelpers.cs | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/Jellyfin.Plugin.Webhook/Helpers/DataObjectHelpers.cs b/Jellyfin.Plugin.Webhook/Helpers/DataObjectHelpers.cs index 8f1aeea..580b81b 100644 --- a/Jellyfin.Plugin.Webhook/Helpers/DataObjectHelpers.cs +++ b/Jellyfin.Plugin.Webhook/Helpers/DataObjectHelpers.cs @@ -103,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