mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 03:03:40 +01:00
added new properties and endpoints for series special features
This commit is contained in:
@@ -108,7 +108,7 @@ namespace MediaBrowser.Controller.Dto
|
||||
.Select(i => i.ToString("N"))
|
||||
.ToArray();
|
||||
}
|
||||
|
||||
|
||||
// Make sure all the tasks we kicked off have completed.
|
||||
if (tasks.Count > 0)
|
||||
{
|
||||
@@ -532,6 +532,10 @@ namespace MediaBrowser.Controller.Dto
|
||||
dto.AirDays = series.AirDays;
|
||||
dto.AirTime = series.AirTime;
|
||||
dto.Status = series.Status;
|
||||
|
||||
dto.SpecialFeatureCount = series.SpecialFeatureIds.Count;
|
||||
|
||||
dto.SeasonCount = series.SeasonCount;
|
||||
}
|
||||
|
||||
if (episode != null)
|
||||
@@ -579,7 +583,7 @@ namespace MediaBrowser.Controller.Dto
|
||||
{
|
||||
dto.SeriesName = item.SeriesName;
|
||||
}
|
||||
|
||||
|
||||
private void SetMusicVideoProperties(BaseItemDto dto, MusicVideo item)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(item.Album))
|
||||
|
||||
Reference in New Issue
Block a user