oysteikt
8b3c9dbe77
commands: strip lifetimes
2026-01-09 13:37:17 +09:00
oysteikt
0d2015dce0
commands: add newline at end of all command serializers
2026-01-09 13:37:17 +09:00
oysteikt
cf417570f4
client: init
2026-01-09 13:37:17 +09:00
oysteikt
39098708f4
MpdError: impl thiserror
2026-01-09 13:37:16 +09:00
oysteikt
142112e725
make ResponseParserError self-contained, impl thiserror
2026-01-09 13:37:16 +09:00
oysteikt
bcea4d355a
common/types: flatten to types
2026-01-09 13:37:16 +09:00
oysteikt
b0b0b87efb
commands: document module
2026-01-09 13:37:16 +09:00
oysteikt
879f586a1b
response: add some notes about the errors
2026-01-09 13:37:16 +09:00
oysteikt
16e7112bb4
cargo clippy
2026-01-09 13:37:15 +09:00
oysteikt
42ef49f9d8
commands/stickernamestypes: add missing derive for response
2026-01-09 13:37:15 +09:00
oysteikt
a63e01c4d0
commands/listplaylist: add note about format
2026-01-09 13:37:15 +09:00
oysteikt
bf4fb0dc73
commands/seekcur: fix parser
2026-01-09 13:37:15 +09:00
oysteikt
8f5b84d26d
commands: fix request enum conversion for unmount
2026-01-09 13:37:14 +09:00
oysteikt
e95fbed61a
flake.lock: bump inputs
2026-01-09 13:37:14 +09:00
oysteikt
06891c16cd
commands: add response types for multiple commands
2026-01-09 13:37:14 +09:00
oysteikt
1f2effb96d
commands/currentsong: implement response parser
2026-01-09 13:37:14 +09:00
oysteikt
2b3917ed9f
commands/listplaylistinfo: fix response type
2026-01-09 13:37:13 +09:00
oysteikt
a39de3dcc4
commands: split Command trait into req + res parts
2026-01-09 13:37:13 +09:00
oysteikt
ab487a3059
cargo fmt
2026-01-09 13:37:13 +09:00
oysteikt
4d38ad1529
commands/listplaylistinfo: add response type
2026-01-09 13:37:12 +09:00
oysteikt
b9a2d6828e
commands: implement all database selection responses
2026-01-09 13:37:12 +09:00
oysteikt
96d47bb885
common/types: add db selection print types
2026-01-09 13:37:12 +09:00
oysteikt
4b7a674dd2
LICENSE: init
2026-01-09 13:37:01 +09:00
oysteikt
01c7c648cf
types/tag: make orderable
2026-01-09 13:31:22 +09:00
oysteikt
c9ef6adced
commands/listplaylists: implement
2026-01-09 13:31:21 +09:00
oysteikt
0a85bce52c
commands: parse to Self::Request
2026-01-09 13:31:21 +09:00
oysteikt
f1c00e0dd4
filter: export all types from inner module
2026-01-09 13:31:21 +09:00
oysteikt
c242082219
common: don't expose types directly
2026-01-09 13:31:20 +09:00
oysteikt
37506d3cdb
commands: add docs for Command trait
2026-01-09 13:31:20 +09:00
oysteikt
fa54eb5c6a
common/types: add better alias for MountPath
2026-01-09 13:31:20 +09:00
oysteikt
3ccc99137f
common/types: add better alias for AudioOutputId
2026-01-09 13:31:20 +09:00
oysteikt
1535812e62
common/types: add type for ChannelName
2026-01-09 13:31:19 +09:00
oysteikt
4f751eda48
common/types: add better alias for PlaylistVersion
2026-01-09 13:31:19 +09:00
oysteikt
c57634e1ba
common/types: add type for Sort
2026-01-09 13:31:19 +09:00
oysteikt
23563cfb9b
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:31:18 +09:00
oysteikt
507a540c45
commands: fix request de/serialization for list
2026-01-09 13:31:18 +09:00
oysteikt
efe98d1177
commands: remove some fixed TODOs
2026-01-09 13:31:18 +09:00
oysteikt
bbd0e71861
commands: split response tokenizer into separate file
2026-01-09 13:31:17 +09:00
oysteikt
a284a40b7a
filter: implement basic parser
2026-01-09 13:31:17 +09:00
oysteikt
fcf6a69249
common/types: case insensitive tags
2026-01-09 13:31:17 +09:00
oysteikt
abc1fcc01b
Implement a proper request tokenizer
2026-01-09 13:31:17 +09:00
oysteikt
181b437b80
WIP: serialize requests
2026-01-09 13:31:16 +09:00
oysteikt
d6a8bc2fe1
filter: implement fmt::Display
2026-01-09 13:31:16 +09:00
oysteikt
8a482ccede
common/types: implement serialization helpers for Tag
2026-01-09 13:31:16 +09:00
oysteikt
592d96e5ed
common/types: implement fmt::Display
2026-01-09 13:31:15 +09:00
oysteikt
e4751f6ed4
Cargo.toml: bump deps
2026-01-09 13:31:15 +09:00
oysteikt
ba194b3389
flake.lock: bump
2026-01-09 13:31:15 +09:00
oysteikt
f929f32ddd
commands: implement response parser for lsinfo
2026-01-09 13:31:15 +09:00
oysteikt
f65760314f
cargo fmt + clippy
2026-01-09 13:31:14 +09:00
oysteikt
31e9ded99b
filter: add unit tests
2026-01-09 13:31:14 +09:00