Don't include collections in tags
This commit is contained in:
parent
a3b42a0447
commit
263500da34
1 changed files with 1 additions and 2 deletions
|
@ -228,11 +228,10 @@ class ReadEmbyDB():
|
||||||
type = item.get("CollectionType")
|
type = item.get("CollectionType")
|
||||||
if type == None:
|
if type == None:
|
||||||
type = "None" # User may not have declared the type
|
type = "None" # User may not have declared the type
|
||||||
if type == type:
|
if type == type and item.get("Name") != "Collections":
|
||||||
collections.append( {'title' : item.get("Name"),
|
collections.append( {'title' : item.get("Name"),
|
||||||
'type' : type,
|
'type' : type,
|
||||||
'id' : item.get("Id")})
|
'id' : item.get("Id")})
|
||||||
print "paco!" + str (collections)
|
|
||||||
return collections
|
return collections
|
||||||
|
|
||||||
def getViewCollections(self, type):
|
def getViewCollections(self, type):
|
||||||
|
|
Loading…
Reference in a new issue