mirror of
https://github.com/Rigellute/spotify-tui.git
synced 2026-04-27 16:45:59 +03:00
[PR #692] [MERGED] Add ability to seek from the CLI #977
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#977
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?
📋 Pull Request Information
Original PR: https://github.com/Rigellute/spotify-tui/pull/692
Author: @OrangeFran
Created: 1/3/2021
Status: ✅ Merged
Merged: 1/8/2021
Merged by: @Rigellute
Base:
master← Head:cli_seek📝 Commits (8)
f6681d3Add new--seekto jump forward, backwardsceb9004Add new%rto the format options to display the current progresse4f6024Add a longer help to the--seekoptionc2addf6Fix formatting416df4cAdd checks to prevent underflows + check to jump to next song if new duration is bigger than the duration of the songf76fee3Fix formattingd9f6eadFix clippy errors35d9209Add more comments📊 Changes
4 files changed (+92 additions, -2 deletions)
View changed files
📝
src/cli/clap.rs(+13 -0)📝
src/cli/cli_app.rs(+70 -2)📝
src/cli/handle.rs(+3 -0)📝
src/cli/util.rs(+6 -0)📄 Description
--seekto jump forward, backwards%rto the format options to display the current progress--seekoptionFor example:
spt pb --seek +10jumps ten second forwards,spt pb --seek -10ten seconds backwards andspt pb --seek 10to the tenth second of the track.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.