mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 09:25:49 +03:00
[GH-ISSUE #447] CLI command to add tracks to a playlist #1184
Labels
No labels
bug
documentation
enhancement
good first issue
help wanted
pull-request
question
third-party
third-party
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/spotify-player#1184
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?
Originally created by @BenGale93 on GitHub (May 7, 2024).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/447
Is your feature already implemented in the latest
master?Not that I'm aware of.
Is your feature request related to a problem? Please describe.
I'd like to be able to quickly run a command in the CLI to add the current track to my main playlist. This is to reduce the amount of context switching I need to do when I decide I like the song.
Describe the solution you'd like
I have a very rough solution here:
github.com/aome510/spotify-player@b7bfa96dadAdditional context
The solution I have implemented messes with the current API quite badly, specifically passing state into the playlist command. Also, if you run the CLI command whilst the TUI player is open in another terminal the command will just hang and I'm not sure why.
Let me know if you are happy with this feature being included and I'll open a PR we can collaborate on.
@BenGale93 commented on GitHub (May 7, 2024):
Managed to fix the CLI hanging issue by spawning a thread: https://github.com/aome510/spotify-player/compare/master...BenGale93:spotify-player:feat/add-to-playlist
Code is pretty hideous though. Will continue to work on that.
@sylvexn commented on GitHub (Jul 4, 2024):
Adding to this:
Creating a shortcut for adding to Liked Songs as a hotkey as well as adding to specified playlist would be nice.
@vtmocanu commented on GitHub (Jan 10, 2025):
I am also interested in this, i would like to be able to add a trackid to an existing playlist.
Thank you for any suggestions
@aome510 commented on GitHub (Sep 6, 2025):
implemented by #776