Skip to content

Commit

Permalink
Use title link for playlist display
Browse files Browse the repository at this point in the history
  • Loading branch information
glensc committed Jan 27, 2024
1 parent e7007a9 commit 92cf2e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plextraktsync/plex/PlexPlaylist.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def update(self, items: list[PlexMedia], description=None) -> bool:
del self.__dict__["playlist"]
del self.__dict__["items"]
playlist = self.server.createPlaylist(self.name, items=items)
self.logger.info(f"Created plex playlist '{self.name}' with {len(items)} items")
self.logger.info(f"Created plex playlist {self.title_link} with {len(items)} items", extra={"markup": True})

# Skip if playlist could not be made/retrieved
if playlist is None:
Expand All @@ -71,7 +71,7 @@ def update(self, items: list[PlexMedia], description=None) -> bool:
updated = False
if description is not None and description != playlist.summary:
playlist.editSummary(summary=description)
self.logger.debug(f"Updated '{self.name}' description: {description}")
self.logger.debug(f"Updated {self.title_link} description: '{description}'", extra={"markup": True})
updated = True

# Skip if nothing to update
Expand Down

0 comments on commit 92cf2e0

Please sign in to comment.