From 1fb29304a33fa45deb719eafd9bb01e0516bae6d Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Wed, 6 Mar 2024 20:30:00 -0500 Subject: [PATCH] [scrobbles] Try tweaking completion time for tracks --- vrobbler/apps/music/models.py | 2 +- vrobbler/apps/scrobbles/constants.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/vrobbler/apps/music/models.py b/vrobbler/apps/music/models.py index 5679b89..b67f6ad 100644 --- a/vrobbler/apps/music/models.py +++ b/vrobbler/apps/music/models.py @@ -404,7 +404,7 @@ class Album(TimeStampedModel): class Track(ScrobblableMixin): - COMPLETION_PERCENT = getattr(settings, "MUSIC_COMPLETION_PERCENT", 90) + COMPLETION_PERCENT = getattr(settings, "MUSIC_COMPLETION_PERCENT", 95) class Opinion(models.IntegerChoices): DOWN = -1, "Thumbs down" diff --git a/vrobbler/apps/scrobbles/constants.py b/vrobbler/apps/scrobbles/constants.py index b26b9a9..8050957 100644 --- a/vrobbler/apps/scrobbles/constants.py +++ b/vrobbler/apps/scrobbles/constants.py @@ -15,8 +15,7 @@ PLAY_AGAIN_MEDIA = { } MEDIA_END_PADDING_SECONDS = { - "Video": 1800, # 30 min - "Track": 1, # 1 second + "Video": 3600, # 60 min } EXCLUDE_FROM_NOW_PLAYING = ("GeoLocation",)