Commit graph

155 commits

Author SHA1 Message Date
9ffcf036f2
Use thiserror crate 2023-02-15 01:39:07 +02:00
538ad72f2d
Fix if the track changed, and the status or possition changed, we should push the track changed event, not position or status changed. 2023-02-15 01:10:47 +02:00
be2c223a57
Just format the code 2023-02-15 01:03:06 +02:00
59ec23a363
Add the debug feature 2023-02-15 00:56:57 +02:00
fdc1670fdc
Just pre implement the show notification function =| 2023-02-14 19:10:47 +02:00
3c37bcf9fb
Process the position changes event 2023-02-14 19:05:37 +02:00
28a179273d
Just add todo :) 2023-02-14 19:04:36 +02:00
ccfc679499
Add lyrics notification options 2023-02-14 18:47:40 +02:00
00dddace45
Add the new options to the compine method 2023-02-14 01:54:40 +02:00
876d5edd64
Create more notifications arguments (settings) 2023-02-14 01:48:48 +02:00
f476ca21f2
Complete the events system 2023-02-13 20:10:39 +02:00
1ea44b528c
Just reformat the code 2023-02-13 02:09:47 +02:00
25cce99b80
Format the code 2023-02-13 01:59:15 +02:00
339c11253f
Cerate load_config_and_parse_args 2023-02-13 01:58:34 +02:00
302c06d1d8
Implement the Default trait for the Argument struct 2023-02-13 01:11:55 +02:00
bd659cd2d9
Add more options 2023-02-13 00:57:38 +02:00
6910bc5ead
Create get track cover function 2023-02-12 23:40:29 +02:00
09755d4889
Fix typo error 2023-02-12 21:38:18 +02:00
5e281169e0
Create docs for search_for function 2023-02-12 21:37:14 +02:00
af2f270ba0
Remove the unused feature 2023-02-12 21:12:26 +02:00
2650f436a9
Format the code 2023-02-12 21:05:45 +02:00
dd0c2a5d46
Improve the project structhure 2023-02-12 21:03:17 +02:00
c7be10cd61
Create get_embedded_art function, and add some dependencies for config system 2023-02-12 20:39:10 +02:00
cb5c02d0b9
Just format the code :P 2023-02-12 05:35:14 +02:00
355ef0db93
Add the base main code and create the events enum 2023-02-12 05:33:58 +02:00
532b9d5490
Create unit tests for query related methods 2023-02-12 05:23:36 +02:00
a74efe45bb
Add repeat current attrubute 2023-02-12 05:22:43 +02:00
29a5336858
Rename the aa_mode attribute to aaa_mode 2023-02-12 04:42:40 +02:00
1bd28299fe
Renamee the aa_mode attribute to aaa_mode 2023-02-12 04:40:29 +02:00
6b299b9fb8
Create a unit test for test parse player_settings from striing and fix the aaa_mode match 2023-02-12 04:37:14 +02:00
5a1e37c3c2
Create a unit test for parsing a shuffle mode from string 2023-02-12 04:30:26 +02:00
6856fe947a
Create a unit test for the parse_aaamode_from_str and fix the shuffle parse 2023-02-11 02:58:00 +02:00
94ea4eefae
Create query module 2023-02-11 02:38:56 +02:00
2758461de2
Create player module 2023-02-11 02:38:18 +02:00
13ca9ee109
Add the link option -l and change the short argument for the lyrics-path option from -l to -y 2023-02-09 01:53:12 +02:00
dfc198e55e
Improve the search_for utilty function, and remove the recursive 2023-02-09 01:44:13 +02:00
eb78da0a71
Ceate test to search for not exits file 2023-02-08 22:31:22 +02:00
97e6a346a8
Create more tests for the search_for function 2023-02-08 22:25:41 +02:00
eb3715f4cb
Fix the regex matche issue and create a unit tests for the search_for utilty function 2023-02-08 22:15:21 +02:00
c71992fc52
Improve the search_for utilty function and reduce the nested code 2023-02-08 21:30:31 +02:00
a5dd196937
format the code :) 2023-02-08 21:12:43 +02:00
be412d5f57
Create search_for function utilty to help us to find the cover image or the lyrices 2023-02-08 20:07:56 +02:00
a9bec7479c
create the process_template_placeholders function util 2023-02-08 18:06:27 +02:00
8ad8e3c190
Separate the command builder from the command runner to improve the performance 2023-02-05 19:28:34 +02:00
0832665fb2
Create the query executor 2023-02-05 01:41:50 +02:00
9c92f690fc
Create the stupid get_name function 2023-02-04 22:49:16 +02:00
5873c99924
Remove the TypedBuilder attribute fromm the TrackMetadata 2023-02-04 22:15:32 +02:00
d3ae9f809b
Create the base cmus utils module 2023-02-04 22:12:09 +02:00
278f0f2bbd
Create the cmus related flgas, and add the innterval flag 2023-02-04 18:01:28 +02:00
0cba238b82
Improve the arguments processor 2023-02-03 22:36:20 +02:00