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():
|
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:
|
||||||
|
percentage = int((float(count) / float(total))*100)
|
||||||
pdialog.update(percentage, message="%s - %s" % (title, episodetitle))
|
pdialog.update(percentage, message="%s - %s" % (title, episodetitle))
|
||||||
|
count += 1
|
||||||
tvshows.add_updateEpisode(episode)
|
tvshows.add_updateEpisode(episode)
|
||||||
else:
|
else:
|
||||||
self.logMsg("TVShows finished.", 2)
|
self.logMsg("TVShows finished.", 2)
|
||||||
|
|
Loading…
Reference in a new issue