From 408a4e0a810e02098f5bf43e9d6b2202ca29732a Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Tue, 10 Feb 2015 16:46:25 -0800 Subject: [PATCH] Option to monitor no episodes on add --- src/UI/AddSeries/MonitoringTooltipTemplate.hbs | 2 ++ src/UI/AddSeries/SearchResultView.js | 4 ++++ src/UI/AddSeries/SearchResultViewTemplate.hbs | 1 + 3 files changed, 7 insertions(+) diff --git a/src/UI/AddSeries/MonitoringTooltipTemplate.hbs b/src/UI/AddSeries/MonitoringTooltipTemplate.hbs index fbdf9f6fd..d40e40188 100644 --- a/src/UI/AddSeries/MonitoringTooltipTemplate.hbs +++ b/src/UI/AddSeries/MonitoringTooltipTemplate.hbs @@ -9,6 +9,8 @@
Monitor episodes that have files or have not aired yet
First Season
Monitor all episodes of the first season. All other seasons will be ignored
+
None
+
No episodes will be monitored.
\ No newline at end of file diff --git a/src/UI/AddSeries/SearchResultView.js b/src/UI/AddSeries/SearchResultView.js index 6be0826b1..ff707ac42 100644 --- a/src/UI/AddSeries/SearchResultView.js +++ b/src/UI/AddSeries/SearchResultView.js @@ -289,6 +289,10 @@ define( options.ignoreEpisodesWithoutFiles = true; } + else if (monitor === 'none') { + this.model.setSeasonPass(lastSeason.seasonNumber + 1); + } + return options; } }); diff --git a/src/UI/AddSeries/SearchResultViewTemplate.hbs b/src/UI/AddSeries/SearchResultViewTemplate.hbs index 1edef7e6e..538484c46 100644 --- a/src/UI/AddSeries/SearchResultViewTemplate.hbs +++ b/src/UI/AddSeries/SearchResultViewTemplate.hbs @@ -43,6 +43,7 @@ +