mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-19 23:35:25 +03:00
de-normalize item by name data. create counts during library scan for fast access.
This commit is contained in:
@@ -136,6 +136,11 @@ namespace MediaBrowser.Controller.Entities
|
||||
get { return Video3DFormat.HasValue; }
|
||||
}
|
||||
|
||||
public bool IsHd
|
||||
{
|
||||
get { return MediaStreams != null && MediaStreams.Any(i => i.Type == MediaStreamType.Video && i.Width.HasValue && i.Width.Value >= 1280); }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets the type of the media.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user