mirror of
https://github.com/sct/overseerr.git
synced 2025-09-17 17:24:35 +02:00
fix(sonarr.ts, mediarequest.ts): add missing seasonFolder option (#358)
This commit is contained in:
@@ -76,6 +76,7 @@ interface AddSeriesOptions {
|
|||||||
title: string;
|
title: string;
|
||||||
profileId: number;
|
profileId: number;
|
||||||
seasons: number[];
|
seasons: number[];
|
||||||
|
seasonFolder: boolean;
|
||||||
rootFolderPath: string;
|
rootFolderPath: string;
|
||||||
monitored?: boolean;
|
monitored?: boolean;
|
||||||
searchNow?: boolean;
|
searchNow?: boolean;
|
||||||
@@ -149,6 +150,7 @@ class SonarrAPI {
|
|||||||
monitored: false,
|
monitored: false,
|
||||||
}))
|
}))
|
||||||
),
|
),
|
||||||
|
seasonFolder: options.seasonFolder,
|
||||||
monitored: options.monitored,
|
monitored: options.monitored,
|
||||||
rootFolderPath: options.rootFolderPath,
|
rootFolderPath: options.rootFolderPath,
|
||||||
addOptions: {
|
addOptions: {
|
||||||
|
@@ -335,6 +335,7 @@ export class MediaRequest {
|
|||||||
title: series.name,
|
title: series.name,
|
||||||
tvdbid: series.external_ids.tvdb_id,
|
tvdbid: series.external_ids.tvdb_id,
|
||||||
seasons: this.seasons.map((season) => season.seasonNumber),
|
seasons: this.seasons.map((season) => season.seasonNumber),
|
||||||
|
seasonFolder: sonarrSettings.enableSeasonFolders,
|
||||||
monitored: true,
|
monitored: true,
|
||||||
searchNow: true,
|
searchNow: true,
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user