Fix dialog
This commit is contained in:
parent
e475d3366d
commit
601f578892
1 changed files with 3 additions and 6 deletions
|
@ -936,15 +936,12 @@ class LibrarySync(threading.Thread):
|
|||
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:
|
||||
percentage = int((float(count) / float(total))*100)
|
||||
pdialog.update(percentage, message="%s - %s" % (title, episodetitle))
|
||||
count += 1
|
||||
tvshows.add_updateEpisode(episode)
|
||||
else:
|
||||
self.logMsg("TVShows finished.", 2)
|
||||
|
|
Loading…
Reference in a new issue