mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 15:56:07 -07:00
Fix missing 'or' in condition for on_stop notifications
This commit is contained in:
parent
ffb38ef599
commit
e606bd512f
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ def notify_conditions(notify_action=None, stream_data=None, timeline_data=None):
|
|||
|
||||
if notify_action == 'on_stop':
|
||||
return (plexpy.CONFIG.NOTIFY_CONSECUTIVE or
|
||||
(stream_data['media_type'] == 'movie' and progress_percent < plexpy.CONFIG.MOVIE_WATCHED_PERCENT)
|
||||
(stream_data['media_type'] == 'movie' and progress_percent < plexpy.CONFIG.MOVIE_WATCHED_PERCENT) or
|
||||
(stream_data['media_type'] == 'episode' and progress_percent < plexpy.CONFIG.TV_WATCHED_PERCENT))
|
||||
|
||||
elif notify_action == 'on_resume':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue