From 6510d5e399dfe9f3c503a373e6c4a78726b54f1f Mon Sep 17 00:00:00 2001 From: croneter Date: Fri, 13 Dec 2019 13:19:15 +0100 Subject: [PATCH] Fix display of item numbers during playstate sync --- resources/lib/library_sync/full_sync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/library_sync/full_sync.py b/resources/lib/library_sync/full_sync.py index 82f53f34..d885d8d2 100644 --- a/resources/lib/library_sync/full_sync.py +++ b/resources/lib/library_sync/full_sync.py @@ -135,7 +135,7 @@ class FullSync(common.LibrarySyncMixin, backgroundthread.KillableThread): context.plexdb.update_last_sync(int(xml.attrib['ratingKey']), section.plex_type, self.current_time) - self.update_progressbar(section, '', section.count) + self.update_progressbar(section, '', section.count - 1) if section.count % PLAYSTATE_BATCH_SIZE == 0: context.commit() except RuntimeError: