Commit graph

123 commits

Author SHA1 Message Date
6270ea9717
Commit message: Update cover when track changes, and set a desktop entry and category for notifications 2023-02-20 04:36:32 +02:00
a252a0727d
Just format the code 2023-02-19 12:57:16 +02:00
1bd4f7e034
Update notification image for tracks with covers 2023-02-19 12:55:33 +02:00
9e37b59573
Add clap-markdown dependency, version 0.1.3 2023-02-19 04:10:15 +02:00
f975803fc4
Update notification body to include album in bold 2023-02-18 14:47:06 +02:00
5c7a8fc694
Update notification body to include line break between track and album information 2023-02-18 14:39:15 +02:00
aae9580bce Rename src/bin/main.rs to src/bin/cmus-notify.rs 2023-02-18 12:41:48 +02:00
ce858dff5f
Just create the fucking track change notification 2023-02-17 22:57:20 +02:00
9b629fc238
Fix the search for method 2023-02-17 12:42:03 +02:00
391ca67890
Improve the get cover mecarthim 2023-02-17 10:51:59 +02:00
b75d56485c
Show the first notifiication finaaaaaly :D 2023-02-17 08:09:52 +02:00
e7c080abb6
Just create remove-config task 2023-02-17 07:48:29 +02:00
e7b9bfba9e
Cange the StatusChanged to accsept a track instance 2023-02-17 05:59:45 +02:00
d81eeb8baf
Remove the defualt features 2023-02-17 05:55:49 +02:00
fce9c7241b
Just create show-help task 2023-02-17 05:41:16 +02:00
2c9a7f396c
Just improve the justfile =D 2023-02-17 05:05:17 +02:00
ea59f53869
Create unit test for test the command line arguments are compiled corectory 2023-02-15 18:47:55 +02:00
1953822025
Just create a simple justfile =P 2023-02-15 05:40:42 +02:00
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