def match(self): ''' Checks the category for a match, if so set self.matched to true ''' if cfg.enable_date_sorting() and self.sort_string: #First check if the show matches TV episode regular expressions. Returns regex match object if (self.cat and self.cat.lower() in self.cats) or (not self.cat and 'None' in self.cats): self.match_obj, self.date_type = checkForDate(self.original_dirname, date_match) if self.match_obj: logging.debug("Date Sorting - Starting folder sort (%s)", self.original_dirname) self.matched = True
def match(self, force=False): """ Checks the category for a match, if so set self.matched to true """ if force or (cfg.enable_date_sorting() and self.sort_string): # First check if the show matches TV episode regular expressions. Returns regex match object if force or (self.cat and self.cat.lower() in self.cats) or (not self.cat and "None" in self.cats): self.match_obj, self.date_type = check_for_date(self.original_job_name, date_match) if self.match_obj: logging.debug("Found date for sorting (%s)", self.original_job_name) self.matched = True
def match(self, force=False): """ Checks the category for a match, if so set self.matched to true """ if force or (cfg.enable_date_sorting() and self.sort_string): # First check if the show matches TV episode regular expressions. Returns regex match object if force or (self.cat and self.cat.lower() in self.cats) or (not self.cat and 'None' in self.cats): self.match_obj, self.date_type = check_for_date(self.original_job_name, date_match) if self.match_obj: logging.debug("Found date for sorting (%s)", self.original_job_name) self.matched = True
def match(self, force=False): ''' Checks the category for a match, if so set self.matched to true ''' if force or (cfg.enable_date_sorting() and self.sort_string): #First check if the show matches TV episode regular expressions. Returns regex match object if force or (self.cat and self.cat.lower() in self.cats) or (not self.cat and 'None' in self.cats): self.match_obj, self.date_type = check_for_date(self.original_dirname, date_match) if self.match_obj: logging.debug("Date Sorting - Starting folder sort (%s)", self.original_dirname) self.matched = True