mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-04 21:32:53 +01:00
Added support for more Audio fields
This commit is contained in:
parent
e0acb3a74b
commit
fd2ead1aff
@@ -40,6 +40,7 @@ namespace MediaBrowser.Api
|
||||
dto.IsNew = item.IsRecentlyAdded(user);
|
||||
dto.IndexNumber = item.IndexNumber;
|
||||
dto.IsFolder = item.IsFolder;
|
||||
dto.Language = item.Language;
|
||||
dto.LocalTrailerCount = item.LocalTrailers == null ? 0 : item.LocalTrailers.Count();
|
||||
dto.Name = item.Name;
|
||||
dto.OfficialRating = item.OfficialRating;
|
||||
@@ -58,6 +59,8 @@ namespace MediaBrowser.Api
|
||||
dto.ParentId = item.Parent.Id;
|
||||
}
|
||||
|
||||
dto.ParentIndexNumber = item.ParentIndexNumber;
|
||||
|
||||
// If there is no logo, indicate what parent has one in case the UI wants to allow inheritance
|
||||
if (!dto.HasLogo)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user