diff --git a/MediaBrowser.Model/DTO/DTOBaseItem.cs b/MediaBrowser.Model/DTO/DTOBaseItem.cs index c729db74b..149b5ba68 100644 --- a/MediaBrowser.Model/DTO/DTOBaseItem.cs +++ b/MediaBrowser.Model/DTO/DTOBaseItem.cs @@ -1,7 +1,7 @@ -using System; -using System.Collections.Generic; -using MediaBrowser.Model.Entities; +using MediaBrowser.Model.Entities; using ProtoBuf; +using System; +using System.Collections.Generic; namespace MediaBrowser.Model.DTO { @@ -155,7 +155,13 @@ namespace MediaBrowser.Model.DTO [ProtoMember(43)] public VideoInfo VideoInfo { get; set; } - + + [ProtoMember(44)] + public VideoInfo SeriesInfo { get; set; } + + [ProtoMember(45)] + public bool IsNew { get; set; } + public bool IsType(Type type) { return IsType(type.Name); @@ -165,8 +171,5 @@ namespace MediaBrowser.Model.DTO { return Type.Equals(type, StringComparison.OrdinalIgnoreCase); } - - [ProtoMember(44)] - public bool IsNew { get; set; } } } diff --git a/MediaBrowser.Model/DTO/SeriesInfo.cs b/MediaBrowser.Model/DTO/SeriesInfo.cs new file mode 100644 index 000000000..ebb39c8c4 --- /dev/null +++ b/MediaBrowser.Model/DTO/SeriesInfo.cs @@ -0,0 +1,18 @@ +using ProtoBuf; +using System; + +namespace MediaBrowser.Model.DTO +{ + [ProtoContract] + public class SeriesInfo + { + [ProtoMember(1)] + public string Status { get; set; } + + [ProtoMember(2)] + public string AirTime { get; set; } + + [ProtoMember(3)] + public DayOfWeek[] AirDays { get; set; } + } +} diff --git a/MediaBrowser.Model/MediaBrowser.Model.csproj b/MediaBrowser.Model/MediaBrowser.Model.csproj index fc9c901be..baa04d72b 100644 --- a/MediaBrowser.Model/MediaBrowser.Model.csproj +++ b/MediaBrowser.Model/MediaBrowser.Model.csproj @@ -35,6 +35,7 @@ +