gix / foo_scrobble

foobar2000 component for last.fm scrobbling
MIT License
428 stars 12 forks source link

foo_scrobble does get auth token but still puts tracks to unauthenticated queue #34

Closed qbns closed 3 years ago

qbns commented 3 years ago

Version info: Foobar v 1.6.5 foo_scrobble 1.5.0.21178

I was able to successfully authenticate with lastfm, but the plugin does not publish the tracks to lastfm. I have looked at the console and I see foo_scrobble: Requesting auth token foo_scrobble: Received auth token: **** foo_scrobble: Queuing scrobble (Unauthenticated)

Complete log here (I am playing tracks from Spotify but the same happens for local tracks):

Components loaded in: 0:01.493572
Configuration read in: 0:00.100282
foobar2000 v1.6.5 [portable]
Filter Panel - Genre: initialised in 0.000 s
Filter Panel - Artist: initialised in 0.000 s
Filter Panel - Album: initialised in 0.000 s
Playlist view initialised in: 0.003 s
User Interface initialized in: 0:00.183676
FFmpeg version: 4.3.1
Startup time : 0:01.843075
foo_scrobble: Requesting auth token
foo_scrobble: Received auth token: ********************************
Opening track for playback: "spotify:track:5LLfL25W8ELqVXOLBhkJOP"
foo_spotify (log): 13:00:01.054 I [ap:1752] Connecting to AP ap.gslb.spotify.com:4070
foo_spotify (log): 13:00:01.095 I [ap:1226] Connected to AP: 35.190.243.97:4070
foo_spotify (log): 13:00:01.254 I [offline-mgr:2084] Storage has been cleaned
foo_spotify (log): 13:00:02.267 I [offline-mgr:2032] 0 files are locked. 0 images are locked
foo_spotify (log): 13:00:02.269 I [offline-mgr:2058] 0 files unlocked. 0 images unlocked
Automatic resampling: using Resampler (dBpoweramp/SSRC), Resampler (PPHS)
Device: Speakers / Headphones (Realtek Audio)
Mix format: 48000 Hz / 32-bit float / 2 channels (0x3)
Sending stream: 48000 Hz / 32-bit float / 2 channels (0x3)
foo_spotify (log): 13:00:03.333 E [c:/Users/spotify-buildagent/BuildAgent/work/1e0ce8a77adfb2dc/client/core/network/proxy_resolver_win32.cpp:215] WinHttpGetProxyForUrl failed
Opening track for playback: "spotify:track:1vOu4N1r3asJO9xfBMKWNd"
foo_spotify (log): 13:02:00.537 I [c:/Users/spotify-buildagent/BuildAgent/work/1e0ce8a77adfb2dc/client/core/social/social_presence.cpp:135] Presence: A track was played
Opening track for playback: "spotify:track:6c7uYlmHJtZPnenPjqG7Ir"
foo_spotify (log): 13:02:20.865 I [c:/Users/spotify-buildagent/BuildAgent/work/1e0ce8a77adfb2dc/client/core/social/social_presence.cpp:135] Presence: A track was played
foo_spotify (log): 13:02:30.526 I [offline-mgr:2058] 0 files unlocked. 0 images unlocked
Opening track for playback: "spotify:track:2mDpaQWRfsXtymj7JhVOEE"
foo_spotify (log): 13:04:51.986 I [c:/Users/spotify-buildagent/BuildAgent/work/1e0ce8a77adfb2dc/client/core/social/social_presence.cpp:135] Presence: A track was played
foo_spotify (log): 13:04:52.473 I [c:/Users/spotify-buildagent/BuildAgent/work/1e0ce8a77adfb2dc/client/core/protocol/file_streamer_simple.cpp:769] Request for file 58364c9fc1f94663d50798a8530e7bd785473c1d complete (code: 0)
foo_spotify (log): 13:04:52.690 I [c:/Users/spotify-buildagent/BuildAgent/work/1e0ce8a77adfb2dc/client/core/protocol/file_streamer_simple.cpp:769] Request for file 58364c9fc1f94663d50798a8530e7bd785473c1d complete (code: 0)
foo_scrobble: Queuing scrobble (Unauthenticated)
gix commented 3 years ago

After authenticating on last.fm, you have to click on the button again (at this point it should show "Complete authorization"). Then click Apply in the bottom right corner. The log should show:

foo_scrobble: Requesting auth token
foo_scrobble: Received auth token: ********************************
foo_scrobble: Requesting session key
foo_scrobble: New session key: ********************************
qbns commented 3 years ago

I should've had a closer look at what the button tooltip said :facepalm: Thank you @gix, my issue is gone!