Ejemplo n.º 1
0
 def match(self):
     ''' Checks the category for a match, if so set self.match to true '''
     if cfg.enable_movie_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):
             logging.debug("Movie Sorting - Starting folder sort (%s)", self.original_dirname)
             self.matched = True
Ejemplo n.º 2
0
 def match(self, force=False):
     """ Checks the category for a match, if so set self.match to true """
     if force or (cfg.enable_movie_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):
             logging.debug("Found Movie (%s)", self.original_job_name)
             self.matched = True
Ejemplo n.º 3
0
 def match(self, force=False):
     """ Checks the category for a match, if so set self.match to true """
     if force or (cfg.enable_movie_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):
             logging.debug("Found Movie (%s)", self.original_job_name)
             self.matched = True
Ejemplo n.º 4
0
 def match(self):
     ''' Checks the category for a match, if so set self.match to true '''
     if cfg.enable_movie_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):
             logging.debug("Movie Sorting - Starting folder sort (%s)",
                           self.original_dirname)
             self.matched = True