aome510 / spotify-player

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

Jump to currently playing track in the list #484

Open aNNiMON opened 4 days ago

aNNiMON commented 4 days ago

Describe the solution you'd like For those who have more than 1000 tracks in the playlist and use shuffle, it would be nice to have an action to navigate to the currently playing track in the current context. This action can be bound to the key sequence g c or g 0. Actually in Vim there's z z to center the current line under the cursor, but I see z already bound to queue.

Describe alternatives you've considered As an alternative, I suggest adding a way to jump to the track by it's number. Possibly by pressing the # key and typing in a track number. This also requires adding {trackno} to the playback format configuration, so the user can look at the track number, press # (or g space to switch to a context and then #) and jump to that track.