mirror of
https://github.com/aome510/spotify-player.git
synced 2026-04-26 09:25:49 +03:00
[GH-ISSUE #724] Parameterized Seek{Backward,Forward} command (for keymaps) #1364
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#1364
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 @sandersantema on GitHub (May 15, 2025).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/724
Is your feature already implemented in the latest
master?Please go through the Features README page to make sure your request feature hasn't been implemented.
No.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Currently I use the official spotify client together with spicetify and some custom code for their vim like keybindings extension. The custom code allows me to seek forward/ backward by an amount specified by me, that is, I use
wandeto seek backwards and forwards by 100secs respectively andWandEto seek backwards and forwards by 20secs respectively. I'd like to be able to do the same in spotify-player. If you're wondering what my use case is: music discovery, I check out a lot of songs and often don't need to hear the whole song to know whether it is worth listening to in detail, quickly skipping through a song and hearing some snippets is enough.Describe the solution you'd like
I'd like a configurable seek amount, something like:
Or alternatively just by changing the original
Seek{Backward,Forward}commands, but I think both commands are useful as not every body will need a configurable seek amount.Describe alternatives you've considered
I've considered seeking by a configurable amount using
playerctlbut that would require support for executing shell commands using keybindings, which isn't supported afaik.@Valkyrja-Design commented on GitHub (Aug 5, 2025):
Hi @aome510 , if this is still available can I take this up? I skimmed through the code a bit, do you think it'd be good to modify the
SeekForward/SeekBackwardenum variants to accept anOption<i32>as the seek duration withNonemeaning to useAppConfig::seek_duration_secsand the specified duration otherwise?@aome510 commented on GitHub (Aug 5, 2025):
Yes, feel free to take this. AFAICT, there is no active PR to implement this feature. Your approach sounds good to me!