mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Fixes for user views in case we decide to use them
This commit is contained in:
parent
e91d2ff2a7
commit
76691ea687
1 changed files with 6 additions and 6 deletions
|
@ -246,13 +246,13 @@ class ReadEmbyDB():
|
|||
Name = view[u'Name']
|
||||
|
||||
total = str(view[u'ChildCount'])
|
||||
type = view[u'CollectionType']
|
||||
if type == None:
|
||||
type = "None" # User may not have declared the type
|
||||
if type == type:
|
||||
itemtype = view[u'CollectionType']
|
||||
if itemtype == None:
|
||||
itemtype = "movies" # User may not have declared the type
|
||||
if itemtype == type:
|
||||
collections.append( {'title' : Name,
|
||||
'type' : type,
|
||||
'id' : view[u'Id']})
|
||||
'type' : type,
|
||||
'id' : view[u'Id']})
|
||||
return collections
|
||||
|
||||
def getBoxSets(self):
|
||||
|
|
Loading…
Reference in a new issue