mirror of
https://github.com/Rigellute/spotify-tui.git
synced 2026-04-25 23:55:53 +03:00
[GH-ISSUE #974] Unable to search/play anything with a space from the CLI #431
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#431
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 @B1T3X on GitHub (Apr 17, 2022).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/974
Hi,
I'm trying to play songs from the CLI, but if the song/query has spaces in it, I get an error, it's as if
sptis ignoring any quotation marks or escape characters.An example:
Same if I try with single quotation marks or backslashes/double backslashes, it simply won't work.
Would appreciate some help because I have scoured the web and am simply unable to find anything mentioning such a problem in the issues.
OS: MacOS Monterey 12.3.1
Shell: GNU bash, version 5.1.16(1)-release (aarch64-apple-darwin21.1.0)
Thanks in advance!
@DJTai commented on GitHub (Jun 5, 2022):
@B1T3X --- If you run that command without
--random, does it work? The--randomflag is listed as only working with playlists (is "broken imagine dragons" the name of a Playlist you have? If so you'll want to sub--trackfor--playlist)When I try to use
--track --random, I get:error: The argument '--track' cannot be used with '--random'@B1T3X commented on GitHub (Jun 5, 2022):
It doesn't matter what flags I do or do not pass, if the
--nameflag has a space in its argument, it throws this error@aromeronavia commented on GitHub (Jun 25, 2022):
I think by design this wasn't meant to work like that @B1T3X
From what I tried, you can only play by either using --track or --artist followed by a --name argument
Using any of the previous commands work regarding of blank spaces.
@B1T3X commented on GitHub (Jun 26, 2022):
Why are you running
cargo run?I tried with
spt playand the issue still persists