Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jellyfin: Remove isPlayed, Use get for name #96

Merged
merged 1 commit into from
Aug 17, 2023
Merged

Jellyfin: Remove isPlayed, Use get for name #96

merged 1 commit into from
Aug 17, 2023

Conversation

luigi311
Copy link
Owner

Fixes #95 #91

@luigi311 luigi311 merged commit 237e82e into main Aug 17, 2023
@@ -616,7 +616,7 @@
logger(f"Dryrun {msg}", 0)
else:
# TODO add support for partially watched movies
msg = f"{jellyfin_video['Name']} as partially watched for {floor(movie_status['time'] / 60_000)} minutes for {user_name} in {library} for Jellyfin"
msg = f"{jellyfin_video.get('Name')} as partially watched for {floor(movie_status['time'] / 60_000)} minutes for {user_name} in {library} for Jellyfin"

Check warning

Code scanning / CodeQL

Variable defined multiple times

This assignment to 'msg' is unnecessary as it is [redefined](1) before this value is used.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] I get: [ERROR]: Jellyfin: Error updating watched for matin in library Anime, 'Name'
1 participant