add music artist channel folder type

This commit is contained in:
Luke Pulverenti 2016-06-22 00:39:06 -04:00
parent cd15f00495
commit 7601f6660e
2 changed files with 7 additions and 1 deletions

View File

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

View File

@ -1250,6 +1250,10 @@ namespace MediaBrowser.Server.Implementations.Channels
{
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)
{
item = GetItemById<PhotoAlbum>(info.Id, channelProvider.Name, channelProvider.DataVersion, out isNew);