I have started looking at Emby's plugin API. I have two Plex Plugins I would like to convert for Emby. They are both channel plugins.
I was trying out the Channel plugin API and saw the ChannelFolderType option. However, as I found out it does not have an effect. After searching through the source code and running it under a debugger, I found the following line, that prevents this from working: https://github.com/M....cs#L2047-L2055
Is there a reason, the line about ChannelFolderItem couldn't be removed? Or return the normal type, when e.g. another option on the ChannelItemInfo is set?
I have tried removing the check for the channel, and it seems to work fine and display the series as it normally would with a real series.
I think allowing ChannelFolderType to work correctly, would greatly improve the channel plugins.