Open r4v3n6101 opened 2 years ago
Yea, it seems that some extra communication is needed within librespot to notify Spotify that tracks are played. That would have to be reverse engineered, as there is no Web API for this (I believe).
This PR is related: https://github.com/librespot-org/librespot/pull/891
has this been implemented yet? the PR was merged and i can't seem to see if the listening broadcast is working.
Hello, @wael444. No, seems it hasn't made any progress. Continuation of issue's here: https://github.com/librespot-org/librespot/discussions/917
wait, how come it works for spotifyd then?
Haven't already watched spotifyd
but my guess is using custom defined request for providing listening info.
wait, how come it works for spotifyd then?
Not sure it does: https://github.com/Spotifyd/spotifyd/issues/1064
I think it is possible to implement track listening status, but maybe not track logging. After cloning and looking around the codebase myself I think the way that it works is by playing it through a registered device. The spotify connect protocol probably handles the status display. This could be the reason that using spotify-tui
and spotifyd
makes the status visible, or using plain librespot
and your phone also works. My source is my discord status (and some spotify API calls). This could all be completely wrong but this is what I can contribute.
This still does not work right?
Is your feature request related to a problem? Please describe. Seems that Spotify 2021 Wrapped doesn't count tracks played in ncspot.
Describe the solution you'd like Make a new request to the server notifying user is listening something.
Describe alternatives you've considered TBH I don't know how SpotifyAPI works so I can't do any other assumptions. Here might be discussion to solve something unclear.