mirror of
https://github.com/Rigellute/spotify-tui.git
synced 2026-04-26 16:15:55 +03:00
[PR #1091] [CLOSED] Playlist Editing - Import,Fork,Update,New,Delete #1153
Labels
No labels
bug
enhancement
good first issue
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-tui#1153
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Rigellute/spotify-tui/pull/1091
Author: @justjokiing
Created: 7/4/2023
Status: ❌ Closed
Base:
master← Head:master📝 Commits (5)
6e8283eAdded playlist creation through command line452e39eForgot formata22595eAdded playlist new, delete, import0505b64Added fork, update, and more verbosity51cf7afcleaned up import and error messages📊 Changes
8 files changed (+1590 additions, -537 deletions)
View changed files
📝
Cargo.lock(+785 -535)📝
Cargo.toml(+1 -0)📝
src/cli/clap.rs(+52 -0)📝
src/cli/cli_app.rs(+235 -0)📝
src/cli/handle.rs(+42 -0)📝
src/cli/mod.rs(+3 -1)📝
src/main.rs(+2 -1)📝
src/network.rs(+470 -0)📄 Description
I have added a few command line actions to edit playlists, mainly the import function.
This function adds all tracks from a playlist into one that you own. It keeps track of the state of the imported playlist and if it is imported again, adds any new tracks and prompts for deletion of deleted tracks. The fork function creates an identical playlist from the one prompted and does an import. The update function calls import on all of the previously imported playlists, updating them.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.