[Bug]: Scrobbler plugin fails to save tracks to Last.fm if paused during playback #3012

Open
opened 2025-02-22 03:32:59 +00:00 by Nekosis · 0 comments
Nekosis commented 2025-02-22 03:32:59 +00:00 (Migrated from github.com)

Preflight Checklist

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

YouTube Music (Application) Version

3.7.4.0

Checklists

What operating system are you using?

Windows

Operating System Version

Windows 11 Home version 24H2 build 26100.3194

What CPU architecture are you using?

x64

Last Known Working YouTube Music (Application) version

No response

Reproduction steps

  1. Enable the Scrobbler plugin and connect Last.fm account
  2. Start playing any song
  3. Let it play for a few seconds
  4. Pause the song
  5. Resume playback
  6. Let the song finish and the next song begin
  7. Check Last.fm profile

Expected Behavior

Songs should scrobble to Last.fm and appear in the user's Last.fm history regardless of whether they were paused during playback

Actual Behavior

  • Songs only scrobble if played completely without any pauses
  • If a song is paused during playback:
    • It appears in "Now Playing" while the song plays
    • When the next song begins, it disappears from "Now Playing"
    • The song never appears in the Last.fm history
    • The scrobble is completely lost
  • Next song appears in "Now Playing" but previous (paused) song is not saved to history

Enabled plugins

  • Album Color Theme
  • API Server [Beta]
  • Discord Rich Presence
  • In-App Menu
  • Navigation
  • Scrobbler
  • Synced Lyrics

Additional Information

This behavior makes it impossible to properly scrobble songs if you need to pause playback for any reason. The song appears to be tracking correctly in "Now Playing" even after pauses, but the final scrobble is never saved to Last.fm history. This affects all songs regardless of length or how close to completion they were when paused.

The issue can be verified by:

  1. Playing a song without pausing - it scrobbles correctly
  2. Playing the same song with a pause - it fails to scrobble

This demonstrates that the issue is specifically related to the pause functionality rather than general scrobbling problems.

### Preflight Checklist - [x] I use the latest version of YouTube Music (Application). - [x] I have searched the [issue tracker](https://github.com/th-ch/youtube-music/issues) 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.7.4.0 ### Checklists - [ ] I use the portable version of the YouTube Music Application. - [ ] I can reproduce this issue in the [official version of (WEB) YTM](https://music.youtube.com). ### What operating system are you using? Windows ### Operating System Version Windows 11 Home version 24H2 build 26100.3194 ### What CPU architecture are you using? x64 ### Last Known Working YouTube Music (Application) version _No response_ ### Reproduction steps 1. Enable the Scrobbler plugin and connect Last.fm account 2. Start playing any song 3. Let it play for a few seconds 4. Pause the song 5. Resume playback 6. Let the song finish and the next song begin 7. Check Last.fm profile ### Expected Behavior Songs should scrobble to Last.fm and appear in the user's Last.fm history regardless of whether they were paused during playback ### Actual Behavior - Songs only scrobble if played completely without any pauses - If a song is paused during playback: - It appears in "Now Playing" while the song plays - When the next song begins, it disappears from "Now Playing" - The song never appears in the Last.fm history - The scrobble is completely lost - Next song appears in "Now Playing" but previous (paused) song is not saved to history ### Enabled plugins - Album Color Theme - API Server [Beta] - Discord Rich Presence - In-App Menu - Navigation - Scrobbler - Synced Lyrics ### Additional Information This behavior makes it impossible to properly scrobble songs if you need to pause playback for any reason. The song appears to be tracking correctly in "Now Playing" even after pauses, but the final scrobble is never saved to Last.fm history. This affects all songs regardless of length or how close to completion they were when paused. The issue can be verified by: 1. Playing a song without pausing - it scrobbles correctly 2. Playing the same song with a pause - it fails to scrobble This demonstrates that the issue is specifically related to the pause functionality rather than general scrobbling problems.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: YTMD/youtube-music#3012
No description provided.