mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-12 08:16:06 -07:00
Set maxwdith on activity image.
Try and fix false "watched" notifications when buffering takes too long on playback start.
This commit is contained in:
parent
1200eae38e
commit
b08d8eb023
2 changed files with 4 additions and 2 deletions
|
@ -351,7 +351,7 @@ input[type="color"],
|
|||
}
|
||||
.dashboard-activity-poster-face {
|
||||
height: 141px;
|
||||
width: 250px;
|
||||
max-width: 250px;
|
||||
position: relative;
|
||||
top: 0px;
|
||||
background-color: rgba(255,255,255,.03);
|
||||
|
|
|
@ -68,7 +68,9 @@ def check_active_sessions():
|
|||
'WHERE session_key = ? AND rating_key = ?',
|
||||
[paused_counter, stream['session_key'], stream['rating_key']])
|
||||
# Check if the user has reached the offset in the media we defined as the "watched" percent
|
||||
if session['progress'] and session['duration']:
|
||||
# Don't trigger if state is buffer as some clients push the progress to the end when
|
||||
# buffering on start.
|
||||
if session['progress'] and session['duration'] and session['state'] != 'buffering':
|
||||
if helpers.get_percent(session['progress'],
|
||||
session['duration']) > plexpy.CONFIG.NOTIFY_WATCHED_PERCENT:
|
||||
# Push any notifications -
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue