Commit graph

19 commits

Author SHA1 Message Date
db35594121
treewide: better error handling 2025-05-23 07:58:03 +03:00
e63e463140
fix HTTP response format and improve connection logging
Now curl helps debug invalid requests, hell yeah.
2025-02-05 03:53:18 +03:00
2cf04583c1
move bind address to clap args; better env handling for credentials 2025-02-05 03:03:10 +03:00
ea085ba5fa
read authentication token from the environment 2024-12-22 19:24:41 +03:00
45bef8e582
initial server implementation 2024-12-22 19:12:35 +03:00
7591a8d2f4
separate cli and server implementations 2024-12-22 19:12:24 +03:00
783f6d657b
cli: interactive mode 2024-12-15 21:32:23 +03:00
674bb719de
lib: generic Errors section to satisfy linter 2024-12-15 21:28:14 +03:00
3d542f5427
lib: clippy pedantic 2024-12-15 21:28:13 +03:00
a57692dc39
lib: document target 2024-12-15 21:28:12 +03:00
d30a19a7c9
move generic functions into lib target 2024-12-15 21:28:11 +03:00
21b7df991b
begin refactoring common logic into lib target 2024-12-15 21:28:10 +03:00
1f6b8a717e
consolidate the command execution logic
We can wrap the `send_ipc_command` call and handle the response.
2024-12-15 21:28:09 +03:00
0fca6f1622
clippy 2024-12-15 21:28:08 +03:00
48456cbfa5
document commands 2024-12-15 21:28:07 +03:00
fe89860f5b
error if add cmd is invoked without files 2024-12-15 21:28:06 +03:00
af697ff594
terminate IPC messages with newlines
MPV will not accept them otherwise.
2024-12-15 21:28:05 +03:00
56328c71f9
init logging via tracing 2024-12-15 21:28:04 +03:00
16e9a4be6c
initial commit 2024-12-15 21:28:04 +03:00