Alex Yong
Alex Yong
Also when the bug happens, I noticed this: Hitting next track button or whatever just plays the same song over and over. Selecting a new playlist and starting that will...
Yeah barring a proper fix either on `spotify-player` or `librespot` my vote for a temp fix would be having the application detecting when it's in a loop like this and...
Running the `RestartIntegratedClient` command helps get the player unstuck; although you have to go back into the playlist, queue or whatever you were playing.
I am getting a lot of theses in my logs now ``` 2025-02-11T21:45:31.147190Z ERROR librespot_playback::player: Unable to load audio item: Error { kind: FailedPrecondition, error: FaultyRequest(INVALID_CREDENTIALS) } 2025-02-11T21:45:31.165698Z WARN librespot_connect::spirc:...
Just saw this again now ``` 2025-02-12T15:47:34.233796Z INFO spotify_player::token: Got new token: Token { access_token: "", expires_in: TimeDelta { secs: 3600, nanos: 0 }, expires_at: Some(2025-02-12T16:47:34.233779Z), refresh_token: None, scopes: {}...
More logs. Looks like we do refresh the token but we do it multiple times. ``` 2025-02-12T20:09:55.382490Z INFO spotify_player::streaming: Got a new player event: Changed { playable_id: Track(TrackId("2r1yo1u0PHegpetacdrHh2")) } 2025-02-12T20:09:55.382751Z...
So I made a PR (against my local branch) that _sometimes_ works, but other times, runs into the same issue. https://github.com/alexjyong/spotify-player/pull/1 Logs ``` 2025-03-03T17:32:00.905532Z INFO client_request{request=GetCurrentPlayback}: spotify_player::client::spotify: Attempting to refresh...
Update, while my changes appear to be more stable that whats in master at present, eventually, we run into an error where the song will play silently. You can navigate...
I went and made a PR against upstream master with what I have so far. At this point, I figure it's better than nothing, as it does partially fix it....
I kinda wonder @justynpride if it would be worth mentioning in the README that hi.events is the better project to go after. I can whip up a PR for that.