Ignore empty Plex Collections

- Fixes #184
This commit is contained in:
tomkat83 2017-01-24 20:55:01 +01:00
parent 307e8e5b61
commit d9b83065e3

View file

@ -1291,7 +1291,8 @@ class API():
collections = []
for child in self.item:
if child.tag == 'Collection':
collections.append(child.attrib['tag'])
if child.attrib['tag']:
collections.append(child.attrib['tag'])
return collections
def getPeople(self):