mirror of
https://github.com/librespot-org/librespot.git
synced 2026-04-27 00:05:55 +03:00
[GH-ISSUE #913] Songs not showing up in Recently Played #452
Labels
No labels
A-Alsa
SpotifyAPI
Tokio 1.0
audio
bug
can't reproduce
compilation
dependencies
duplicate
enhancement
good first issue
help wanted
high priority
imported
imported
invalid
new api
pull-request
question
reverse engineering
wiki
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librespot#452
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @agneevX on GitHub (Dec 22, 2021).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/913
Originally assigned to: @roderickvd on GitHub.
When playing songs via Librespot, songs don't show up in Spotify's Recently Played.
This is with the following options:
Is this a known issue by any chance?
@roderickvd commented on GitHub (Dec 22, 2021):
Yes, this is a known issue that I intend to fix as part of the
new-apiefforts. At this pointlibrespotdoes not report played tracks back to Spotify.@agneevX commented on GitHub (Dec 22, 2021):
I created this issue as a last resort, I've been engaging with the supports teams over Twitter DM and emailing Spotify Privacy because of missing data, trying to convince them its their issue to solve 😅.
Are there related issues like this?
@michaelherger commented on GitHub (Dec 22, 2021):
See https://github.com/librespot-org/librespot/discussions/626
@roderickvd commented on GitHub (Dec 22, 2021):
😆 well you can tell them to move on to other things.
librespot-javafound it out here: https://github.com/librespot-org/librespot/discussions/626@agneevX commented on GitHub (Dec 27, 2021):
So I compiled a recent release of spotifyd and it seems to push tracks to Spotify's Recently Played. Isn't spotifyd a fork of librespot?
@roderickvd commented on GitHub (Dec 27, 2021):
Are you sure? There is no mention of "event-service" in Spotifyd's repository, which is the endpoint that's known to report played tracks back to Spotify.
Spotifyd isn't a fork, but a downstream application that pulls in
librespotas a library and builds a *nix daemon and MPRIS interface on top.@agneevX commented on GitHub (Dec 27, 2021):
Yep, I spoke too soon. Turns out it added a song to Recently Played that I played for a couple of secs before selecting the Spotify Connect device.
@devgianlu commented on GitHub (Dec 27, 2021):
By the way, I think they moved events to the HTTP API so that should be easier to reverse.
@agneevX commented on GitHub (Dec 27, 2021):
@devgianlu does this work with
librespot-java?@devgianlu commented on GitHub (Dec 27, 2021):
It works as long as you don't skip the song, if it ends normally it's fine.
@roderickvd commented on GitHub (Dec 27, 2021):
If someone can do the man-in-the-middle and sniffing work I'd be more than happy to implement it. I'm in coding mode right now 😄 and I was planning on implementing the Mercury endpoint soon, but if anyone can figure out the HTTP one soon I'm all game to do that endpoint instead.
Is that due to the inner workings of your player thread or some part of the message we still need to figure out?
@devgianlu commented on GitHub (Dec 27, 2021):
I've never figured out why, but that's something with the message being sent, there are different keywords for why the track started and why it ended. Ending with anything other than
trackdonedoesn't work. I remember I explained this somewhere.Anyway I had a quick look at the new API some time ago and it didn't have those, might be wrong.
@roderickvd commented on GitHub (Dec 27, 2021):
I'll read through the conversation over at
librespot-javasome more.I've got some time on my hands these weeks, so if you've got too, let me know if you would want to tackle this together.
@devgianlu commented on GitHub (Dec 28, 2021):
Don't really have the time to investigate myself, but I can comment/help. Do you prefer a faster messaging platform?
@roderickvd commented on GitHub (Dec 30, 2021):
Let me get the "old" one you already reverse engineered in first. But once I get to this I suggest we can continue on Gitter?
@devgianlu commented on GitHub (Dec 30, 2021):
Sure
@noelhibbard commented on GitHub (Apr 7, 2022):
I've got the opposite concern. I would like a private listening session option so that listening to kids music via librespot doesn't effect my profile. I obviously still want artists to get their credit but surely the API has a private session boolean that when enabled will still give artists their credit but doesn't run the tracks through the listening algorithms.
@roderickvd commented on GitHub (Apr 7, 2022):
Yes, it's on the list for
new-api. I haven't had much time lately, but very much intend to pick up development again.@itpropro commented on GitHub (Sep 1, 2025):
Any news on the recent functionality? Last update is from 2022.
@xbl4z3r commented on GitHub (Dec 19, 2025):
i would also like to know if there is any update on this.. librespot-java doesnt seem to do this and neither does go-librespot which was supposed to be the new replacement for the java version