[GH-ISSUE #884] "D" to delete playlist does not work #374

Closed
opened 2026-02-28 14:48:46 +03:00 by kerem · 1 comment
Owner

Originally created by @tommyalatalo on GitHub (Sep 11, 2021).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/884

Pressing shift+D according to the keybindings shown in the ? menu does not successfully delete a playlist.

To reproduce:

  1. Start spt
  2. Enter the Playlists section
  3. Select a playlist
  4. Press shift+D to delete the selected playlist
  5. Observe that nothing happens

I'm running spt 0.25.0 on Arch Linux with i3 wm, tried in both tmux and in a straight xfce4-terminal.

Originally created by @tommyalatalo on GitHub (Sep 11, 2021). Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/884 Pressing `shift+D` according to the keybindings shown in the `?` menu does not successfully delete a playlist. To reproduce: 1. Start spt 2. Enter the `Playlists` section 3. Select a playlist 4. Press shift+D to delete the selected playlist 5. Observe that nothing happens I'm running spt 0.25.0 on Arch Linux with i3 wm, tried in both tmux and in a straight xfce4-terminal.
kerem closed this issue 2026-02-28 14:48:46 +03:00
Author
Owner

@majabojarska commented on GitHub (Oct 23, 2021):

On the spotify-tui side, the function that handles the corresponding event (pressed uppercase D on selected playlist) does not seem to execute any API calls (nor delegate the call to another entity).

Deleting a playlist works on ncspot, which uses the user_playlist_unfollow function from Rspotify to unfollow (delete) the playlist. Therefore, this seems fixable - I'll try to tackle this in my free time.

<!-- gh-comment-id:950207488 --> @majabojarska commented on GitHub (Oct 23, 2021): ~On the spotify-tui side, the [function that handles the corresponding event](https://github.com/Rigellute/spotify-tui/blob/9fa978e99518b144f2c45706af2e04401bac5972/src/handlers/playlist.rs#L74) (pressed uppercase `D` on selected playlist) does not seem to execute any API calls (nor delegate the call to another entity).~ Deleting a playlist works on [ncspot](https://github.com/hrkfdn/ncspot/blob/main/src/library.rs#L123), which uses the [user_playlist_unfollow](https://github.com/ramsayleung/rspotify/blob/v0.9/src/blocking/client.rs#L732) function from Rspotify to unfollow (delete) the playlist. Therefore, this seems fixable - I'll try to tackle this in my free time.
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#374
No description provided.