Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


[he is back] UI down when getting to the end of the playlist, while using bluetooth
#3
It sounds to me that your Bluetooth speaker is doing something funky which is causing the Bluetooth adapter module to hang/crash or causing bluez-alsa to hang which in turn causes mpd to hang which stops the web interface from responding because it/nginx can't get status updates from mpd.
As you state that a constant audio stream like radio is OK it is most likely that the speaker is not handling the break between streams of individual tracks well and the potential changes in sample rate between streams which is locking up the sending process. Maybe increasing the audio buffer in the mpd config screen might help, to something like 20MB (20480 KB), maybe not.

The range isn't great with the Pi's Bluetooth adapter so that might be a contributing factor but ultimately this sounds like the root cause is a hardware problem not software, primarily the thing you're streaming to.
Maybe you can get a better idea by inspecting the kernel logs as it happens, e.g. replicate the issue whilst running;

Code:
sudo journalctl -kef

...or run 'dmesg' after the event.

If you get nothing there then the Pi's Bluetooth adapter is probably fine and you'd go on to do the same with the system journal. You could also make bluetoothd output log debug messages by editing the systemd unit file, e.g;

Code:
sudo nano /lib/systemd/system/bluetoothd.service
... and change
Code:
ExecStart=/usr/sbin/bluetoothd --noplugin=sap
... to...
Code:
ExecStart=/usr/sbin/bluetoothd -d --noplugin=sap
... and restart bluetoothd or reboot.

Then replicate the issue whilst running..
Code:
sudo journalctl -ef

.. or give up on this Bluetooth speaker you're using for something better.
Reply


Messages In This Thread
RE: [he is back] - by TheOldPresbyope - 01-29-2020, 06:39 PM
RE: [he is back] - by vinnn - 01-30-2020, 06:23 AM
RE: [he is back] - by Maitresinh - 01-30-2020, 10:20 AM
RE: [he is back] - by vinnn - 01-31-2020, 04:25 PM
RE: [he is back] - by TheOldPresbyope - 01-30-2020, 01:02 PM
RE: [he is back] - by Maitresinh - 02-01-2020, 05:33 PM
RE: [he is back] - by CallMeMike - 02-02-2020, 07:13 AM
RE: [he is back] - by vinnn - 02-04-2020, 02:39 PM
RE: [he is back] - by Maitresinh - 02-06-2020, 07:43 AM

Forum Jump: