fixed album save

pull/702/head
Luke Pulverenti 12 years ago
parent 08bef57221
commit 673bc9d31b

@ -4,6 +4,7 @@ using MediaBrowser.Controller.Entities.Audio;
using MediaBrowser.Controller.Entities.TV;
using MediaBrowser.Controller.Library;
using MediaBrowser.Model.Dto;
using MediaBrowser.Model.Entities;
using ServiceStack.ServiceHost;
using System;
using System.Linq;
@ -239,7 +240,7 @@ namespace MediaBrowser.Api
if (musicAlbum != null)
{
musicAlbum.MusicBrainzReleaseGroupId = request.ProviderIds["MusicBrainzReleaseGroupId"];
musicAlbum.MusicBrainzReleaseGroupId = request.GetProviderId("MusicBrainzReleaseGroupId");
}
var series = item as Series;

@ -677,11 +677,6 @@ namespace MediaBrowser.Controller.Dto
/// <returns>Task.</returns>
private async Task AttachStudios(BaseItemDto dto, BaseItem item)
{
if (item.Studios == null)
{
return;
}
var studios = item.Studios.ToList();
dto.Studios = new StudioDto[studios.Count];

Loading…
Cancel
Save