From 8b62a58b4c4edda486a900d4d2cdeecf3e9991b5 Mon Sep 17 00:00:00 2001 From: Deluan Date: Tue, 22 Jun 2021 09:59:00 -0400 Subject: [PATCH] Remove limitation of only scrobbling tracks longer than 30 seconds --- ui/src/audioplayer/Player.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ui/src/audioplayer/Player.js b/ui/src/audioplayer/Player.js index 8489616da..957cfbecd 100644 --- a/ui/src/audioplayer/Player.js +++ b/ui/src/audioplayer/Player.js @@ -242,11 +242,7 @@ const Player = () => { // See https://www.last.fm/api/scrobbling#when-is-a-scrobble-a-scrobble const progress = (info.currentTime / info.duration) * 100 - if ( - isNaN(info.duration) || - info.duration < 30 || - (progress < 50 && info.currentTime < 240) - ) { + if (isNaN(info.duration) || (progress < 50 && info.currentTime < 240)) { return }