Skip to content

🎧 Your Personal Streaming Service

Remove limitation of only scrobbling tracks longer than 30 seconds

Deluan8b62a58b4c4e
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
}