Commit graph

39 commits

Author SHA1 Message Date
15c7b9bd04
Un use the assert_match in the tests 2023-04-08 23:42:21 +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
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
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
d004461209
Improve the artict 2023-02-20 23:04:38 +02:00
9a5a93450a
Iimprove the articet 2023-02-20 06:40:30 +02:00
4773c1c1cd
Add NoEvents error for CmusQueryResponse 2023-02-20 05:41:01 +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
e7b9bfba9e
Cange the StatusChanged to accsept a track instance 2023-02-17 05:59:45 +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
3c37bcf9fb
Process the position changes event 2023-02-14 19:05:37 +02:00
f476ca21f2
Complete the events system 2023-02-13 20:10:39 +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
a5dd196937
format the code :) 2023-02-08 21:12:43 +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