Commit graph

206 commits

Author SHA1 Message Date
figsoda
14d49aa6fa remove redundant variable declaration 2020-11-13 17:32:14 -05:00
figsoda
1c1d913c7d reduce default size of player state textbox 2020-11-12 19:58:01 -05:00
figsoda
e480a2214a improve error messages 2020-11-12 19:50:16 -05:00
figsoda
6ca9811563 filter from filtered list when appending to query 2020-11-12 19:43:38 -05:00
figsoda
c316bbab14 rename ClearQuery to QuitSearch 2020-11-12 19:24:02 -05:00
figsoda
11246d5798 remove unecessary use of AtomicBool 2020-11-12 19:21:50 -05:00
figsoda
9ac48c8928 sort command line flags and options 2020-11-10 18:33:10 -05:00
figsoda
5ae5151a4c fix delay after quitting search with empty query 2020-11-10 12:56:40 -05:00
figsoda
6d120a8244 play song if stopped when toggling pause 2020-11-10 12:48:49 -05:00
figsoda
2b3d0799a7 add --[-no]-clear-query-onl-play flags 2020-11-09 16:28:23 -05:00
figsoda
1f2974f89f add clear_query_on_play config 2020-11-09 16:24:30 -05:00
figsoda
a2eba025f7 only reselect if queue was filtered on escape 2020-11-09 16:15:52 -05:00
figsoda
ee11bcd682 use lower case for value names 2020-11-09 14:47:34 -05:00
figsoda
50f4ab5dd4 change value names of the cli 2020-11-09 07:42:20 -05:00
figsoda
320801c4d3 clean up the usages of references 2020-11-08 19:59:01 -05:00
figsoda
1a5f5263b0 change the atomic orderings to relaxed 2020-11-08 17:36:54 -05:00
figsoda
83593262f0 reselect after query getting truncated 2020-11-08 11:52:39 -05:00
figsoda
e7950ae48e reselect after quitting search mode 2020-11-08 11:47:03 -05:00
figsoda
39c1e77649 change QuitSearch to ClearQuery 2020-11-07 12:59:31 -05:00
figsoda
06cec0e815 allow down, up, page down, page up when searching 2020-11-07 12:51:57 -05:00
figsoda
413ac27840 handle resizing and allow scrolling when searching 2020-11-07 11:09:07 -05:00
figsoda
ece9fb4706 clean up 2020-11-06 21:52:53 -05:00
figsoda
766c012e13 skip if queue is empty 2020-11-06 17:59:14 -05:00
figsoda
46d2ddc992 replace if let with map_or 2020-11-06 08:55:45 -05:00
figsoda
4e5439bf7f clean up 2020-11-05 19:19:01 -05:00
figsoda
9207a26a39 switch from ron::from_str to ron:🇩🇪:from_bytes 2020-11-05 16:40:35 -05:00
figsoda
eca9e6d520 switch from unmaintained dirs crate to dirs-next 2020-11-05 12:10:07 -05:00
figsoda
d1a15152be put flatten's arguments into a struct 2020-11-05 10:07:23 -05:00
figsoda
bf0f8a0077 put eval_cond's arguments into a struct 2020-11-05 09:43:55 -05:00
figsoda
9771b68e6b add config field search_fields 2020-11-04 19:07:22 -05:00
figsoda
10dc2072e9 tweak description 2020-11-04 17:51:46 -05:00
figsoda
f47d13eb57 only update search when needed 2020-11-04 17:34:24 -05:00
figsoda
2e4db1b21b fix crash after searching 2020-11-04 16:26:58 -05:00
figsoda
7424834e7a clean up 2020-11-04 16:19:27 -05:00
figsoda
dbebc9c9ac add Condition::Filtered 2020-11-04 14:22:19 -05:00
figsoda
190b5a5928 fix typo 2020-11-04 14:18:27 -05:00
figsoda
4bb5b76efe remove unecessary usage of String::from 2020-11-04 12:30:05 -05:00
figsoda
14faf62864 ability the search and filter the queue 2020-11-04 12:19:22 -05:00
figsoda
7029aaf030 clean up 2020-11-04 09:28:29 -05:00
figsoda
244411fe34 remove escape as a binding to quit 2020-11-04 08:42:07 -05:00
figsoda
75a9f2378e clean code 2020-11-04 08:15:34 -05:00
figsoda
ed20688e1b clean up 2020-11-03 17:20:51 -05:00
figsoda
25d4812d6f add no_cycle flag and change cycle to a flag 2020-11-03 15:34:59 -05:00
figsoda
cd00e3e6ed tweak wording 2020-11-03 09:40:37 -05:00
figsoda
53523a84e5 allow too many arguments 2020-11-03 08:40:07 -05:00
figsoda
8774e1d91a add QueueCurrent condition and update defaults 2020-11-03 08:11:41 -05:00
figsoda
c077953b88 don't fill extra zeros before the minute number 2020-11-03 07:36:42 -05:00
figsoda
4b5c314090 add key binding to stop playing 2020-11-02 19:12:58 -05:00
figsoda
d2c83f4fb2 remove some short flags 2020-11-02 18:57:13 -05:00
figsoda
e2dfdeb615 replace referenced Vecs with referenced slices 2020-11-02 18:45:49 -05:00
figsoda
901dbcdb83 replace range loop with enumerate 2020-11-02 18:43:00 -05:00
figsoda
7d1266db3b replace and_then with and 2020-11-02 18:37:34 -05:00
figsoda
762207c1bc collapse else if block 2020-11-02 18:22:30 -05:00
figsoda
31424645e8 sort fields 2020-11-02 17:10:35 -05:00
figsoda
caf3200866 add defaults for layout and config file 2020-11-02 16:44:33 -05:00
figsoda
60eb3ea74a accept command line arg to override config 2020-11-02 12:50:06 -05:00
figsoda
69bddc0cdc allow changing config file via command line 2020-11-02 12:14:54 -05:00
figsoda
b67f8bb052 move struct definition before functions 2020-11-02 11:19:45 -05:00
figsoda
49b893db42 allow configuring socket address 2020-11-02 09:41:57 -05:00
figsoda
694aa5731f add keybindings to seek backwards/forwards 2020-11-02 09:35:19 -05:00
figsoda
9a4a3ec662 toggle repeat, random, single, oneshot and consume 2020-11-02 08:33:06 -05:00
figsoda
6a4bc936d4 ability to play previous or next song 2020-11-01 19:19:46 -05:00
figsoda
9c45c782a1 genericize mpd commands with no response 2020-11-01 18:39:04 -05:00
figsoda
ab2ee843a4 add missing newline 2020-11-01 16:39:32 -05:00
figsoda
5a4edc3da1 idle for status change and reduce default ups 2020-11-01 16:25:11 -05:00
figsoda
c87c11c908 update status after toggling pause 2020-11-01 15:43:17 -05:00
figsoda
99562b90ad allow detecting player state 2020-11-01 15:23:31 -05:00
figsoda
fcf106b0e3 rename variables 2020-11-01 14:58:15 -05:00
figsoda
b65eeec849 add widgets TextboxL, TextboxC, and TextboxR 2020-11-01 14:56:46 -05:00
figsoda
1de2d3a0f2 allow styling queue widget 2020-11-01 14:29:39 -05:00
figsoda
1aedeb45c3 allow scrolling with mouse 2020-11-01 14:10:14 -05:00
figsoda
d5cd92ae3a press spacebar to reset selection 2020-11-01 12:02:59 -05:00
figsoda
25e6644f30 scrolling up now try to only move the selection 2020-11-01 11:54:18 -05:00
figsoda
3221fcf1de ability to add or remove modifiers from text 2020-11-01 09:53:35 -05:00
figsoda
70e8ddbe94 update status after playing selected song 2020-11-01 09:33:10 -05:00
figsoda
c1ed51b2a9 jump over multiple lines with keybindings 2020-11-01 09:22:10 -05:00
figsoda
91d584ba3b ability to play the selected song 2020-11-01 08:48:44 -05:00
figsoda
6d297fe725 ability to toggle pause 2020-10-31 22:25:11 -04:00
figsoda
e7a580441d update status in main loop instead of thread 2020-10-31 22:19:50 -04:00
figsoda
0b950d8edd allow setting foreground and background of texts 2020-10-31 18:06:10 -04:00
figsoda
d30a48f984 refactor 2020-10-31 16:53:49 -04:00
figsoda
2797536e6f show the two hidden tracks 2020-10-31 15:40:34 -04:00
figsoda
6d7579002d add missing semicolons 2020-10-31 15:37:20 -04:00
figsoda
3f1a4b138c fix crash when queue is empty 2020-10-31 15:34:15 -04:00
figsoda
7f7d7cd422 actually update selection after updating queue 2020-10-31 15:26:19 -04:00
figsoda
fbe05996fd update selection after updating queue 2020-10-31 15:22:17 -04:00
figsoda
06db49324e naviagte through queue via j/k/down/up 2020-10-31 15:19:45 -04:00
figsoda
cab3baad34 remove unused feature attribute 2020-10-31 14:22:51 -04:00
figsoda
3e3b9cc22e fix hang after quitting 2020-10-31 14:04:36 -04:00
figsoda
c3d784730c fix typo 2020-10-31 13:52:00 -04:00
figsoda
45d8523b3d replace IfNot with Not, And, Or and Xor 2020-10-31 13:33:51 -04:00
figsoda
15d1ec67a8 improve error messages 2020-10-31 12:58:10 -04:00
figsoda
a155feb233 refactor 2020-10-31 11:50:14 -04:00
figsoda
2fc23792a4 remove redundant cleanup 2020-10-31 10:36:25 -04:00
figsoda
29c70e78da remove unecessary derives 2020-10-30 21:50:35 -04:00
figsoda
1f7f7e483e fix typo 2020-10-30 21:41:55 -04:00
figsoda
62376aaf90 replace free with max and min constraint 2020-10-30 17:43:39 -04:00
figsoda
f6bf51fbf5 clean up code 2020-10-30 17:41:00 -04:00
figsoda
9e1ec98d17 rename "Plain" to "Text" 2020-10-30 17:09:22 -04:00
figsoda
d2b794e81f add five conditions
repeat, random, single, oneshot, consume
2020-10-30 17:07:22 -04:00
figsoda
85ba2e95b5 add playing condition and time related widgets 2020-10-30 16:27:25 -04:00
figsoda
eebd80626a add config option for fps and ups 2020-10-30 12:42:31 -04:00
figsoda
f3534a03fe modify free layout constraint 2020-10-30 12:21:50 -04:00
figsoda
cd57e56a94 option to configure layout 2020-10-30 12:20:37 -04:00
figsoda
446a2edaa2 initial commit 2020-10-28 22:36:26 -04:00
figsoda
63e2fd5e96 initial commit 2020-10-21 12:53:01 -04:00