From d0b0ec2f3d76b0fef533afeb033b497ec2bbb9de Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 11 Aug 2014 20:40:29 +0800 Subject: [PATCH] Fix non-anime propers being skipped for not having a version --- sickbeard/properFinder.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sickbeard/properFinder.py b/sickbeard/properFinder.py index ce33da66..a707aaee 100644 --- a/sickbeard/properFinder.py +++ b/sickbeard/properFinder.py @@ -138,17 +138,17 @@ class ProperFinder(): # populate our Proper instance curProper.season = parse_result.season_number if parse_result.season_number != None else 1 curProper.episode = parse_result.episode_numbers[0] + curProper.release_group = parse_result.release_group + curProper.version = parse_result.version + curProper.quality = Quality.nameQuality(curProper.name, parse_result.is_anime) # only get anime proper if it has release group and version if parse_result.is_anime: - if parse_result.release_group and parse_result.version: - curProper.release_group = parse_result.release_group - curProper.version = parse_result.version - else: + if not curProper.release_group and curProper.version == -1: + logger.log(u"Proper " + curProper.name + " doesn't have a release group and version, ignoring it", + logger.DEBUG) continue - curProper.quality = Quality.nameQuality(curProper.name, parse_result.is_anime) - if not show_name_helpers.filterBadReleases(curProper.name): logger.log(u"Proper " + curProper.name + " isn't a valid scene release that we want, ignoring it", logger.DEBUG)