Print Updated/No update status of playlist
MODIFY
plextraktsync/sync.py
plextraktsync/sync.py
@@ -167,7 +167,8 @@ def update_playlists(self, listutil: TraktListUtil, dry_run=False):
for tl in listutil.lists:
logger.info(f"Updating Plex List: {tl.name} ({len(tl.plex_items)} items)")
- self.plex.update_playlist(tl.name, tl.plex_items_sorted)
+ updated = self.plex.update_playlist(tl.name, tl.plex_items_sorted)
+ logger.info(f"Updating Plex List: {tl.name}: {'Updated' if updated else 'No update'}")
def sync_collection(self, m: Media, dry_run=False):
if not self.config.plex_to_trakt["collection"]:

Print Updated/No update status of playlist