mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-11 18:20:23 +01:00
add guide optimizations
This commit is contained in:
@@ -346,7 +346,16 @@ namespace MediaBrowser.Model.Dto
|
||||
/// Gets or sets a value indicating whether this instance is folder.
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if this instance is folder; otherwise, <c>false</c>.</value>
|
||||
public bool IsFolder { get; set; }
|
||||
public bool? IsFolder { get; set; }
|
||||
|
||||
[IgnoreDataMember]
|
||||
public bool IsFolderItem
|
||||
{
|
||||
get
|
||||
{
|
||||
return IsFolder ?? false;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the parent id.
|
||||
@@ -656,7 +665,7 @@ namespace MediaBrowser.Model.Dto
|
||||
{
|
||||
get
|
||||
{
|
||||
return RunTimeTicks.HasValue || IsFolder || IsGenre || IsMusicGenre || IsArtist;
|
||||
return RunTimeTicks.HasValue || IsFolderItem || IsGenre || IsMusicGenre || IsArtist;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user