diff --git a/frontend/src/AddSeries/AddNewSeries/AddNewSeriesSearchResult.js b/frontend/src/AddSeries/AddNewSeries/AddNewSeriesSearchResult.js index 1acc8ce3b..3afb67546 100644 --- a/frontend/src/AddSeries/AddNewSeries/AddNewSeriesSearchResult.js +++ b/frontend/src/AddSeries/AddNewSeries/AddNewSeriesSearchResult.js @@ -165,6 +165,17 @@ class AddNewSeriesSearchResult extends Component { : null } + + { + status === 'upcoming' ? + : + null + }
diff --git a/frontend/src/Components/Filter/Builder/SeriesStatusFilterBuilderRowValue.js b/frontend/src/Components/Filter/Builder/SeriesStatusFilterBuilderRowValue.js index 50841a013..b52cb4899 100644 --- a/frontend/src/Components/Filter/Builder/SeriesStatusFilterBuilderRowValue.js +++ b/frontend/src/Components/Filter/Builder/SeriesStatusFilterBuilderRowValue.js @@ -1,15 +1,16 @@ import React from 'react'; import FilterBuilderRowValue from './FilterBuilderRowValue'; -const protocols = [ +const seriesStatusList = [ { id: 'continuing', name: 'Continuing' }, + { id: 'upcoming', name: 'Upcoming' }, { id: 'ended', name: 'Ended' } ]; function SeriesStatusFilterBuilderRowValue(props) { return ( ); diff --git a/frontend/src/Series/SeriesStatus.js b/frontend/src/Series/SeriesStatus.js index 2e3ad1d95..faa03ae47 100644 --- a/frontend/src/Series/SeriesStatus.js +++ b/frontend/src/Series/SeriesStatus.js @@ -21,6 +21,12 @@ export function getSeriesStatusDetails(status) { title: 'Ended', message: 'No additional episodes or or another season is expected' }; + } else if (status === 'upcoming') { + statusDetails = { + icon: icons.SERIES_CONTINUING, + title: 'Upcoming', + message: 'Series has been announced but no exact air date yet' + }; } return statusDetails; diff --git a/src/NzbDrone.Core/MetadataSource/SkyHook/SkyHookProxy.cs b/src/NzbDrone.Core/MetadataSource/SkyHook/SkyHookProxy.cs index 1084c68c6..b23b3dcd0 100644 --- a/src/NzbDrone.Core/MetadataSource/SkyHook/SkyHookProxy.cs +++ b/src/NzbDrone.Core/MetadataSource/SkyHook/SkyHookProxy.cs @@ -244,6 +244,11 @@ namespace NzbDrone.Core.MetadataSource.SkyHook return SeriesStatusType.Ended; } + if (status.Equals("upcoming", StringComparison.InvariantCultureIgnoreCase)) + { + return SeriesStatusType.Upcoming; + } + return SeriesStatusType.Continuing; }