Henrik Friedrichsen
cea5228245
(Re)store currently playing track + shuffle state
...
Solves #448
2021-04-09 19:10:34 +02:00
Henrik Friedrichsen
0f573f8247
Refactor: Make Spotify cloneable
2021-04-03 22:35:08 +02:00
Henrik Friedrichsen
d2edfc3caf
rename as_boxed_view_ext to into_boxed_view_ext
2021-03-22 22:36:33 +01:00
Henrik Friedrichsen
a0231362f1
implement logout command
...
fixes #470
2021-03-22 21:56:50 +01:00
KoffeinFlummi
df87ff9bdd
Implement cover drawing as optional feature
2021-02-27 13:14:49 +01:00
Henrik Friedrichsen
92d1978340
Save track queue when closing and restore at start
2021-02-22 22:14:34 +01:00
Henrik Friedrichsen
7f5856dfb6
open search results in search screen
...
fixes #413
2021-02-02 20:54:18 +01:00
Henrik Friedrichsen
9afad2d91c
cargo fmt/clippy
2021-01-10 01:54:54 +01:00
Henrik Friedrichsen
18dc6c6bf8
separate search and search results
...
fixes #219
2021-01-09 22:55:41 +01:00
Henrik Friedrichsen
9639115f48
show confirmation dialog before deleting queue
...
fixes #227
2021-01-03 23:13:53 +01:00
Henrik Friedrichsen
3c66379cc6
fix search command and update docs
...
fixes #353
2021-01-02 22:18:41 +01:00
JojiiOfficial
5fefe9eec3
Add hjkl controls for AddToPlaylistMenu ( #335 )
...
* Add hjkl controls for AddToPlaylistMenu
* turn off autojump in contextmenu for vim bindings
Co-authored-by: Henrik Friedrichsen <henrik@affekt.org >
2020-12-13 20:41:22 +01:00
Bolli
d88ea93a94
feat: create new empty playlist via command ( #272 )
...
* feat: create new empty playlist via command
- type :newplaylist <name> to create a new playlist
fixes #242
* use full argument string for playlist name
Co-authored-by: Henrik Friedrichsen <henrik@affekt.org >
2020-10-25 17:57:49 +01:00
Saul Chavez Sanchez
c9d02507ac
Increase/Decrease volume by 5 ( #298 )
...
* Increase/Decrease volume by 5
* Fixed static value
* use fallback value in case parsing fails
fixes #282
Co-authored-by: Henrik Friedrichsen <henrik@affekt.org >
2020-10-22 20:21:49 +02:00
Henrik Friedrichsen
013beb245b
refactor: pass globally mutable config reference
...
Before, copies of the configuration were passed over. This change also
causes configuration reloads to affect the entire application and is
easier to maintain but introduces some RwLock overhead.
2020-10-18 13:09:45 +02:00
Bolli
79093eca1e
feat: add insert command to paste spotify links ( #277 )
...
* feat: add insert command to paste spotify links
- use Ctrl-v to paste from clipboard or use :insert without an argument
* fix: handle paste on disabled clipboard feature
* fix: handle wrong URIs
Co-authored-by: Henrik Friedrichsen <henrik@affekt.org >
2020-10-09 19:26:52 +02:00
Moshe Sherman
f2b4f01242
Vim like search ( #279 )
...
* add quick search within a list
* vim like search navigation
* close cmd line with esc
* format
* document changes in README
2020-10-05 13:50:12 +02:00
Moshe Sherman
fc79889665
play next ( #278 )
...
* add play next feature
* fix play_next insertion order
* fix play_next call for playable
* document play_next shortcut + reformat
Co-authored-by: Henrik Friedrichsen <henrik@affekt.org >
2020-10-04 16:58:55 +02:00
Moshe Sherman
c4ec1a9122
give proper name to the space key
...
fixes #266
2020-09-16 08:56:50 +02:00
Henrik Friedrichsen
6f7b64c908
cargo clippy
2020-08-23 21:00:29 +02:00
Henrik Friedrichsen
1edf28a165
make contextmenu aware of commands
...
e.g. to process vim-like keybindings for navigation
fixes #108 , fixes #157 , fixes #178 , fixes #199 , fixes #250
2020-08-23 20:44:03 +02:00
Henrik Friedrichsen
4f71b2489b
implement command to reload config ( #243 )
...
* implement command to reload themes
* refresh keybindings after config reload
2020-08-12 01:12:08 +02:00
Henry Snopek
0f08a56f90
[feat] add Command::Noop
2020-06-25 15:45:53 +02:00
Henrik Friedrichsen
65126c5c78
add configuration value to drop default keybindings
...
resolves #204
2020-06-18 19:33:46 +02:00
Henrik Friedrichsen
4e7af1c920
add command/binding to jump to currently playing track
...
fixes #181
2020-04-18 21:57:41 +02:00
Henrik Friedrichsen
705a54c08c
reformat + remove redundant closure
2020-04-02 21:21:51 +02:00
Marcin Sobczyk
07be9dc48d
Command::Move: Add support for extreme moves
...
This patch adds a 'MoveAmount' enum that permits movements by integer
values or to abstract extremes which loosely translate to "top" for up
direction, "bottom" for down direction, etc. The goal behind the effort
is to add support for buttons like "Home" and "End".
The new enum has a 'Default' impl that yields a value of integer
movement by 1 field. This replaces the previous 'Option' wrap, that
in fact served the same purpose, with the value of '1' scattered
around different places in code.
Along with the enum, new commands have been defined to make use of it:
- "move top"
- "move bottom"
- "move leftmost"
- "move rightmost"
2020-03-31 10:49:08 +02:00
Henrik Friedrichsen
082675a5d7
push help view to stack instead of making it a separate screen
...
fixes #157
2020-03-21 15:51:35 +01:00
Henrik Friedrichsen
dccb36d8e7
update to rust edition 2018 + bump version
2020-03-15 11:06:24 +01:00
Henrik Friedrichsen
fa960a4eba
add initial help screen + keybinding -> command parsing
...
still needs some more work, i.e. to show commands in help instead of parsed data
structures, but it's a start.
fixes #117
fixes #121
2020-02-02 21:51:40 +01:00
Henrik Friedrichsen
bf2a72ad81
expose keybindings in CommandManager for help view
2020-02-02 20:38:55 +01:00
Henrik Friedrichsen
8924b85390
fix deprecation warnings that occured due to cursive 0.14.0 upgrade
2020-02-02 20:10:21 +01:00
Jonas Frei
9916d2c7b8
Changed 'seek' keybinding to match ncmpcpp and added fast-seek
2020-01-21 21:39:06 +01:00
Henrik Friedrichsen
a5da4897de
implement software volume mixing
...
closes #115
2020-01-11 18:11:41 +01:00
Henrik Friedrichsen
bde9db2c38
fix parsing of '+' keybinding
...
since it is also the delimiter for keybindings with modifiers, it needs special
treatment
2020-01-11 18:09:43 +01:00
Henrik Friedrichsen
85e9e99d87
rebind + change playlist update command to update entire library
2019-11-30 17:13:41 +01:00
thiagolopes
bd52869cce
Add emacs navigation keybindings
2019-10-06 00:13:53 -03:00
Henrik Friedrichsen
d213e8a54c
introduce new context menu for simplified controls
...
as outlined in #75
2019-06-10 00:07:18 +02:00
Henrik Friedrichsen
b59e9b38e6
add CommandResult for modal views
2019-06-09 23:55:12 +02:00
Rasmus Larsen
5500b34887
Remove dead code
2019-05-21 16:34:50 +02:00
Rasmus Larsen
4343343ee7
Implement silent default non-behaviour of a few commands
2019-05-21 16:05:12 +02:00
Rasmus Larsen
1e0d9ea952
Handle default command behavior
2019-05-21 16:01:56 +02:00
Rasmus Larsen
0beaa82a1f
Clippy fixes
2019-05-20 22:32:28 +02:00
Rasmus Larsen
1671db14c1
Move to enum-based commands
2019-05-20 22:15:12 +02:00
Rasmus Larsen
9ec80ac668
Remove unused imports
2019-05-10 13:07:12 +02:00
Rasmus Larsen
224597ae92
Move share command handling completely to ListView
2019-05-10 12:55:22 +02:00
Rasmus Larsen
4897d97931
Move URL handling to relevant structs and share selected song
2019-05-09 16:04:07 +02:00
Rasmus Larsen
a145d73072
Move keybind to
2019-05-08 18:45:10 +02:00
Rasmus Larsen
de1dea5c68
Add a keybind and shortcut to share the currently playing song
2019-05-07 23:39:15 +02:00
KoffeinFlummi
dce2f76f6e
Rewind to start on previous cmd
2019-04-28 11:43:15 +02:00