add music artist channel folder type

pull/702/head
Luke Pulverenti 8 years ago
parent cd15f00495
commit 7601f6660e

@ -6,6 +6,8 @@ namespace MediaBrowser.Model.Channels
MusicAlbum = 1, MusicAlbum = 1,
PhotoAlbum = 2 PhotoAlbum = 2,
MusicArtist = 3
} }
} }

@ -1250,6 +1250,10 @@ namespace MediaBrowser.Server.Implementations.Channels
{ {
item = GetItemById<MusicAlbum>(info.Id, channelProvider.Name, channelProvider.DataVersion, out isNew); item = GetItemById<MusicAlbum>(info.Id, channelProvider.Name, channelProvider.DataVersion, out isNew);
} }
else if (info.FolderType == ChannelFolderType.MusicArtist)
{
item = GetItemById<MusicArtist>(info.Id, channelProvider.Name, channelProvider.DataVersion, out isNew);
}
else if (info.FolderType == ChannelFolderType.PhotoAlbum) else if (info.FolderType == ChannelFolderType.PhotoAlbum)
{ {
item = GetItemById<PhotoAlbum>(info.Id, channelProvider.Name, channelProvider.DataVersion, out isNew); item = GetItemById<PhotoAlbum>(info.Id, channelProvider.Name, channelProvider.DataVersion, out isNew);

Loading…
Cancel
Save