update v1.5.1

This commit is contained in:
alfa-addon
2017-08-08 17:22:47 -04:00
parent 79f9cce786
commit 20486fe6da
14 changed files with 484 additions and 454 deletions
+3 -2
View File
@@ -85,9 +85,10 @@ def check_for_update(overwrite=True):
heading = 'Actualizando videoteca....'
p_dialog = platformtools.dialog_progress_bg('alfa', heading)
p_dialog.update(0, '')
show_list = []
import glob
show_list = glob.glob(filetools.join(videolibrarytools.TVSHOWS_PATH, u'/*/tvshow.nfo'))
for path, folders, files in filetools.walk(library.TVSHOWS_PATH):
show_list.extend([filetools.join(path, f) for f in files if f == "tvshow.nfo"])
if show_list:
t = float(100) / len(show_list)