Commits


amused-web: centralize the imsg handling Keep a copy of the playing queue, status etc. to render the UI without doing imsg in the render path.


amused-web: split out css and js to their own routes In the future we could apply some caching to these.


amused-web: rework client handling on top of bufio / ev


fmt


s/handle_client/web_accept


use ev.c in amused-web too


amused-web: ensure that path is completely filled with NUL to the end


amused-web: introduce an helper to print the unexpected imsg


use Transfer-Encoding: chunked only on HTTP/1.1 w3m (HTTP/1.0) doesn't seem to like it.


add amused-web, a web interface to control amused It's a first stab at it, some planned features (like the search) are missing but the basic ones work. It's not hooked in the main build yet.