added overview, genre, studio, tags, status, airdays, airtime to the edit metadata page

pull/702/head
Luis Miguel Almánzar 12 years ago
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…
Cancel
Save