Don't send invalid scrobbles when clearing the player's queue
This commit is contained in:
@@ -103,7 +103,7 @@ const Player = () => {
|
||||
}
|
||||
|
||||
if (!scrobbled) {
|
||||
subsonic.scrobble(info.trackId, true, startTime)
|
||||
info.trackId && subsonic.scrobble(info.trackId, startTime)
|
||||
setScrobbled(true)
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user