mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-23 21:52:45 -05:00
yes &&
This commit is contained in:
1 parent
13ce356502
commit
82de97f95a
1 file changed
+1
-1
@@ -977,7 +977,7 @@ export class PlayerManager {
|
||||
// Only scrobble if the same song is still playing
|
||||
const current = player.queue?.getCurrent();
|
||||
if (!current || player._destroyed || player.leaving) return;
|
||||
if (current.title !== song.title && current.url !== song.url) return;
|
||||
if (current.title !== song.title || current.url !== song.url) return;
|
||||
if (player._paused) return; // don't scrobble if paused
|
||||
|
||||
const playedMs = Date.now() - (player.startedPlaying ?? startedAtMs ?? Date.now());
|
||||
|
||||
Reference in new issue
Block a user