mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-30 05:46:30 +01:00
fixes #299 - Add trailer urls to MovieDbProvider
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user