Fix impostazioni + modifiche minori

This commit is contained in:
Alex
2021-04-15 22:29:46 +02:00
committed by mac12m99
parent 9257d8e553
commit 3dce05c62e
5 changed files with 17 additions and 11 deletions
+2 -1
View File
@@ -634,6 +634,7 @@ def move_videolibrary(current_path, new_path, current_movies_folder, new_movies_
notify = False
progress = platformtools.dialog_progress_bg(config.get_localized_string(20000), config.get_localized_string(80011))
xbmc.sleep(1000)
current_path = u'' + xbmc.translatePath(current_path)
new_path = u'' + xbmc.translatePath(new_path)
current_movies_path = u'' + filetools.join(current_path, current_movies_folder)
@@ -665,7 +666,7 @@ def move_videolibrary(current_path, new_path, current_movies_folder, new_movies_
return
config.verify_directories_created()
progress.update(10, config.get_localized_string(20000) + '\n' + config.get_localized_string(80012))
progress.update(10, config.get_localized_string(20000), config.get_localized_string(80012))
if current_movies_path != new_movies_path:
if filetools.listdir(current_movies_path):
dir_util.copy_tree(current_movies_path, new_movies_path)