def __init__(self, dirname, path, cat): self.matched = False self.original_dirname = dirname self.original_path = path self.sort_string = cfg.movie_sort_string() self.extra = cfg.movie_sort_extra() self.cats = cfg.movie_categories() self.cat = cat self.filename_set = '' self.match_obj = None self.rename_or_not = False self.movie_info = {} # Check if we match the category in init() self.match()
def __init__(self, dirname, path, cat): self.matched = False self.original_dirname = dirname self.original_path = path self.sort_string = cfg.movie_sort_string() self.extra = cfg.movie_sort_extra() self.cats = cfg.movie_categories() self.cat = cat self.filename_set = '' self.fname = '' # Value for %fn substitution in folders self.match_obj = None self.rename_or_not = False self.movie_info = {} # Check if we match the category in init() self.match()
def __init__(self, nzo, job_name, path, cat): self.matched = False self.original_job_name = job_name self.original_path = path self.sort_string = cfg.movie_sort_string() self.extra = cfg.movie_sort_extra() self.cats = cfg.movie_categories() self.cat = cat self.nzo = nzo self.filename_set = '' self.fname = '' # Value for %fn substitution in folders self.final_path = '' self.match_obj = None self.rename_or_not = False self.movie_info = {} # Check if we match the category in init() self.match()