Commit Graph

77 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
0cacbe2229 common/types: add db selection print types 2025-12-07 21:22:35 +09:00
7bbe1c4ced types/tag: make orderable 2025-12-07 21:22:34 +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
d84e653db2 filter: export all types from inner module 2025-12-05 21:00:01 +09:00
7834bbd956 common: don't expose types directly 2025-12-05 20:59:19 +09:00
249ffb2a36 commands: add docs for Command trait
Some checks failed
Build and test / check (push) Failing after 58s
Build and test / build (push) Successful in 1m10s
Build and test / docs (push) Successful in 1m10s
Build and test / test (push) Successful in 2m53s
2025-11-25 05:28:58 +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
062dbcafb8 filter: implement basic parser 2025-11-24 19:25:01 +09:00
57a6b0a3ee common/types: case insensitive tags 2025-11-24 19:25:00 +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
8aba3d8859 filter: implement fmt::Display 2025-11-21 18:50:58 +09:00
e4ece7d6b2 common/types: implement serialization helpers for Tag 2025-11-21 18:50:58 +09:00
f07f90aee5 common/types: implement fmt::Display 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
da31ab75e2 filter: add unit tests 2025-11-21 15:49:27 +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
424c530d5d common/types: add debug assertions for range orders 2025-10-13 15:35:56 +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