flecs icon indicating copy to clipboard operation
flecs copied to clipboard

[Bug]: Scrobbler scrobbles on application start, even though song doesn't play

Open Destroy666x opened this issue 1 year ago • 5 comments

Preflight Checklist

  • [X] I use the latest version of YouTube Music (Application).
  • [X] I have searched the issue tracker for a bug report that matches the one I want to file, without success.
  • [X] I understand that th-ch/youtube-music has NO affiliation with Google or YouTube

YouTube Music (Application) Version

3.0.2

What operating system are you using?

Windows

Operating System Version

Windows 10 10.0.19045

What arch are you using?

x64

Last Known Working YouTube Music (Application) version

No response

Reproduction steps

  1. Enable Last.fm scrobbling
  2. Enable autostart with no autoplay
  3. Scrobbler scrobbles the non-playing song on launch: image

Expected Behavior

It should not scrobble the non-playing song.

Actual Behavior

It scrobbles it

Enabled plugins

last.fm disable-autoplay The rest shouldn't matter

Additional Information

No response

Destroy666x avatar Dec 03 '23 09:12 Destroy666x

May be unrelated, but no song data is passed if I play/pause the song from my previous session. I'd need to change the song for song data to appear...

Also I can't repro the bug of this issue, the function responsible for scrobbling is not even called unless I reach half the song's duration or change the song.

image

in the screenshot, what you see is the half-duration point

PS: I don't have a last-fm account, so I merely commented out the code that does the API calls and added a log.

ArjixWasTaken avatar Dec 11 '23 08:12 ArjixWasTaken

A setting controlling how much of the song needs to play would be nice in general, but the problem is it's not played at all in theory, so the bug is either:

  • song "playing" in the back without any sound output
  • data sent to last.fm for a different reason than scrobbling

Destroy666x avatar Dec 18 '23 13:12 Destroy666x

Is this reproducible in 3.1.1?

JellyBrick avatar Dec 18 '23 14:12 JellyBrick

I'm on 3.1.0 now, but I'll check once I upgrade

Destroy666x avatar Dec 18 '23 14:12 Destroy666x

Nothing changed in that version: image

Destroy666x avatar Dec 23 '23 22:12 Destroy666x