Revert "Merge remote-tracking branch 'doctorlard/master' into develop"
This reverts commit248ae52599
, reversing changes made tofb46c41294
.
This commit is contained in:
parent
248ae52599
commit
265768ecfc
1 changed files with 5 additions and 5 deletions
|
@ -768,8 +768,7 @@ def BrowseContent(viewname, type="", folderid=""):
|
||||||
if view.get("name") == viewname.decode('utf-8'):
|
if view.get("name") == viewname.decode('utf-8'):
|
||||||
folderid = view.get("id")
|
folderid = view.get("id")
|
||||||
|
|
||||||
if viewname is not None:
|
utils.logMsg("BrowseContent","viewname: %s - type: %s - folderid: %s - filter: %s" %(viewname.decode('utf-8'), type.decode('utf-8'), folderid.decode('utf-8'), filter.decode('utf-8')))
|
||||||
utils.logMsg("BrowseContent","viewname: %s - type: %s - folderid: %s - filter: %s" %(viewname.decode('utf-8'), type.decode('utf-8'), folderid.decode('utf-8'), filter.decode('utf-8')))
|
|
||||||
#set the correct params for the content type
|
#set the correct params for the content type
|
||||||
#only proceed if we have a folderid
|
#only proceed if we have a folderid
|
||||||
if folderid:
|
if folderid:
|
||||||
|
@ -938,9 +937,10 @@ def BrowseChannels(itemid, folderid=None):
|
||||||
itemid = item['Id']
|
itemid = item['Id']
|
||||||
itemtype = item['Type']
|
itemtype = item['Type']
|
||||||
li = createListItemFromEmbyItem(item,art,doUtils)
|
li = createListItemFromEmbyItem(item,art,doUtils)
|
||||||
|
if itemtype == "ChannelFolderItem":
|
||||||
isFolder = item.get('IsFolder', False)
|
isFolder = True
|
||||||
|
else:
|
||||||
|
isFolder = False
|
||||||
channelId = item.get('ChannelId', "")
|
channelId = item.get('ChannelId', "")
|
||||||
channelName = item.get('ChannelName', "")
|
channelName = item.get('ChannelName', "")
|
||||||
if itemtype == "Channel":
|
if itemtype == "Channel":
|
||||||
|
|
Loading…
Reference in a new issue