forked from Rigellute/spotify-tui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ability to seek from the CLI (Rigellute#692)
* Add new `--seek` to jump forward, backwards To jump forward, prepend a + to the number of seconds. To jump backwards, prepend a -. To jump to an absolute position, do not prepend anything. * Add new `%r` to the format options to display the current progress Utilised by the `--seek` option. * Add a longer help to the `--seek` option * Fix formatting * Add checks to prevent underflows + check to jump to next song if new duration is bigger than the duration of the song * Fix formatting * Fix clippy errors * Add more comments
- Loading branch information
1 parent
f805ad4
commit b81fa70
Showing
4 changed files
with
92 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters