diff --git a/resources/lib/entrypoint.py b/resources/lib/entrypoint.py index b565392a..d2ba1c26 100644 --- a/resources/lib/entrypoint.py +++ b/resources/lib/entrypoint.py @@ -678,10 +678,9 @@ def BrowseChannels(itemid, folderid=None): itemid = item['Id'] itemtype = item['Type'] li = createListItemFromEmbyItem(item,art,doUtils) - if itemtype == "ChannelFolderItem": - isFolder = True - else: - isFolder = False + + isFolder = item.get('IsFolder', False) + channelId = item.get('ChannelId', "") channelName = item.get('ChannelName', "") if itemtype == "Channel":