Commit Graph

26 Commits

Author SHA1 Message Date
f11e3b21ac
Add another test 2020-07-23 21:12:44 +02:00
bc44cc23ae
Remove unstable options from rustfmt.toml 2020-07-23 21:03:54 +02:00
6bf85ca664
Add parser for playlist command 2020-07-23 21:03:13 +02:00
1e39119e09
Generify reponse chunking 2020-06-21 23:37:19 +02:00
74ccb40df5
Add UnitResponse for commands without response payload 2020-06-21 23:19:12 +02:00
b31abb7320
simplify split parsing 2020-06-21 23:11:41 +02:00
9fb4513fbc
Make playback state an enum 2020-06-21 23:03:42 +02:00
324648d9a7
Implement Display for Position 2020-06-21 22:52:23 +02:00
b415ebb509
Add database stats 2020-06-21 19:12:36 +02:00
c374a04417
Add playlist info
This is also the first occurence of multiple structs in one response.
The Itertools.batching approach seems to work quite well.
2020-06-21 15:31:08 +02:00
fe2730a7d6
Add Status struct 2020-06-21 14:50:25 +02:00
ce5b87769c
remove custom map deserializer 2020-06-21 14:20:35 +02:00
6405c8fa33
Use proper datetime type 2020-06-21 01:00:29 +02:00
da8430092b
Fix return type of deser function 2020-06-21 00:03:06 +02:00
9b73d95340
further simplify de_position 2020-06-21 00:00:24 +02:00
aa770c7b1c
return early from de_position with ? 2020-06-20 23:53:32 +02:00
ff215567d5
Use serde(default) on struct level 2020-06-20 23:29:09 +02:00
e8c8be6725
Properly handle repeated fields 2020-06-20 23:27:00 +02:00
8253e4b5de
convert to library 2020-06-20 22:50:33 +02:00
000eb9945a
separate structs from main logic 2020-06-20 22:21:21 +02:00
e5f6a0c1db
remove pest grammar 2020-06-20 22:08:47 +02:00
5c3a815ba8
clean up imports 2020-06-20 22:08:33 +02:00
d4f86ee393 use envy for deserialization 2020-06-20 17:14:07 +02:00
faf9589706
remove obsolete stuff 2020-06-13 09:47:03 +02:00
117d552939
some cleanup 2020-06-13 09:44:26 +02:00
7bceb3afc8
initial commit 2020-06-13 09:24:58 +02:00