mirror of
https://github.com/librespot-org/librespot.git
synced 2024-12-18 17:11:53 +00:00
0d4367fca2
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. |
||
---|---|---|
.. | ||
alsa.rs | ||
gstreamer.rs | ||
jackaudio.rs | ||
mod.rs | ||
pipe.rs | ||
portaudio.rs | ||
pulseaudio.rs | ||
rodio.rs | ||
sdl.rs | ||
subprocess.rs |