librespot/connect/src
JasonLG1979 0d4367fca2 Improve the subprocess backend
Better error handling.

Move the checking of the shell command to start so a proper error can be thrown if it's None.

Use write instead of write_all for finer grained error handling and the ability to attempt a restart on write errors.

Use try_wait to skip flushing and killing the process if it's already dead.

Stop the player on shutdown to *mostly* prevent write errors from spamming the logs during shutdown. Previously Ctrl+c always resulted in a write error.
2022-06-20 17:19:31 -05:00
..
context.rs Address clippy lint warnings for rust 1.57 2021-12-03 12:51:41 -06:00
discovery.rs Add "discovery" compat layer to "connect" 2021-05-19 21:09:38 +02:00
lib.rs Add "discovery" compat layer to "connect" 2021-05-19 21:09:38 +02:00
spirc.rs Improve the subprocess backend 2022-06-20 17:19:31 -05:00