Commit graph

216 commits

Author SHA1 Message Date
0131d7cb6a
Merge pull request #3 from anas-elgarhy/anas-elgarhy-patch-1
Create .github/workflows/rust.yml
2023-02-24 03:31:34 +02:00
3ecd6e38e8
Create .github/workflows/rust.yml 2023-02-24 03:31:24 +02:00
2e8e7cbe48
Merge branch 'master' of github.com:anas-elgarhy/cmus-notify 2023-02-24 03:05:11 +02:00
67ba9fe207
Remove gapage configs :| 2023-02-24 03:04:12 +02:00
9e900d59e4
Merge pull request #2 from anas-elgarhy/mergify/anas-elgarhy/config-update
ci(Mergify): configuration update
2023-02-24 02:59:07 +02:00
46f2e49028 ci(Mergify): configuration update
Signed-off-by: Anas Elgarhy <anas.elgarhy.dev@gmail.com>
2023-02-24 02:58:10 +02:00
29611bdb96
Merge pull request #1 from anas-elgarhy/anas-elgarhy-patch-1
Create LICENSE
2023-02-24 02:52:12 +02:00
08989b0079
Create LICENSE 2023-02-24 02:51:57 +02:00
979c055089
Add the metadata 2023-02-24 02:40:31 +02:00
a5b2a65d33
Just format the code 2023-02-24 02:30:08 +02:00
8e708796dd
Refactor example code in doc comments to use dynamic_image instead of temp_fileRefactor doc comments to use dynamic_image instead of temp_file 2023-02-24 02:29:19 +02:00
eee582a393
Create the base readme file 2023-02-24 02:22:37 +02:00
190d8befc6
Add markdown help flag and corresponding logic to settings 2023-02-24 02:12:51 +02:00
d2d6850f2f
Just create more tasks 2023-02-24 02:11:40 +02:00
d38c6b2f4e
Create the doc feature 2023-02-24 00:56:06 +02:00
d5a05a2223
Update notifications to use '{title}' placeholder 2023-02-23 23:26:34 +02:00
a784a4b9d4
, for the cmus track changed notificationAdd #[cfg_attr(any(feature = "debug", test), derive(Debug))] to structs for debug and test builds 2023-02-23 22:53:08 +02:00
8226253891
Just format the code :) 2023-02-23 13:54:22 +02:00
9fad1454c1
Iimprove the docs 2023-02-23 13:53:44 +02:00
8c4a2a5501
Refactor TrackCover set_notification_image to use String for external path 2023-02-23 13:51:06 +02:00
cdc5085506
Commit: Update settings struct to remove default_values 2023-02-23 13:47:09 +02:00
c11a8d2625
Refactor search_for function to accept mutable max_depth parameter 2023-02-23 13:42:23 +02:00
5420ec481d
Refactor track_cover function:Refactor track_cover function to support custom cover path templates 2023-02-23 13:40:17 +02:00
1b85605917
Use toml for config instad of ymal 2023-02-23 11:29:23 +02:00
cf3a738a76
Update settings to use const instead of pub const 2023-02-23 11:22:38 +02:00
549e807444
Update notification body to include the track's release date 2023-02-23 10:41:39 +02:00
561ff70374
Commit: Update notification implementation to use Track struct instead of track path 2023-02-23 00:23:04 +02:00
ff2dd059e8
Setup cover image when static cover is specified or track cover is enabled 2023-02-22 19:19:47 +02:00
960da31218
Set notification timeout based on CmusEvent type 2023-02-22 00:54:11 +02:00
4484495776
Fix the sttings 2023-02-21 21:48:31 +02:00
a867ee5fe2
Add #[inline(always)] attribute to process methods in PlayerSettings and Track 2023-02-21 05:10:25 +02:00
a82dc31beb
Add documentation for TemplateProcessor and compare events in CmusQueryResponse 2023-02-21 05:07:56 +02:00
e34d676eb9
Update code to replace manual action assignment with direct return from event.build_notification() 2023-02-21 04:47:05 +02:00
607d53a4a0
Refactor code to use other_track in CmusEvent::StatusChanged 2023-02-21 04:44:46 +02:00
5488404fb3
Process the settings place holders in the template 2023-02-21 04:41:12 +02:00
cb164f962a
Add implementation of TemplateProcessor for Track struct to process template placeholders 2023-02-20 23:53:41 +02:00
2d8fc85ba5
Update notification summary to display title only 2023-02-20 23:38:21 +02:00
d004461209
Improve the artict 2023-02-20 23:04:38 +02:00
9a5a93450a
Iimprove the articet 2023-02-20 06:40:30 +02:00
b8af73ee0f
Update notification implementation to include inline set cover function 2023-02-20 05:42:34 +02:00
4773c1c1cd
Add NoEvents error for CmusQueryResponse 2023-02-20 05:41:01 +02:00
6d62c66b5f
Commit message: Update notification.rs to support new feature and refactor code 2023-02-20 05:35:56 +02:00
19ef64f8ed
Just create the notifications handler 2023-02-20 05:34:03 +02:00
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