move_videolibrary, cambio path download in sources

This commit is contained in:
Alhaziel01
2020-03-25 22:28:45 +01:00
parent deb0f20ecd
commit df45c0af90
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -153,6 +153,7 @@ def update_db(current_path, new_path, current_movies_folder, new_movies_folder,
p += 5
progress.update(90, config.get_localized_string(20000), config.get_localized_string(80013))
def clear_videolibrary_db():
log()
progress = platformtools.dialog_progress_bg(config.get_localized_string(20000), config.get_localized_string(60601))
@@ -224,6 +225,8 @@ def clear_videolibrary_db():
def set_new_path(old, new=''):
log()
if new == old: return
SOURCES_PATH = xbmc.translatePath("special://userdata/sources.xml")
if filetools.isfile(SOURCES_PATH):
xmldoc = minidom.parse(SOURCES_PATH)