vimify icon indicating copy to clipboard operation
vimify copied to clipboard

Feature Request: List your own playlists

Open benwoodward opened this issue 5 years ago • 6 comments

Would be great to have a command that lists all of your playlists, allowing you to select one to play.

benwoodward avatar Nov 14 '19 11:11 benwoodward

@BachoSeven Added this feature in a fork if you want to try it out: https://github.com/benwoodward/vimify/tree/playlists

benwoodward avatar Jan 06 '20 08:01 benwoodward

@benwoodward Nice! I think the process of generating the client auth token is easier now.

It works, but there's an offset in the selection of playlists, meaning <Enter> actually plays the playlist above the cursor. Other than that, is there a specific reason why the output of ListPlaylists() is limited to 20 results? I raised the minimum to 50 and it works fine.

Also, when a playlist contains >=80 songs, vimify only queues the first 80 songs on the list; and if it has >=160 songs the it queues the first 160(excluding the first one). This, I cannot figure out why.

BachoSeven avatar Jan 06 '20 15:01 BachoSeven

@BachoSeven Great, thanks for testing it.

It works, but there's an offset in the selection of playlists, meaning <Enter> actually plays the playlist above the cursor.

I have an idea about what causes this.

Other than that, is there a specific reason why the output of ListPlaylists() is limited to 20 results? I raised the minimum to 50 and it works fine.

I did raise the query limit to 50, but maybe it wasn't implemented properly. Thanks for flagging this.

Also, when a playlist contains >=80 songs, vimify only queues the first 80 songs on the list; and if it has >=160 songs the it queues the first 180(excluding the first one). This, I cannot figure out why.

Good catch! That's an odd one. Perhaps @HendrikPetertje has some insight into what could cause that. I'll look into it.

benwoodward avatar Jan 07 '20 01:01 benwoodward

@BachoSeven I fixed the offset issue, and the 20 Playlist limit issue. Will look at the other one when I have more time.

benwoodward avatar Jan 07 '20 10:01 benwoodward

wow nice! I will give this a look when I get out of the office today!

HendrikPetertje avatar Jan 08 '20 11:01 HendrikPetertje

Are there updates on this issue?

fira42073 avatar Mar 11 '22 09:03 fira42073