mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 09:25:49 +03:00
[GH-ISSUE #435] Spotify Player only works when Spotify client is open and not on its own with streaming? #237
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#237
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 @wallysaurus on GitHub (Apr 28, 2024).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/435
I'm just trying to use the terminal on its own without needing to have the spotify client open in the background. I'm not sure how I did this before, I had to reset my arch linux today.
I've followed the documentation very precisely. All I get is this: "No playback found."
@wallysaurus commented on GitHub (Apr 28, 2024):
side note, I installed spotify_player with
cargo install spotify_player --no-default-features --features pulseaudio-backend,lyric-finder,streaming,notify,sixel --force@mrfatboy commented on GitHub (Apr 28, 2024):
I have the same problem. Also to add to this issue, if i do add a device first with the Spotify client, which it does then shows up in spotify_player, the device disappears after awhile if music is paused.
Is there a way to have spotify_player remember a device? My use case is building a stand alone player that is controllable via home automation. if spotify_player keeps forgetting the playable device I think I hit a dead end with this solution.
@wallysaurus commented on GitHub (Apr 28, 2024):
There is a CLI command to manually connect via name/id. Might wanna check that out.
@aome510 commented on GitHub (Apr 28, 2024):
@wallysaurus. I don't really understand the issue you're facing. Can you elaborate and share any log/backtrace? Note that with streaming feature and a working audio backend, you don't need any other Spotify clients to run the app.
@wallysaurus commented on GitHub (Apr 28, 2024):
As shown in my installation command above, I installed both

streamingandpulseaudio-backend, and properly authenticated my spotify account, yet when im inside the spotify_player gui, I am unable to play any songs due to "No playback found."@wallysaurus commented on GitHub (Apr 28, 2024):
@wallysaurus commented on GitHub (Apr 28, 2024):
Also worth noting I have
pipewire-pulse-1:1.0.5-1installed rather thanpulseaudio-17.0-3@aome510 commented on GitHub (Apr 28, 2024):
Interesting, based on the log, this issue seems to happen because handling a
StartPlaybackrequires some playback, which it shouldn't be. One thing that I don't understand is that afterTransferPlaybackis successfully handled, there should be some playback. That's why I never encountered such problem before.@aome510 commented on GitHub (Apr 29, 2024):
@wallysaurus should be fixed with #439, e.g
StartPlaybackshould not return an error when the playback is not available. Can you try the latestmaster?@wallysaurus commented on GitHub (Apr 30, 2024):
Doesn't seem like anything's changed on my end.
cargo install --git https://github.com/aome510/spotify-player --features lyric-finder,image,notifyis what i ran to update it, let me know if i'm installing wrong.@aome510 commented on GitHub (Apr 30, 2024):
Can you share the new log? The install command looks good to me
@wallysaurus commented on GitHub (May 1, 2024):
@aome510 commented on GitHub (May 1, 2024):
Can you try running
cargo install --gitagain? Maybe the git repo is not up-to-date when you ran the command. Also, can you make sure that the binary in.cargo/bin/is run, e.g what is output ofwhich spotify_player? Normally, I recommend people to checkout the repo and runcargo run, butcargo install --gitshould also work.