added overview, genre, studio, tags, status, airdays, airtime to the edit metadata page
This commit is contained in:
parent
9e7f8566a6
commit
a247ef833c
|
@ -252,6 +252,10 @@ namespace MediaBrowser.Api
|
|||
item.CriticRatingSummary = request.CriticRatingSummary;
|
||||
item.IndexNumber = request.IndexNumber;
|
||||
item.ParentIndexNumber = request.ParentIndexNumber;
|
||||
item.Overview = request.Overview;
|
||||
item.Genres = request.Genres;
|
||||
item.Tags = request.Tags;
|
||||
item.Studios = request.Studios.Select(x=>x.Name).ToList();
|
||||
|
||||
item.EndDate = request.EndDate;
|
||||
item.PremiereDate = request.PremiereDate;
|
||||
|
@ -288,6 +292,13 @@ namespace MediaBrowser.Api
|
|||
song.Artist = request.Artists[0];
|
||||
}
|
||||
|
||||
var series = item as Series;
|
||||
if (series != null)
|
||||
{
|
||||
series.Status = request.Status;
|
||||
series.AirDays = request.AirDays;
|
||||
series.AirTime = request.AirTime;
|
||||
}
|
||||
return _libraryManager.UpdateItem(item, CancellationToken.None);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user