fix(sonarr.ts, mediarequest.ts): add missing seasonFolder option (#358)

pull/359/head
ecelebi29 4 years ago committed by GitHub
parent ad18a40969
commit e9c899ce41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -76,6 +76,7 @@ interface AddSeriesOptions {
title: string;
profileId: number;
seasons: number[];
seasonFolder: boolean;
rootFolderPath: string;
monitored?: boolean;
searchNow?: boolean;
@ -149,6 +150,7 @@ class SonarrAPI {
monitored: false,
}))
),
seasonFolder: options.seasonFolder,
monitored: options.monitored,
rootFolderPath: options.rootFolderPath,
addOptions: {

@ -335,6 +335,7 @@ export class MediaRequest {
title: series.name,
tvdbid: series.external_ids.tvdb_id,
seasons: this.seasons.map((season) => season.seasonNumber),
seasonFolder: sonarrSettings.enableSeasonFolders,
monitored: true,
searchNow: true,
});

Loading…
Cancel
Save