mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
add music artist channel folder type
This commit is contained in:
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…
x
Reference in New Issue
Block a user