Commit Graph

111 Commits

Author SHA1 Message Date
58fb7e6263 examples/mpd-client: add some code 2025-12-08 13:00:46 +09:00
c5917c9827 commands: strip lifetimes 2025-12-08 12:30:19 +09:00
e7aee6ce10 commands: add newline at end of all command serializers 2025-12-08 05:49:54 +09:00
34e588832c client: init 2025-12-08 05:32:49 +09:00
4d81cb1880 MpdError: impl thiserror 2025-12-08 05:31:43 +09:00
612fa4db11 make ResponseParserError self-contained, impl thiserror 2025-12-08 05:31:13 +09:00
f470f19c2c common/types: flatten to types 2025-12-08 04:14:32 +09:00
239ee84092 commands: document module 2025-12-08 04:07:20 +09:00
ede9b2e995 response: add some notes about the errors 2025-12-08 01:46:14 +09:00
2b7618c238 LICENSE: init 2025-12-08 01:15:23 +09:00
d0b6b14aea cargo clippy 2025-12-08 01:08:58 +09:00
fb5c644c5a commands/stickernamestypes: add missing derive for response 2025-12-08 01:05:24 +09:00
a99eb85764 commands/listplaylist: add note about format 2025-12-08 01:03:23 +09:00
7ad475cbe5 commands/seekcur: fix parser 2025-12-08 01:03:11 +09:00
619fbccde0 commands: fix request enum conversion for unmount 2025-12-08 00:52:27 +09:00
c9604806c4 flake.lock: bump inputs 2025-12-08 00:45:53 +09:00
43b11fae81 commands: add response types for multiple commands 2025-12-08 00:44:37 +09:00
b869758623 commands/currentsong: implement response parser 2025-12-08 00:29:00 +09:00
dec5e68ba2 commands/listplaylistinfo: fix response type 2025-12-08 00:28:38 +09:00
7da07ce869 commands: split Command trait into req + res parts 2025-12-05 22:54:01 +09:00
ef7539a170 cargo fmt 2025-12-07 21:39:57 +09:00
f6c0f619df commands/listplaylistinfo: add response type 2025-12-07 21:33:01 +09:00
68029f9dd9 commands: implement all database selection responses 2025-02-25 12:13:01 +01:00
267fd0e2e9 types/tag: make orderable 2025-12-07 20:53:45 +09:00
b97b650f64 common/types: add db selection print types 2025-12-07 21:21:58 +09:00
a2c143a461 commands/listplaylists: implement 2025-12-07 20:53:45 +09:00
d811840ea1 commands: parse to Self::Request 2025-12-05 22:00:11 +09:00
925eb1941a filter: export all types from inner module 2025-12-05 21:00:01 +09:00
ef753e199a common: don't expose types directly 2025-12-05 20:59:19 +09:00
cdb3b2d58c commands: add docs for Command trait 2025-11-25 05:28:58 +09:00
4f8fa26cd4 common/types: add better alias for MountPath 2025-11-25 04:27:20 +09:00
5117ed319d common/types: add better alias for AudioOutputId 2025-11-25 04:22:30 +09:00
69f79197aa common/types: add type for ChannelName 2025-11-25 04:13:32 +09:00
f778d85a3c common/types: add better alias for PlaylistVersion 2025-11-25 04:02:03 +09:00
e56b9ab6c4 common/types: add type for Sort 2025-11-25 03:56:01 +09:00
59a347f610 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:49:27 +09:00
bdbecf3e8f commands: fix request de/serialization for list 2025-11-24 22:00:42 +09:00
162b6f95f1 commands: remove some fixed TODOs 2025-11-24 21:59:42 +09:00
e45d8c054b commands: split response tokenizer into separate file 2025-11-24 19:16:09 +09:00
d5445466ff filter: implement basic parser 2025-11-24 17:38:37 +09:00
56bdeb3e0a common/types: case insensitive tags 2025-11-24 17:36:48 +09:00
f3ad2fc73a Implement a proper request tokenizer 2025-11-24 14:18:30 +09:00
63dfa1b255 WIP: serialize requests 2025-11-21 16:48:55 +09:00
21f98c5808 filter: implement fmt::Display 2025-11-21 18:36:54 +09:00
e4e7530902 common/types: implement serialization helpers for Tag 2025-11-21 18:36:18 +09:00
726ea92e1b common/types: implement fmt::Display 2025-11-21 16:59:39 +09:00
0bdfdf149e Cargo.toml: bump deps 2025-11-21 16:15:16 +09:00
07fdf4b631 flake.lock: bump 2025-11-21 16:14:13 +09:00
fccb32ad6d commands: implement response parser for lsinfo 2025-11-21 16:13:09 +09:00
8967f38ffa cargo fmt + clippy 2025-11-21 16:02:15 +09:00