aome510 / spotify-player

A Spotify player in the terminal with full feature parity
MIT License
3.63k stars 166 forks source link

repeat track doesn't work #577

Closed elogikalaf closed 1 month ago

elogikalaf commented 1 month ago

I use ctrl + R to set the repeat mode to track, but when the song ends it just goes on to the next song.

To Reproduce use ctrl + R to put repeat mode to track, wait for the song to end.

Expected behaviour the current song should be repeated.

Screenshots image

Environment

aome510 commented 1 month ago

This is expected. Please use ToggleFakeTrackRepeatMode instead if you want to repeat a song. See https://github.com/aome510/spotify-player/issues/247. This is due to a restriction of third-party library that spotify_player cannot fix

elogikalaf commented 1 month ago

thanks this seems to work out. may I ask why even include the repeat track mode? seems a bit misleading

aome510 commented 1 month ago

This doesn't work only for the integrated client provided by librespot (relevant issue: https://github.com/librespot-org/librespot/issues/19). The repeat track mode works when you stream music from external source like official Spotify client