mirror of
https://github.com/jellyfin/jellyfin-plugin-webhook.git
synced 2025-02-17 05:27:38 +00:00
support for SeasonId (#190)
This commit is contained in:
parent
a10d90e527
commit
47aa78b057
@ -93,6 +93,11 @@ public static class DataObjectHelpers
|
||||
dataObject["SeriesName"] = episode.Series.Name.Escape();
|
||||
}
|
||||
|
||||
if (!episode.SeasonId.Equals(default))
|
||||
{
|
||||
dataObject["SeasonId"] = episode.SeasonId;
|
||||
}
|
||||
|
||||
if (episode.Season?.IndexNumber is not null)
|
||||
{
|
||||
dataObject["SeasonNumber"] = episode.Season.IndexNumber;
|
||||
|
Loading…
x
Reference in New Issue
Block a user