diff --git a/resources/lib/librarysync.py b/resources/lib/librarysync.py index d6d15d8e..7020af13 100644 --- a/resources/lib/librarysync.py +++ b/resources/lib/librarysync.py @@ -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: