lukasjapan / bt-speaker

A simple Bluetooth Speaker Daemon for the Raspberry Pi 3
GNU General Public License v3.0
495 stars 95 forks source link

Restart aplay on IOError. Fixes #30 #31

Closed dbaumgarten closed 6 years ago

dbaumgarten commented 6 years ago

This PR fixes the IOErrors occuring when the aplay process crashes, what happens somewhat often on the RPi 1b. See Issue #30

djh816 commented 6 years ago

hey dbaumgarten, have you tried the audio pipe fix in the other forks? I had a really hacky try and catch when mine would have disconnects but it wasn't good for much other than kicking the pi back into discovery mode. Since applying the audio pipe fix, I have not had any issues at all, but maybe this would still be a good failsafe case to have

djh816 commented 6 years ago

one thing for example that always disconnected on mine, voice typing on android

dbaumgarten commented 6 years ago

The Pipe-Error fix in #36 seems to do exactly the same thing as this one.

When #36 gets merged this PR can be closed.

lukasjapan commented 6 years ago

arranged and merged in #37