mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-24 09:46:11 +00:00
Use IsFolder key for channels
This commit is contained in:
parent
0afd338cc7
commit
c1abe5d004
1 changed files with 3 additions and 4 deletions
|
@ -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":
|
||||
|
|
Loading…
Reference in a new issue