diff --git a/src/NzbDrone.Api/NzbDrone.Api.csproj b/src/NzbDrone.Api/NzbDrone.Api.csproj index 2207dafe2..75878901e 100644 --- a/src/NzbDrone.Api/NzbDrone.Api.csproj +++ b/src/NzbDrone.Api/NzbDrone.Api.csproj @@ -166,6 +166,7 @@ + diff --git a/src/NzbDrone.Api/Series/SeasonResource.cs b/src/NzbDrone.Api/Series/SeasonResource.cs new file mode 100644 index 000000000..2d68fdee4 --- /dev/null +++ b/src/NzbDrone.Api/Series/SeasonResource.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace NzbDrone.Api.Series +{ + public class SeasonResource + { + public int SeasonNumber { get; set; } + public Boolean Monitored { get; set; } + } +} diff --git a/src/NzbDrone.Api/Series/SeriesResource.cs b/src/NzbDrone.Api/Series/SeriesResource.cs index cfcfe5726..b6b980b03 100644 --- a/src/NzbDrone.Api/Series/SeriesResource.cs +++ b/src/NzbDrone.Api/Series/SeriesResource.cs @@ -1,6 +1,7 @@ using System; using System.Collections.Generic; using System.Linq; +using Newtonsoft.Json; using NzbDrone.Api.REST; using NzbDrone.Core.MediaCover; using NzbDrone.Core.Tv; @@ -40,7 +41,7 @@ public Int32 SeasonCount public List Images { get; set; } public String RemotePoster { get; set; } - public List Seasons { get; set; } + public List Seasons { get; set; } public Int32 Year { get; set; } //View & Edit