mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 09:25:49 +03:00
[GH-ISSUE #336] FR: spotify_player playback start #1119
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#1119
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 @chrisgrieser on GitHub (Jan 15, 2024).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/336
Is your feature request related to a problem? Please describe.
spotify_player playback playdoes continue playback if you have a paused playback. However, it does not start playback if you currently have no playback.Describe the solution you'd like
Add a command
spotify_player playback start. Alternatively, havespotify_player playback playautomatically start playback if there is no paused playback.Describe alternatives you've considered
Starting playback via the web-interface, then immediately running
spotify_player playback pauseresults in a state where you can useplay.Additional context
Using the interactive client (just
spotify_player, thenspace) works to start a playback.@aome510 commented on GitHub (Jan 16, 2024):
I have trouble understanding this feature request. If there is no playback, what kind of playback should the player starts? Note that
spotify_playerdoes provideplayback start context/liked/radiosubcommands that starts a specific playback.@chrisgrieser commented on GitHub (Jan 16, 2024):
The last playback that was active. Assuming I am starting the day, and just want to continue whatever playback I had the day before:
spotify_playerand pressspace, it correctly resumes the last playback from the day before.spotify_player playback play, however, does not behave that way, it errors withBad request: no playback foundApart from the fact that
playback playshould behave like its counterpart,spotify_player playback start contextalso does not work for me to start a specific playback:@aome510 commented on GitHub (Jan 16, 2024):
Thanks for the additional context. Normally, if the listening device becomes inactive for a while, you need to manually
connectto it before controlling the playback.The reason why it works for
spotify_playeris that the app automatically connects to an integrated device if there is no active device on startup. "Alexa, continue" works probably because Alexa itself is a device so it can just connect to itself before controlling the playback. It's difficult fromspotify_playerCLI's perspective as the CLI cannot know which device you want to start the playback.spotify_playerprovidesconnectcommand and you will need manually specify a device's id or name to connect to.no playback foundis not a good error message. Instead, it should include a suggestion telling user to runconnectcommand if there is no active playback.@chrisgrieser commented on GitHub (Jan 16, 2024):
Oh see, thank you. That clears it up.