mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-03-06 10:16:18 +00:00
add music artist channel folder type
This commit is contained in:
@@ -6,6 +6,8 @@ namespace MediaBrowser.Model.Channels
|
||||
|
||||
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);
|
||||
}
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user