mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-20 17:14:42 +01:00
update channel db
This commit is contained in:
@@ -124,6 +124,12 @@ namespace MediaBrowser.Controller.Entities
|
||||
/// <value>The id.</value>
|
||||
public Guid Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a value indicating whether this instance is hd.
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if this instance is hd; otherwise, <c>false</c>.</value>
|
||||
public bool? IsHD { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Return the id that should be used to key display prefs for this item.
|
||||
/// Default is based on the type for everything except actual generic folders.
|
||||
@@ -166,6 +172,33 @@ namespace MediaBrowser.Controller.Entities
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Id of the program.
|
||||
/// </summary>
|
||||
[IgnoreDataMember]
|
||||
public string ExternalId
|
||||
{
|
||||
get { return this.GetProviderId("ProviderExternalId"); }
|
||||
set
|
||||
{
|
||||
this.SetProviderId("ProviderExternalId", value);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Supply the image path if it can be accessed directly from the file system
|
||||
/// </summary>
|
||||
/// <value>The image path.</value>
|
||||
[IgnoreDataMember]
|
||||
public string ExternalImagePath { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the etag.
|
||||
/// </summary>
|
||||
/// <value>The etag.</value>
|
||||
[IgnoreDataMember]
|
||||
public string ExternalEtag { get; set; }
|
||||
|
||||
[IgnoreDataMember]
|
||||
public virtual bool IsHidden
|
||||
{
|
||||
|
||||
@@ -1397,7 +1397,7 @@ namespace MediaBrowser.Controller.Entities
|
||||
var val = query.IsHD.Value;
|
||||
var video = item as Video;
|
||||
|
||||
if (video == null || val != video.IsHD)
|
||||
if (video == null || !video.IsHD.HasValue || val != video.IsHD)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -330,8 +330,6 @@ namespace MediaBrowser.Controller.Entities
|
||||
get { return Video3DFormat.HasValue; }
|
||||
}
|
||||
|
||||
public bool IsHD { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the type of the media.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user