Commit Graph

216 Commits

Author SHA1 Message Date
Anas Elgarhy ce858dff5f
Just create the fucking track change notification 2023-02-17 22:57:20 +02:00
Anas Elgarhy 9b629fc238
Fix the search for method 2023-02-17 12:42:03 +02:00
Anas Elgarhy 391ca67890
Improve the get cover mecarthim 2023-02-17 10:51:59 +02:00
Anas Elgarhy b75d56485c
Show the first notifiication finaaaaaly :D 2023-02-17 08:09:52 +02:00
Anas Elgarhy e7c080abb6
Just create remove-config task 2023-02-17 07:48:29 +02:00
Anas Elgarhy e7b9bfba9e
Cange the StatusChanged to accsept a track instance 2023-02-17 05:59:45 +02:00
Anas Elgarhy d81eeb8baf
Remove the defualt features 2023-02-17 05:55:49 +02:00
Anas Elgarhy fce9c7241b
Just create show-help task 2023-02-17 05:41:16 +02:00
Anas Elgarhy 2c9a7f396c
Just improve the justfile =D 2023-02-17 05:05:17 +02:00
Anas Elgarhy ea59f53869
Create unit test for test the command line arguments are compiled corectory 2023-02-15 18:47:55 +02:00
Anas Elgarhy 1953822025
Just create a simple justfile =P 2023-02-15 05:40:42 +02:00
Anas Elgarhy 9ffcf036f2
Use thiserror crate 2023-02-15 01:39:07 +02:00
Anas Elgarhy 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
Anas Elgarhy be2c223a57
Just format the code 2023-02-15 01:03:06 +02:00
Anas Elgarhy 59ec23a363
Add the debug feature 2023-02-15 00:56:57 +02:00
Anas Elgarhy fdc1670fdc
Just pre implement the show notification function =| 2023-02-14 19:10:47 +02:00
Anas Elgarhy 3c37bcf9fb
Process the position changes event 2023-02-14 19:05:37 +02:00
Anas Elgarhy 28a179273d
Just add todo :) 2023-02-14 19:04:36 +02:00
Anas Elgarhy ccfc679499
Add lyrics notification options 2023-02-14 18:47:40 +02:00
Anas Elgarhy 00dddace45
Add the new options to the compine method 2023-02-14 01:54:40 +02:00
Anas Elgarhy 876d5edd64
Create more notifications arguments (settings) 2023-02-14 01:48:48 +02:00
Anas Elgarhy f476ca21f2
Complete the events system 2023-02-13 20:10:39 +02:00
Anas Elgarhy 1ea44b528c
Just reformat the code 2023-02-13 02:09:47 +02:00
Anas Elgarhy 25cce99b80
Format the code 2023-02-13 01:59:15 +02:00
Anas Elgarhy 339c11253f
Cerate `load_config_and_parse_args` 2023-02-13 01:58:34 +02:00
Anas Elgarhy 302c06d1d8
Implement the Default trait for the Argument struct 2023-02-13 01:11:55 +02:00
Anas Elgarhy bd659cd2d9
Add more options 2023-02-13 00:57:38 +02:00
Anas Elgarhy 6910bc5ead
Create get track cover function 2023-02-12 23:40:29 +02:00
Anas Elgarhy 09755d4889
Fix typo error 2023-02-12 21:38:18 +02:00
Anas Elgarhy 5e281169e0
Create docs for search_for function 2023-02-12 21:37:14 +02:00
Anas Elgarhy af2f270ba0
Remove the unused feature 2023-02-12 21:12:26 +02:00
Anas Elgarhy 2650f436a9
Format the code 2023-02-12 21:05:45 +02:00
Anas Elgarhy dd0c2a5d46
Improve the project structhure 2023-02-12 21:03:17 +02:00
Anas Elgarhy c7be10cd61
Create `get_embedded_art` function, and add some dependencies for config system 2023-02-12 20:39:10 +02:00
Anas Elgarhy cb5c02d0b9
Just format the code :P 2023-02-12 05:35:14 +02:00
Anas Elgarhy 355ef0db93
Add the base main code and create the events enum 2023-02-12 05:33:58 +02:00
Anas Elgarhy 532b9d5490
Create unit tests for query related methods 2023-02-12 05:23:36 +02:00
Anas Elgarhy a74efe45bb
Add repeat current attrubute 2023-02-12 05:22:43 +02:00
Anas Elgarhy 29a5336858
Rename the `aa_mode` attribute to `aaa_mode` 2023-02-12 04:42:40 +02:00
Anas Elgarhy 1bd28299fe
Renamee the `aa_mode` attribute to `aaa_mode` 2023-02-12 04:40:29 +02:00
Anas Elgarhy 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
Anas Elgarhy 5a1e37c3c2
Create a unit test for parsing a shuffle mode from string 2023-02-12 04:30:26 +02:00
Anas Elgarhy 6856fe947a
Create a unit test for the parse_aaamode_from_str and fix the shuffle parse 2023-02-11 02:58:00 +02:00
Anas Elgarhy 94ea4eefae
Create query module 2023-02-11 02:38:56 +02:00
Anas Elgarhy 2758461de2
Create player module 2023-02-11 02:38:18 +02:00
Anas Elgarhy 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
Anas Elgarhy dfc198e55e
Improve the `search_for` utilty function, and remove the recursive 2023-02-09 01:44:13 +02:00
Anas Elgarhy eb78da0a71
Ceate test to search for not exits file 2023-02-08 22:31:22 +02:00
Anas Elgarhy 97e6a346a8
Create more tests for the `search_for` function 2023-02-08 22:25:41 +02:00
Anas Elgarhy 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