From a77065807972844878d7816cf94d8b69da70fc82 Mon Sep 17 00:00:00 2001 From: David Newhall II Date: Tue, 11 Jun 2024 21:47:57 -0700 Subject: [PATCH 1/2] Add two missing stats, removing one fake one --- sonarr/series.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sonarr/series.go b/sonarr/series.go index 48d9eed..7327aa1 100644 --- a/sonarr/series.go +++ b/sonarr/series.go @@ -124,13 +124,14 @@ type Season struct { // Statistics is part of AddSeriesInput and Queue. type Statistics struct { - SeasonCount int `json:"seasonCount"` EpisodeFileCount int `json:"episodeFileCount"` EpisodeCount int `json:"episodeCount"` TotalEpisodeCount int `json:"totalEpisodeCount"` SizeOnDisk int64 `json:"sizeOnDisk"` PercentOfEpisodes float64 `json:"percentOfEpisodes"` PreviousAiring time.Time `json:"previousAiring"` + NextAiring time.Time `json:"nextAiring"` + ReleaseGroups []string `json:"releaseGroups"` } // GetAllSeries returns all configured series. From a6c0af49b751e7cd72a492999963173bda972872 Mon Sep 17 00:00:00 2001 From: David Newhall II Date: Tue, 11 Jun 2024 22:05:46 -0700 Subject: [PATCH 2/2] seasoncount still exists --- sonarr/series.go | 1 + 1 file changed, 1 insertion(+) diff --git a/sonarr/series.go b/sonarr/series.go index 7327aa1..d16e48d 100644 --- a/sonarr/series.go +++ b/sonarr/series.go @@ -124,6 +124,7 @@ type Season struct { // Statistics is part of AddSeriesInput and Queue. type Statistics struct { + SeasonCount int `json:"seasonCount"` EpisodeFileCount int `json:"episodeFileCount"` EpisodeCount int `json:"episodeCount"` TotalEpisodeCount int `json:"totalEpisodeCount"`