fixes #299 - Add trailer urls to MovieDbProvider

This commit is contained in:
Luke Pulverenti
2013-06-27 12:36:41 -04:00
parent c70f1047f7
commit 5782d9084d
9 changed files with 62 additions and 25 deletions

View File

@@ -160,7 +160,7 @@ namespace MediaBrowser.Model.Dto
/// Gets or sets the trailer urls.
/// </summary>
/// <value>The trailer urls.</value>
public List<string> TrailerUrls { get; set; }
public List<MediaUrl> RemoteTrailers { get; set; }
/// <summary>
/// Gets or sets the provider ids.
@@ -614,16 +614,6 @@ namespace MediaBrowser.Model.Dto
get { return ImageTags != null && ImageTags.ContainsKey(ImageType.Menu); }
}
/// <summary>
/// Gets a value indicating whether this instance is video.
/// </summary>
/// <value><c>true</c> if this instance is video; otherwise, <c>false</c>.</value>
[IgnoreDataMember]
public bool HasTrailer
{
get { return LocalTrailerCount > 0 || (TrailerUrls != null && TrailerUrls.Count > 0); }
}
/// <summary>
/// Gets a value indicating whether this instance is video.
/// </summary>