From 263500da34dd1059fcc4a813e26061a5fae3577c Mon Sep 17 00:00:00 2001 From: xnappo Date: Sun, 22 Mar 2015 16:48:17 -0500 Subject: [PATCH] Don't include collections in tags --- resources/lib/ReadEmbyDB.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/resources/lib/ReadEmbyDB.py b/resources/lib/ReadEmbyDB.py index ae73615c..74b65216 100644 --- a/resources/lib/ReadEmbyDB.py +++ b/resources/lib/ReadEmbyDB.py @@ -228,11 +228,10 @@ class ReadEmbyDB(): type = item.get("CollectionType") if type == None: 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"), 'type' : type, 'id' : item.get("Id")}) - print "paco!" + str (collections) return collections def getViewCollections(self, type):