nvim-spotify icon indicating copy to clipboard operation
nvim-spotify copied to clipboard

Toggling shuffle

Open pyfb78 opened this issue 2 years ago • 6 comments

I can only shuffle the playlist if I go to spotify-tui and then toggle shuffle. I was wondering if there was a way I could do this inside neovim or if this is a feature that has not been added yet.

pyfb78 avatar Jul 23 '22 18:07 pyfb78

Hi @pavanscoding, currently this hasn't been added yet. But thanks for letting me know, I'll consider adding it in the next update.

KadoBOT avatar Jul 24 '22 08:07 KadoBOT

Ah ok. Thank you so much! I was also wondering if there was a way for me to choose a song inside of the playlist or will I always have to start with the first song?

pyfb78 avatar Jul 24 '22 10:07 pyfb78

I believe that when I wrote this plugin, this was something that was not possible to do with spotify-tui, but I can have another look and add it if this is available.

KadoBOT avatar Jul 25 '22 04:07 KadoBOT

Shuffle is available in the plugin now: https://github.com/KadoBOT/nvim-spotify/commit/e0eab277ebce4ce4f4e1c8545ac61da209ee694f

KadoBOT avatar Jul 25 '22 05:07 KadoBOT

Shuffle is available in the plugin now: e0eab27

Thanks! It works great! Also, is it possible to have the shuffle symbol on the status bar to let the user know that it is shuffled? Here is one from nerd fonts 咽

I believe that when I wrote this plugin, this was something that was not possible to do with spotify-tui, but I can have another look and add it if this is available.

At least on the version of spt I'm using, I am able to choose the songs.

pyfb78 avatar Jul 25 '22 05:07 pyfb78

Hey, this would demand more time, but I'll have a look ASAP.

KadoBOT avatar Jul 26 '22 15:07 KadoBOT