Commit graph

173 commits

Author SHA1 Message Date
renovate[bot]
2175b7f085
fix(deps): update rust crate clap to 4.1.8 2023-03-11 08:58:32 +00:00
mergify[bot]
e392d75ff7
Merge pull request #5 from anas-elgarhy/renovate/configure
Configure Renovate
2023-03-11 08:54:26 +00:00
renovate[bot]
1ae8c702f1
Add renovate.json 2023-03-08 23:09:29 +00:00
mergify[bot]
e29f384f9a
Merge pull request #4 from anas-elgarhy/imgbot
[ImgBot] Optimize images
2023-02-24 09:30:19 +00:00
ImgBotApp
ffe192f176
[ImgBot] Optimize images
*Total -- 7,605.21kb -> 7,063.99kb (7.12%)

/screenshots/0.0.1_live_action.gif -- 1,109.70kb -> 991.45kb (10.66%)
/tests/samples/Owl City/Cinematic/cover/cover.png -- 2,338.18kb -> 2,096.34kb (10.34%)
/screenshots/0.0.1_new_track_notify_2.png -- 301.29kb -> 275.23kb (8.65%)
/screenshots/0.0.1_track_change_notify_2.png -- 1,266.05kb -> 1,163.30kb (8.12%)
/screenshots/0.0.1_track_change_notify_2_cropped.png -- 99.84kb -> 94.34kb (5.51%)
/screenshots/0.0.1_track_change_notify_1_cropped.png -- 126.09kb -> 122.91kb (2.52%)
/screenshots/0.0.1_track_change_notify_1.png -- 2,221.44kb -> 2,179.70kb (1.88%)
/screenshots/0.0.1_status_changed_notify_1_cropped.png -- 142.62kb -> 140.72kb (1.33%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2023-02-24 01:54:11 +00:00
d2b44013de
Merge branch 'master' of github.com:anas-elgarhy/cmus-notify 2023-02-24 03:37:02 +02:00
e7eb561b64
Update README with instructions for using the nightly version of Rust 2023-02-24 03:36:46 +02:00
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