mirror of
https://github.com/oSumAtrIX/free-librespot.git
synced 2025-12-19 01:44:22 +00:00
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. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||