mirror of
https://github.com/rembo10/headphones.git
synced 2026-03-21 12:19:27 +00:00
Fixed a bug where releases without a release date would be automatically added as the newest release and usually set as wanted.
This commit is contained in:
@@ -281,6 +281,13 @@ def getReleaseGroup(rgid):
|
||||
if not releaseResult:
|
||||
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':
|
||||
logger.debug('%s is not an official live album. Skipping' % releaseResult.name)
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user