[PR #525] [MERGED] Handle track saving in non-album contexts (eg. playlist/Made for you). #875

Closed
opened 2026-02-28 14:53:40 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Rigellute/spotify-tui/pull/525
Author: @jackson15j
Created: 7/10/2020
Status: Merged
Merged: 7/24/2020
Merged by: @Rigellute

Base: masterHead: save_tracks_in_non_album_views


📝 Commits (4)

  • 49eb05a Handle track saving in non-album contexts (playlist/Made for you).
  • 4064722 Fixed im/mutable borrow issue in track saving function.
  • 058b291 Removed underscore from used variable name.
  • b63ea7f Merge branch 'master' of github.com:Rigellute/spotify-tui into save_tracks_in_non_album_views

📊 Changes

1 file changed (+11 additions, -0 deletions)

View changed files

📝 src/handlers/track_table.rs (+11 -0)

📄 Description

Saving of tracks used to only work in album view (handled by:
src.handlers.album_tracks.handle_save_album_event).

Add some rough code to get track saving working in other cases. Manually tested
Playlist and Made for you views.

Fixes Rigellute/spotify-tui#495


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Rigellute/spotify-tui/pull/525 **Author:** [@jackson15j](https://github.com/jackson15j) **Created:** 7/10/2020 **Status:** ✅ Merged **Merged:** 7/24/2020 **Merged by:** [@Rigellute](https://github.com/Rigellute) **Base:** `master` ← **Head:** `save_tracks_in_non_album_views` --- ### 📝 Commits (4) - [`49eb05a`](https://github.com/Rigellute/spotify-tui/commit/49eb05a77c5522ceecb6534ae9d58a03ae5b4498) Handle track saving in non-album contexts (playlist/Made for you). - [`4064722`](https://github.com/Rigellute/spotify-tui/commit/4064722261d3044a101f27403593ab471eab63a3) Fixed im/mutable borrow issue in track saving function. - [`058b291`](https://github.com/Rigellute/spotify-tui/commit/058b291435f0dc8d9086b1d21fd448a43d735b9a) Removed underscore from used variable name. - [`b63ea7f`](https://github.com/Rigellute/spotify-tui/commit/b63ea7f7f790f76a4cfa1ff0db4830bab92dbfa5) Merge branch 'master' of github.com:Rigellute/spotify-tui into save_tracks_in_non_album_views ### 📊 Changes **1 file changed** (+11 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `src/handlers/track_table.rs` (+11 -0) </details> ### 📄 Description Saving of tracks used to only work in album view (handled by: `src.handlers.album_tracks.handle_save_album_event`). Add some rough code to get track saving working in other cases. Manually tested `Playlist` and `Made for you` views. Fixes Rigellute/spotify-tui#495 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 14:53:40 +03:00
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#875
No description provided.