|
|
@ -16,8 +16,8 @@ class PathMappings:
|
|
|
|
self.path_mapping_movies = []
|
|
|
|
self.path_mapping_movies = []
|
|
|
|
|
|
|
|
|
|
|
|
def update(self):
|
|
|
|
def update(self):
|
|
|
|
self.path_mapping_series = ast.literal_eval(settings.general.path_mappings)
|
|
|
|
self.path_mapping_series = [x for x in ast.literal_eval(settings.general.path_mappings) if x[0] != x[1]]
|
|
|
|
self.path_mapping_movies = ast.literal_eval(settings.general.path_mappings_movie)
|
|
|
|
self.path_mapping_movies = [x for x in ast.literal_eval(settings.general.path_mappings_movie) if x[0] != x[1]]
|
|
|
|
|
|
|
|
|
|
|
|
def path_replace(self, path):
|
|
|
|
def path_replace(self, path):
|
|
|
|
if path is None:
|
|
|
|
if path is None:
|
|
|
|