mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-21 17:44:43 +01:00
add hevc cuvid
This commit is contained in:
@@ -1058,18 +1058,8 @@ namespace Emby.Server.Implementations.Dto
|
||||
dto.CommunityRating = item.CommunityRating;
|
||||
}
|
||||
|
||||
//if (item.IsFolder)
|
||||
//{
|
||||
// var folder = (Folder)item;
|
||||
|
||||
// if (fields.Contains(ItemFields.IndexOptions))
|
||||
// {
|
||||
// dto.IndexOptions = folder.IndexByOptionStrings.ToArray();
|
||||
// }
|
||||
//}
|
||||
|
||||
var supportsPlaceHolders = item as ISupportsPlaceHolders;
|
||||
if (supportsPlaceHolders != null)
|
||||
if (supportsPlaceHolders != null && supportsPlaceHolders.IsPlaceHolder)
|
||||
{
|
||||
dto.IsPlaceHolder = supportsPlaceHolders.IsPlaceHolder;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user