Fixed problem where albums with secondary types still got added

This commit is contained in:
Jens Rogier
2014-04-14 21:28:06 +02:00
parent d6cd9cd7e4
commit aa9d669a2b

View File

@@ -200,7 +200,7 @@ def getArtist(artistid, extrasonly=False):
if not extrasonly:
for rg in artist['release-group-list']:
if rg['type'] != 'Album': #only add releases without a secondary type
if "secondary-type-list" in rg.keys(): #only add releases without a secondary type
continue
releasegroups.append({
'title': unicode(rg['title']),