Fix missing pdialog
This commit is contained in:
parent
e04b81eec3
commit
0b6b5861c7
1 changed files with 6 additions and 0 deletions
|
@ -929,12 +929,18 @@ class LibrarySync(threading.Thread):
|
|||
total = len(updatelist)
|
||||
del updatelist[:]
|
||||
|
||||
count = 0
|
||||
for episode in embyepisodes:
|
||||
|
||||
# Process individual episode
|
||||
if self.shouldStop():
|
||||
return False
|
||||
|
||||
if pdialog:
|
||||
percentage = int((float(count) / float(total))*100)
|
||||
pdialog.update(percentage, message=title)
|
||||
count += 1
|
||||
|
||||
title = episode['SeriesName']
|
||||
episodetitle = episode['Name']
|
||||
if pdialog:
|
||||
|
|
Loading…
Reference in a new issue