Add Series and Season channel folder types
This commit is contained in:
parent
cffc9417c7
commit
02bba9984f
|
@ -8,6 +8,10 @@ namespace MediaBrowser.Model.Channels
|
|||
|
||||
PhotoAlbum = 2,
|
||||
|
||||
MusicArtist = 3
|
||||
MusicArtist = 3,
|
||||
|
||||
Series = 4,
|
||||
|
||||
Season = 5
|
||||
}
|
||||
}
|
|
@ -1258,6 +1258,14 @@ namespace MediaBrowser.Server.Implementations.Channels
|
|||
{
|
||||
item = GetItemById<PhotoAlbum>(info.Id, channelProvider.Name, channelProvider.DataVersion, out isNew);
|
||||
}
|
||||
else if (info.FolderType == ChannelFolderType.Series)
|
||||
{
|
||||
item = GetItemById<Series>(info.Id, channelProvider.Name, channelProvider.DataVersion, out isNew);
|
||||
}
|
||||
else if (info.FolderType == ChannelFolderType.Season)
|
||||
{
|
||||
item = GetItemById<Season>(info.Id, channelProvider.Name, channelProvider.DataVersion, out isNew);
|
||||
}
|
||||
else
|
||||
{
|
||||
item = GetItemById<Folder>(info.Id, channelProvider.Name, channelProvider.DataVersion, out isNew);
|
||||
|
|
Loading…
Reference in New Issue
Block a user