mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 09:25:49 +03:00
[GH-ISSUE #135] spotify-player via bash/CLI #60
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#60
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 @lenlennart on GitHub (Feb 16, 2023).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/135
Is your feature request related to a problem? Please describe.
I am looking for a substitution of my current setup using libspotify/mopidy.
Describe the solution you'd like
Control the spotify-player via bash.
Essentially, i would like to issue a bash command on my machine (providing Spotify URI or alike) which then starts steaming the music. I dont want to have to go over the tui.
Describe alternatives you've considered
hmm... no idea.
Additional context
< imagine a screenshot of an empty terminal window here >
@lenlennart commented on GitHub (Feb 16, 2023):
if this is already possible, could you point me to an example/documentation?
@aome510 commented on GitHub (Feb 16, 2023):
I assume that you want a headless
spotify-player. I don't really have any plans to do that asspotify-playeris a TUI application. I think you may want to look into spotifyd.@lenlennart commented on GitHub (Feb 16, 2023):
ok thanks.
spotifyd (just as 99% of the forks of librespot ) requires a dedicated spotify client (eg mobile phone) to operate... so they do me no good.
@aome510 commented on GitHub (Feb 16, 2023):
No iirc,
spotifyditself is a client, so you don't need another one. From the project's README:@lenlennart commented on GitHub (Feb 16, 2023):
Afaik spotifyd is only the deamon supporting the Spotify protocols. Most people seem to use spotify-tui to control it (which offered a nice clean CLI), but thats no longer maintaned. This is why i ended up on your repo in the first place :-)
But thanks anyway, much appreciation!
@lenlennart commented on GitHub (Feb 16, 2023):
FYI - for anyone also interested: librespot-java offers an HTTP-Endpoints which can be served by curling:
https://github.com/librespot-org/librespot-java/tree/dev/api
@sewnie commented on GitHub (Feb 22, 2023):
i think a workaround is to literally spawn
spotify-playerinto an empty shell, and have one of #103 (control and query spotify-player, and other devices) feature request implemented.however, you can simply use
spotifydand control it withplayerctl:D@cheyngoodman commented on GitHub (Apr 26, 2023):
This appears to be related to https://github.com/aome510/spotify-player/issues/42 in terms of replacing other music daemons.
@aome510 commented on GitHub (Apr 26, 2023):
Yeah, I'm aware of this issue and the other one. Currently working on implementing daemon support.