mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-21 22:04:31 -04:00
Initial Commit Rework
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
import getMonitoringOptions from 'Utilities/Series/getMonitoringOptions';
|
||||
|
||||
function getNewSeries(series, payload) {
|
||||
const {
|
||||
rootFolderPath,
|
||||
monitor,
|
||||
qualityProfileId,
|
||||
languageProfileId,
|
||||
seriesType,
|
||||
albumFolder,
|
||||
tags,
|
||||
searchForMissingEpisodes = false
|
||||
} = payload;
|
||||
|
||||
//const {
|
||||
//seasons,
|
||||
//options: addOptions
|
||||
//} = getMonitoringOptions(series.seasons, monitor);
|
||||
|
||||
//addOptions.searchForMissingEpisodes = searchForMissingEpisodes;
|
||||
//series.addOptions = addOptions;
|
||||
//series.seasons = seasons;
|
||||
series.monitored = true;
|
||||
series.qualityProfileId = qualityProfileId;
|
||||
series.languageProfileId = languageProfileId;
|
||||
series.rootFolderPath = rootFolderPath;
|
||||
//series.seriesType = seriesType;
|
||||
series.albumFolder = albumFolder;
|
||||
series.tags = tags;
|
||||
|
||||
return series;
|
||||
}
|
||||
|
||||
export default getNewSeries;
|
||||
Reference in New Issue
Block a user