Skip to content

Commit

Permalink
Merge pull request #147 from luigi311/dev
Browse files Browse the repository at this point in the history
Plex: Use username
  • Loading branch information
luigi311 authored Jan 26, 2024
2 parents 8155963 + 033ef76 commit 86b30e1
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 86b30e1

Please sign in to comment.