mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
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)
|
total = len(updatelist)
|
||||||
del updatelist[:]
|
del updatelist[:]
|
||||||
|
|
||||||
|
count = 0
|
||||||
for episode in embyepisodes:
|
for episode in embyepisodes:
|
||||||
|
|
||||||
# Process individual episode
|
# Process individual episode
|
||||||
if self.shouldStop():
|
if self.shouldStop():
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
if pdialog:
|
||||||
|
percentage = int((float(count) / float(total))*100)
|
||||||
|
pdialog.update(percentage, message=title)
|
||||||
|
count += 1
|
||||||
|
|
||||||
title = episode['SeriesName']
|
title = episode['SeriesName']
|
||||||
episodetitle = episode['Name']
|
episodetitle = episode['Name']
|
||||||
if pdialog:
|
if pdialog:
|
||||||
|
|
Loading…
Reference in a new issue