|
|
@ -180,7 +180,7 @@ class JobSonarrSync {
|
|
|
|
newSeasons.filter(
|
|
|
|
newSeasons.filter(
|
|
|
|
(s) => s[server4k ? 'status4k' : 'status'] === MediaStatus.AVAILABLE
|
|
|
|
(s) => s[server4k ? 'status4k' : 'status'] === MediaStatus.AVAILABLE
|
|
|
|
).length >=
|
|
|
|
).length >=
|
|
|
|
filteredSeasons.length;
|
|
|
|
filteredSeasons.length && filteredSeasons.length > 0;
|
|
|
|
|
|
|
|
|
|
|
|
if (media) {
|
|
|
|
if (media) {
|
|
|
|
media.seasons = [...media.seasons, ...newSeasons];
|
|
|
|
media.seasons = [...media.seasons, ...newSeasons];
|
|
|
|