The Free Software Media System - Server Backend & API
Remote Trailers support at episode Level
Alun Jones729d65c45e8b
diff --git a/MediaBrowser.Controller/Entities/TV/Episode.cs b/MediaBrowser.Controller/Entities/TV/Episode.csindex a4b0b3082a..7ca09d9b28 100644--- a/MediaBrowser.Controller/Entities/TV/Episode.cs+++ b/MediaBrowser.Controller/Entities/TV/Episode.cs@@ -11,13 +11,25 @@ namespace MediaBrowser.Controller.Entities.TV/// <summary>/// Class Episode/// </summary>- public class Episode : Video, IHasLookupInfo<EpisodeInfo>, IHasSeries- {- /// <summary>- /// Gets the season in which it aired.- /// </summary>- /// <value>The aired season.</value>- public int? AirsBeforeSeasonNumber { get; set; }+ public class Episode : Video, IHasTrailers, IHasLookupInfo<EpisodeInfo>, IHasSeries+ {++ public Episode()+ {+ RemoteTrailers = new List<MediaUrl>();+ LocalTrailerIds = new List<Guid>();+ RemoteTrailerIds = new List<Guid>();+ }++ public List<Guid> LocalTrailerIds { get; set; }+ public List<Guid> RemoteTrailerIds { get; set; }+ public List<MediaUrl> RemoteTrailers { get; set; }++ /// <summary>+ /// Gets the season in which it aired.+ /// </summary>+ /// <value>The aired season.</value>+ public int? AirsBeforeSeasonNumber { get; set; }public int? AirsAfterSeasonNumber { get; set; }public int? AirsBeforeEpisodeNumber { get; set; }