Commit Graph

59 Commits

Author SHA1 Message Date
93afaf1bde commands/seekcur: fix parser 2025-12-08 01:03:11 +09:00
c915c67f08 commands: fix request enum conversion for unmount 2025-12-08 00:52:27 +09:00
b0bc2752cc commands: add response types for multiple commands
Some checks failed
Build and test / build (push) Successful in 1m3s
Build and test / test (push) Has been cancelled
Build and test / docs (push) Has been cancelled
Build and test / check (push) Has been cancelled
2025-12-08 00:44:37 +09:00
07e9161137 commands/currentsong: implement response parser
Some checks failed
Build and test / build (push) Successful in 1m6s
Build and test / check (push) Failing after 1m23s
Build and test / test (push) Successful in 1m38s
Build and test / docs (push) Successful in 2m4s
2025-12-08 00:29:00 +09:00
f2977f1ba9 commands/listplaylistinfo: fix response type 2025-12-08 00:28:38 +09:00
b0b4134829 commands: split Command trait into req + res parts
Some checks failed
Build and test / check (push) Failing after 1m2s
Build and test / build (push) Successful in 1m8s
Build and test / test (push) Successful in 2m23s
Build and test / docs (push) Successful in 1m24s
2025-12-08 00:07:37 +09:00
c1dbdd4644 cargo fmt
Some checks failed
Build and test / check (push) Failing after 58s
Build and test / build (push) Successful in 1m6s
Build and test / docs (push) Successful in 1m10s
Build and test / test (push) Successful in 2m19s
2025-12-07 21:40:50 +09:00
64c94d6e89 commands/listplaylistinfo: add response type
Some checks failed
Build and test / check (push) Failing after 44s
Build and test / build (push) Successful in 1m0s
Build and test / docs (push) Successful in 1m25s
Build and test / test (push) Successful in 3m0s
2025-12-07 21:33:01 +09:00
4d11df5ad1 commands: implement all database selection responses 2025-12-07 21:24:49 +09:00
83918fd432 commands/listplaylists: implement 2025-12-07 21:22:33 +09:00
07e1c76aa9 commands: parse to Self::Request
Some checks failed
Build and test / check (push) Failing after 43s
Build and test / build (push) Successful in 1m2s
Build and test / docs (push) Successful in 1m12s
Build and test / test (push) Successful in 1m44s
2025-12-05 22:00:11 +09:00
7834bbd956 common: don't expose types directly 2025-12-05 20:59:19 +09:00
fdd4880d05 common/types: add better alias for MountPath 2025-11-25 05:28:19 +09:00
9ca6544057 common/types: add better alias for AudioOutputId 2025-11-25 05:28:19 +09:00
e5f70ca87a common/types: add type for ChannelName 2025-11-25 05:28:19 +09:00
b03f60c985 common/types: add better alias for PlaylistVersion 2025-11-25 05:28:19 +09:00
b22016e970 common/types: add type for Sort 2025-11-25 03:56:01 +09:00
65c7798d01 response_tokenizer: rewrite
This commit contains a rewrite of the response tokenizer, which
introduces lazy parsing of the response, handling of binary data, some
tests, as well as just generally more robustness against errors.
2025-11-24 23:53:03 +09:00
5188809327 commands: fix request de/serialization for list 2025-11-24 22:00:42 +09:00
a4276a2caa commands: remove some fixed TODOs 2025-11-24 21:59:42 +09:00
7b27a650a1 commands: split response tokenizer into separate file 2025-11-24 19:28:28 +09:00
b5fbaadca2 Implement a proper request tokenizer 2025-11-24 19:25:00 +09:00
3bd7aaaad2 WIP: serialize requests 2025-11-21 18:50:58 +09:00
c6a123a6e1 commands: implement response parser for lsinfo 2025-11-21 16:13:09 +09:00
06e24f0ce0 cargo fmt + clippy 2025-11-21 16:04:46 +09:00
d09ca013d5 commands: implement response parser for tagtypes available 2025-11-21 15:16:30 +09:00
10913fd48c commands: implement response parser for protocol 2025-11-21 15:14:43 +09:00
73ddb6d498 commands: implement response parser for protocol available 2025-11-21 15:12:21 +09:00
ede28623ef commands: return runtime errors on invalid property names 2025-11-21 15:07:50 +09:00
130fe49597 commands: create result struct for readmessages 2025-11-21 14:55:57 +09:00
4a1df97ad6 commands: precalculate capacity and use iterators 2025-11-21 14:44:17 +09:00
7a966051d5 commands: make better use of expect_property_type! 2025-11-21 14:38:09 +09:00
7dc3d7f9cf commands: implement response parser for listmounts 2025-11-21 14:32:06 +09:00
2b1e99445a commands: implement common traits for responses 2025-11-21 14:18:44 +09:00
e932b62195 commands: implement response parser for decoders 2025-11-21 14:14:25 +09:00
49f440770e commands: implement response parser for listneighbors 2025-11-21 14:04:12 +09:00
153ae9520f commands: implement response parser for outputs 2025-11-21 13:55:10 +09:00
1d693b7b2a commands: fix clippy warnings about confusing elided lifetimes 2025-10-12 22:59:50 +09:00
e910d29aa4 Rust edition 2024
Some checks failed
Build and test / build (push) Successful in 59s
Build and test / check (push) Failing after 1m2s
Build and test / test (push) Successful in 1m42s
Build and test / docs (push) Successful in 1m19s
2025-02-26 16:39:34 +01:00
58a06bd930 common/types: move stuff from requests to types
Some checks failed
Build and test / build (push) Successful in 56s
Build and test / check (push) Failing after 59s
Build and test / docs (push) Successful in 1m25s
Build and test / test (push) Successful in 1m38s
2025-02-25 12:15:39 +01:00
380a4aed2c commands: deduplicate logic in macros, add more macros
Some checks failed
Build and test / build (push) Successful in 59s
Build and test / check (push) Failing after 1m2s
Build and test / test (push) Successful in 1m40s
Build and test / docs (push) Successful in 1m27s
2025-02-23 19:26:46 +01:00
ed7f9a6917 commands: implement some more response parsers
Some checks failed
Build and test / build (push) Successful in 1m1s
Build and test / check (push) Failing after 1m0s
Build and test / test (push) Successful in 1m37s
Build and test / docs (push) Successful in 1m16s
2025-02-23 16:41:15 +01:00
366f56da9e commands: fix some syntax errors reporting literals
Some checks failed
Build and test / build (push) Successful in 59s
Build and test / check (push) Failing after 58s
Build and test / docs (push) Successful in 1m21s
Build and test / test (push) Successful in 1m37s
2024-12-14 00:19:25 +01:00
9cef59eb88 Implement some more commands 2024-12-14 00:14:02 +01:00
abacb54c8d commands: add missing debug asserts
Some checks failed
Build and test / build (push) Failing after 16s
Build and test / test (push) Failing after 15s
Build and test / check (push) Failing after 59s
Build and test / docs (push) Successful in 1m17s
2024-12-13 19:31:50 +01:00
86183e56ad commands: add some TODOs for assumptions made about syntax 2024-12-13 19:31:48 +01:00
9cb92741a4 Implement some more commands
Some checks failed
Build and test / check (push) Failing after 13s
Build and test / test (push) Failing after 14s
Build and test / build (push) Successful in 57s
Build and test / docs (push) Successful in 1m12s
2024-12-13 18:20:03 +01:00
87fa93fb1c format 2024-12-13 17:16:16 +01:00
4f6392e376 commands: use real Filter type 2024-12-13 17:16:16 +01:00
2ee6bbc582 Add more commands 2024-12-02 21:00:22 +01:00