support editing artist/album for music video

pull/702/head
Luke Pulverenti 12 years ago
parent 9821faf566
commit cc1f30b9ff

@ -272,6 +272,14 @@ namespace MediaBrowser.Api
musicAlbum.MusicBrainzReleaseGroupId = request.GetProviderId("MusicBrainzReleaseGroupId"); musicAlbum.MusicBrainzReleaseGroupId = request.GetProviderId("MusicBrainzReleaseGroupId");
} }
var musicVideo = item as MusicVideo;
if (musicVideo != null)
{
musicVideo.Artist = request.Artists[0];
musicVideo.Album = request.Album;
}
var series = item as Series; var series = item as Series;
if (series != null) if (series != null)
{ {

Loading…
Cancel
Save