Commit Graph

109 Commits

Author SHA1 Message Date
e59d04e830 commands: strip lifetimes 2026-01-09 13:25:39 +09:00
46803e0a30 commands: add newline at end of all command serializers 2026-01-09 13:25:39 +09:00
9aa3150a67 client: init 2026-01-09 13:25:39 +09:00
7a85cd7a6e MpdError: impl thiserror 2026-01-09 13:25:38 +09:00
cb1cf47ff8 make ResponseParserError self-contained, impl thiserror 2026-01-09 13:25:38 +09:00
8f8e69ae56 common/types: flatten to types 2026-01-09 13:25:38 +09:00
373241f21a commands: document module 2026-01-09 13:25:38 +09:00
193487c29f response: add some notes about the errors 2026-01-09 13:25:38 +09:00
dbf1de898c cargo clippy 2026-01-09 13:25:37 +09:00
2ea3a053d2 commands/stickernamestypes: add missing derive for response 2026-01-09 13:25:37 +09:00
55725e47eb commands/listplaylist: add note about format 2026-01-09 13:25:37 +09:00
a3a438686d commands/seekcur: fix parser 2026-01-09 13:25:36 +09:00
91b127f072 commands: fix request enum conversion for unmount 2026-01-09 13:25:36 +09:00
f1ca132b07 flake.lock: bump inputs 2026-01-09 13:25:36 +09:00
80c36d033d commands: add response types for multiple commands 2026-01-09 13:25:36 +09:00
7132a526c5 commands/currentsong: implement response parser 2026-01-09 13:25:35 +09:00
5307d847f0 commands/listplaylistinfo: fix response type 2026-01-09 13:25:35 +09:00
ffb1911b89 commands: split Command trait into req + res parts 2026-01-09 13:25:35 +09:00
c43fa3cfdb cargo fmt 2026-01-09 13:25:35 +09:00
9a0846f35c commands/listplaylistinfo: add response type 2026-01-09 13:25:34 +09:00
bafe8e2d74 commands: implement all database selection responses 2026-01-09 13:25:34 +09:00
a2e1dc6e3c common/types: add db selection print types 2026-01-09 13:25:34 +09:00
4c557b930f types/tag: make orderable 2026-01-09 13:25:34 +09:00
1cb2dddf5d commands/listplaylists: implement 2026-01-09 13:25:33 +09:00
21831a2c68 commands: parse to Self::Request 2026-01-09 13:25:33 +09:00
c81975bd2e filter: export all types from inner module 2026-01-09 13:25:33 +09:00
0925a40ea6 common: don't expose types directly 2026-01-09 13:25:32 +09:00
ed2b79d0dd commands: add docs for Command trait 2026-01-09 13:25:32 +09:00
9fbf192a1b common/types: add better alias for MountPath 2026-01-09 13:25:32 +09:00
10310a5248 common/types: add better alias for AudioOutputId 2026-01-09 13:25:31 +09:00
1a2ea5327b common/types: add type for ChannelName 2026-01-09 13:25:31 +09:00
c833143496 common/types: add better alias for PlaylistVersion 2026-01-09 13:25:31 +09:00
ef0ba275de common/types: add type for Sort 2026-01-09 13:25:31 +09:00
ed1b58deb1 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.
2026-01-09 13:25:30 +09:00
bb1b206a83 commands: fix request de/serialization for list 2026-01-09 13:25:30 +09:00
61fed9032d commands: remove some fixed TODOs 2026-01-09 13:25:30 +09:00
ea8a0dbf72 commands: split response tokenizer into separate file 2026-01-09 13:25:29 +09:00
f481fd6636 filter: implement basic parser 2026-01-09 13:25:29 +09:00
774c03490a common/types: case insensitive tags 2026-01-09 13:25:29 +09:00
5c745ed67a Implement a proper request tokenizer 2026-01-09 13:25:28 +09:00
ed82218d4e WIP: serialize requests 2026-01-09 13:25:28 +09:00
a4b0795121 filter: implement fmt::Display 2026-01-09 13:25:28 +09:00
107aa67c11 common/types: implement serialization helpers for Tag 2026-01-09 13:25:28 +09:00
51e3477a7e common/types: implement fmt::Display 2026-01-09 13:25:27 +09:00
5e9a12c293 Cargo.toml: bump deps 2026-01-09 13:25:27 +09:00
e7d4920717 flake.lock: bump 2026-01-09 13:25:27 +09:00
dfce62e875 commands: implement response parser for lsinfo 2026-01-09 13:25:26 +09:00
8d28ce3ef9 cargo fmt + clippy 2026-01-09 13:25:26 +09:00
b4991fa748 filter: add unit tests 2026-01-09 13:25:26 +09:00
0e6fbaebb2 commands: implement response parser for tagtypes available 2026-01-09 13:25:25 +09:00