mirror of
https://github.com/Rigellute/spotify-tui.git
synced 2026-04-27 00:25:53 +03:00
[GH-ISSUE #496] [FEATURE REQUEST] Flags for skip, pause/play #206
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#206
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 @tomkdale on GitHub (Jun 11, 2020).
Original GitHub issue: https://github.com/Rigellute/spotify-tui/issues/496
I would love it if I could do a couple of very simple commands without opening up the full tui. Play/pause, skip, prev songs using flags. Being apply to run a
spt -nto just skip a song and keep working would be great.@Utagai commented on GitHub (Oct 10, 2020):
Look into things like
playerctlif you're on Linux, which does what you want generically for various music players. The Spotify desktop client,spotifyd, etc, all listen to it.If you're on OSX, you'll probably have to use some combination of
osascriptand theAppleScriptdictionaries for your apps? That said, I imagine you may already have media keys to do this quicker.Windows, no idea.
@deadlysyn commented on GitHub (Nov 11, 2020):
I've used playerctl with the electron client, but the same key binds (
playerctl {next,previous,etc}) don't seem to work out of the box for me on arch, spotifyd, spotify-tui. I'm sure it's a config tweak I'm missing. Will post back if tracked down.Edit: For some reason, manually running
platerctl -p spotifyd {next,previous,etc}from CLI works fine but if it's bound toXF86AudioNext, etc. (arch, bspwm, sxhkd) it just freezes X and I have to kill it from another vty. Likely something specific to my system, but worked fine with electron.@Utagai commented on GitHub (Nov 11, 2020):
I don't have experience with
bspwmso I can't really help you with what your system seems to be having issues with. You're most likely correct that it's a problem with your system (I have three Linux machines that have worked fine with this, Arch + i3, Debian + i3, and Ubuntu + i3, all bound toXF86AudioNextand friends, same as you).You may be interested in opening up a tty or whatever it is called and looking at
~/.xsession-errorsfor any noise when X freezes. I would imagine it may have something useful.@Rigellute commented on GitHub (Feb 4, 2021):
You can do this now using the new cli commands!