Split watchlist/playlist sync; they are not that related
Watchlist sync is fine to be used on partial library
or no libraries at all.
MODIFY
plextraktsync/sync.py
plextraktsync/sync.py
@@ -153,14 +153,15 @@ def sync(self, walker: Walker, dry_run=False):
for show in walker.walk_shows(shows, title="Syncing show ratings"):
self.sync_ratings(show, dry_run=dry_run)
- if walker.config.walk_watchlist and (self.sync_wl or self.config.sync_liked_lists):
+ if self.config.update_plex_wl_as_pl or self.config.sync_liked_lists:
if is_partial:
- logger.warning("Partial walk, watchlist and/or liked list updating was skipped")
+ logger.warning("Running partial library sync. Liked lists won't update because it needs full library sync.")
else:
- with measure_time("Updated watchlist and/or liked list"):
- if self.config.update_plex_wl_as_pl or self.config.sync_liked_lists:
+ with measure_time("Updated liked list"):
self.update_playlists(listutil, dry_run=dry_run)
- if self.sync_wl:
+
+ if walker.config.walk_watchlist and self.sync_wl:
+ with measure_time("Updated watchlist"):
self.sync_watchlist(walker, dry_run=dry_run)
def update_playlists(self, listutil: TraktListUtil, dry_run=False):

Split watchlist/playlist sync; they are not that related

Watchlist sync is fine to be used on partial library
or no libraries at all.