[GH-ISSUE #307] Support Playlist Folders #124

Open
opened 2026-02-28 14:47:12 +03:00 by kerem · 8 comments
Owner

Originally created by @AlexSWall on GitHub (Feb 23, 2020).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/307

Currently the playlists folder structure (within the Spotify app) are flattened and any folders are not shown; instead, a flat ordering is shown, which can be problematic when one has many playlists ordered by such a folder system.

It would be great if there were support for these folders, perhaps allowing one to fold and unfold them (e.g. vim folds style) or instead browser into them and back.

Originally created by @AlexSWall on GitHub (Feb 23, 2020). Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/307 Currently the playlists folder structure (within the Spotify app) are flattened and any folders are not shown; instead, a flat ordering is shown, which can be problematic when one has many playlists ordered by such a folder system. It would be great if there were support for these folders, perhaps allowing one to fold and unfold them (e.g. vim folds style) or instead browser into them and back.
Author
Owner

@Rigellute commented on GitHub (Feb 24, 2020):

My understanding is that the Spotify API returns this flat folder structure too? Not too sure though.

<!-- gh-comment-id:590238033 --> @Rigellute commented on GitHub (Feb 24, 2020): My understanding is that the Spotify API returns this flat folder structure too? Not too sure though.
Author
Owner

@TimotheeGerber commented on GitHub (Apr 22, 2020):

The Spotify Web API, as explained in the documentation, does not support folders.

Folders are not returned through the Web API, nor can be created using it.

If you really want such a feature in spotify-tui, you should ask the Spotify team to extend their API first. But it seems that they are not going to do it, according to this closed issue.

<!-- gh-comment-id:617702410 --> @TimotheeGerber commented on GitHub (Apr 22, 2020): The Spotify Web API, as explained in the [documentation](https://developer.spotify.com/documentation/general/guides/working-with-playlists/), does not support folders. > Folders are not returned through the Web API, nor can be created using it. If you really want such a feature in `spotify-tui`, you should ask the Spotify team to extend their API first. But it seems that they are not going to do it, according to this [closed issue](https://github.com/spotify/web-api/issues/38#issuecomment-396925978).
Author
Owner

@AlexSWall commented on GitHub (Apr 28, 2020):

Shame. Thanks for the replies.

<!-- gh-comment-id:620608041 --> @AlexSWall commented on GitHub (Apr 28, 2020): Shame. Thanks for the replies.
Author
Owner

@AlexSWall commented on GitHub (Apr 28, 2020):

That said, would this be worth investigating?
https://github.com/mikez/spotify-folders
I am very keen to have folders (it's not practical to manage my 200+ playlists otherwise), and could feasibly look into this when I have more time if it seems like a sensible approach for spotify-tui.
(Even if it's an optional add-on which needs to be enabled.)

<!-- gh-comment-id:620612026 --> @AlexSWall commented on GitHub (Apr 28, 2020): That said, would this be worth investigating? https://github.com/mikez/spotify-folders I am very keen to have folders (it's not practical to manage my 200+ playlists otherwise), and could feasibly look into this when I have more time if it seems like a sensible approach for spotify-tui. (Even if it's an optional add-on which needs to be enabled.)
Author
Owner

@AlexSWall commented on GitHub (Aug 24, 2020):

I've added a PR to that repo which adds playlist names to the JSON output, which would be needed for this feature.

<!-- gh-comment-id:679120330 --> @AlexSWall commented on GitHub (Aug 24, 2020): I've added a PR to that repo which adds playlist names to the JSON output, which would be needed for this feature.
Author
Owner

@stpnwf commented on GitHub (Nov 1, 2021):

I've added a PR to that repo which adds playlist names to the JSON output, which would be needed for this feature.

Any update if this feature can be implemented through this work around? It would be awesome if folders were supported in this application.

<!-- gh-comment-id:956452985 --> @stpnwf commented on GitHub (Nov 1, 2021): > I've added a PR to that repo which adds playlist names to the JSON output, which would be needed for this feature. Any update if this feature can be implemented through this work around? It would be awesome if folders were supported in this application.
Author
Owner

@AlexSWall commented on GitHub (Nov 1, 2021):

Due to this issue I moved back to using the standard Spotify client soon after opening that PR (as the lack of folder support is a complete non-starter for my 350 playlist Spotify account) so I've not been planning on looking into perfecting the PR there, getting it merged, and then trying to get that added here (as I suspect the final stage will be a faff), but I suspect someone else could easily take my changes there, amend them as suggested in the PR comments, and have at least the concept in theory working properly. If I can ease that process somehow I'm happy to help.

<!-- gh-comment-id:956820851 --> @AlexSWall commented on GitHub (Nov 1, 2021): Due to this issue I moved back to using the standard Spotify client soon after opening that PR (as the lack of folder support is a complete non-starter for my 350 playlist Spotify account) so I've not been planning on looking into perfecting the PR there, getting it merged, and then trying to get that added here (as I suspect the final stage will be a faff), but I suspect someone else could easily take my changes there, amend them as suggested in the PR comments, and have at least the concept in theory working properly. If I can ease that process somehow I'm happy to help.
Author
Owner

@KuSi833 commented on GitHub (Jul 5, 2022):

spotify_folders seems to also support names since this commit: github.com/mikez/spotify-folders@d699e36add. I wanted to continue on the work of @AlexSWall but to my surprise the folder names were already present in the json output.

<!-- gh-comment-id:1175342551 --> @KuSi833 commented on GitHub (Jul 5, 2022): [spotify_folders](https://github.com/mikez/spotify-folders) seems to also support names since this commit: https://github.com/mikez/spotify-folders/commit/d699e36add311feefa97056c443539193c9e5f43. I wanted to continue on the work of @AlexSWall but to my surprise the folder names were already present in the json output.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-tui#124
No description provided.