Commit Graph

106 Commits

Author SHA1 Message Date
oysteikt 6cfd6eba2c make ResponseParserError self-contained, impl thiserror 2025-12-08 05:31:13 +09:00
oysteikt e9cf44f006 common/types: flatten to types 2025-12-08 04:14:32 +09:00
oysteikt 183174ae33 commands: document module 2025-12-08 04:07:20 +09:00
oysteikt 931e8b322c response: add some notes about the errors 2025-12-08 01:46:14 +09:00
oysteikt 907bd3bdbb cargo clippy 2025-12-08 01:08:58 +09:00
oysteikt 0bece4dd1c commands/stickernamestypes: add missing derive for response 2025-12-08 01:05:24 +09:00
oysteikt d9df882bcd commands/listplaylist: add note about format 2025-12-08 01:03:23 +09:00
oysteikt b24b9720dc commands/seekcur: fix parser 2025-12-08 01:03:11 +09:00
oysteikt d5bec5dbbd commands: fix request enum conversion for unmount 2025-12-08 00:52:27 +09:00
oysteikt 6fcd293578 flake.lock: bump inputs 2025-12-08 00:45:53 +09:00
oysteikt 7844b68a1b commands: add response types for multiple commands 2025-12-08 00:44:37 +09:00
oysteikt 9dd97c869c commands/currentsong: implement response parser 2025-12-08 00:29:00 +09:00
oysteikt 358703231a commands/listplaylistinfo: fix response type 2025-12-08 00:28:38 +09:00
oysteikt e24451900f commands: split Command trait into req + res parts 2025-12-05 22:54:01 +09:00
oysteikt 380071b66c cargo fmt 2025-12-07 21:39:57 +09:00
oysteikt 2a0ccd4a44 commands/listplaylistinfo: add response type 2025-12-07 21:33:01 +09:00
oysteikt e3f6235a16 commands: implement all database selection responses 2025-02-25 12:13:01 +01:00
oysteikt 105c1aa7b3 common/types: add db selection print types 2025-02-25 12:12:43 +01:00
oysteikt 7f27c2659f LICENSE: init 2025-12-07 21:03:13 +09:00
oysteikt e82a3e107d types/tag: make orderable 2025-12-07 20:53:45 +09:00
oysteikt e4c0c5b744 commands/listplaylists: implement 2025-12-07 21:21:58 +09:00
oysteikt 09925a1df5 commands: parse to Self::Request 2025-12-05 22:00:11 +09:00
oysteikt 5535580e8d filter: export all types from inner module 2025-12-05 21:00:01 +09:00
oysteikt 0dedc74293 common: don't expose types directly 2025-12-05 20:59:19 +09:00
oysteikt 1b4fe23ce9 commands: add docs for Command trait 2025-11-25 05:28:58 +09:00
oysteikt f01ecb0e09 common/types: add better alias for MountPath 2025-11-25 04:27:20 +09:00
oysteikt bad475d96b common/types: add better alias for AudioOutputId 2025-11-25 04:22:30 +09:00
oysteikt 70aa4b47e1 common/types: add type for ChannelName 2025-11-25 04:13:32 +09:00
oysteikt a033aac721 common/types: add better alias for PlaylistVersion 2025-11-25 04:02:03 +09:00
oysteikt 8853153dfd common/types: add type for Sort 2025-11-25 03:56:01 +09:00
oysteikt 02e292ffd7 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
oysteikt 8f321a243d commands: fix request de/serialization for list 2025-11-24 22:00:42 +09:00
oysteikt 0144dac14f commands: remove some fixed TODOs 2025-11-24 21:59:42 +09:00
oysteikt 47e42a3472 commands: split response tokenizer into separate file 2025-11-24 19:16:09 +09:00
oysteikt b91331452e filter: implement basic parser 2025-11-24 17:38:37 +09:00
oysteikt fd8b597897 common/types: case insensitive tags 2025-11-24 17:36:48 +09:00
oysteikt 74c86dd5b9 Implement a proper request tokenizer 2025-11-24 14:18:30 +09:00
oysteikt e0e7509be7 WIP: serialize requests 2025-11-21 16:48:55 +09:00
oysteikt 132d89fe34 filter: implement fmt::Display 2025-11-21 18:36:54 +09:00
oysteikt e86e78ecfb common/types: implement serialization helpers for Tag 2025-11-21 18:36:18 +09:00
oysteikt e41d08b2bf common/types: implement fmt::Display 2025-11-21 16:59:39 +09:00
oysteikt 0672e7f7e7 Cargo.toml: bump deps 2025-11-21 16:15:16 +09:00
oysteikt af868a8adf flake.lock: bump 2025-11-21 16:14:13 +09:00
oysteikt 0b357a3f9c commands: implement response parser for lsinfo 2025-11-21 16:13:09 +09:00
oysteikt 7813d85309 cargo fmt + clippy 2025-11-21 16:02:15 +09:00
oysteikt 77bda79e36 filter: add unit tests 2025-11-21 15:49:27 +09:00
oysteikt be6fdae9eb commands: implement response parser for tagtypes available 2025-11-21 15:16:30 +09:00
oysteikt 472103a1a9 commands: implement response parser for protocol 2025-11-21 15:14:43 +09:00
oysteikt 8bb407cb5d commands: implement response parser for protocol available 2025-11-21 15:12:21 +09:00
oysteikt 3f45a5c901 commands: return runtime errors on invalid property names 2025-11-21 15:07:50 +09:00