Skip to content

Commit

Permalink
Plex: Use username
Browse files Browse the repository at this point in the history
Signed-off-by: Luigi311 <[email protected]>
  • Loading branch information
luigi311 committed Jan 26, 2024
1 parent bc5e8bc commit 033ef76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plex.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def get_user_library_watched_show(show, process_episodes, threads=None):


def get_user_library_watched(user, user_plex, library):
user_name: str = user.title.lower()
user_name: str = user.username.lower() if user.username else user.title.lower()
try:
logger(
f"Plex: Generating watched for {user_name} in library {library.title}",
Expand Down

0 comments on commit 033ef76

Please sign in to comment.