spotify-tui
spotify-tui copied to clipboard
[Feature Request] Sorting within panes
Originally I wanted to make a feature request for sorting playlists in the playlist pane. However it dawned on me that a general sorting function applicable to any pane might be a more useful, if possible. Then down the line it could be extended with 'sort by album, length, etc'.
This is somewhat tricky as this sorting ideally needs to happen on the server due to spotify's pagination of results. To my knowledge, sorting is not a feature exposed by their API. I'll leave this open in case it becomes possible in the future.
The alternative is for spotify-tui to fetch all the results and then sort in memory. This could be problematic on large playlists/result pages
That makes sense, would it be possible to at least fetch/cache/sort solely for the playlist names in the playlist pane on the left? I'm a serial playlist maker and I have a large amount of playlists. As it is currently, it's kind of a pain to find my playlists in the order they appear in. Also I've been itching to learn rust, if you believe this may be a beginner friendly task or have relevant resources you can provide I would be glad to take a stab at it.