mirror of
https://github.com/rembo10/headphones.git
synced 2026-07-20 07:54:01 +01:00
Merge pull request #656 from doskir/master
Bug fixed, database still bad
This commit is contained in:
@@ -281,6 +281,13 @@ def getReleaseGroup(rgid):
|
|||||||
if not releaseResult:
|
if not releaseResult:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
#skip releases that do not have any release date associated with them
|
||||||
|
#if we don't do this the albums will get the release date "None" and will
|
||||||
|
#automatically be set to wanted if "Automatically Mark Upcoming Albums as Wanted" is set
|
||||||
|
#because None is not a valid date and will never be in the past so it is always upcoming
|
||||||
|
if 'date' not in releaseResult:
|
||||||
|
continue
|
||||||
|
|
||||||
if releaseGroup['type'] == 'live' and releaseResult['status'] != 'Official':
|
if releaseGroup['type'] == 'live' and releaseResult['status'] != 'Official':
|
||||||
logger.debug('%s is not an official live album. Skipping' % releaseResult.name)
|
logger.debug('%s is not an official live album. Skipping' % releaseResult.name)
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in New Issue
Block a user