Re: LMS and bluetooth

cpd73 <cpd73.as80jb-NUepA2SMhDQqspMVqqL2D+4xXEVPTSb/[email protected]>
Newsgroups gmane.music.equipment.slimdevices.general
Organization Logitech Squeezebox Forums
Message-ID <[email protected]>
castalla wrote: 
> A few years ago, I struggled to get Bluetooth working on Linux but gave
> up.   Maybe things have moved on?

I've been using Bluetooth on a Pi4 (Raspbian, not piCorePlayer) for
years. Upgraded the Pi4 to a newer 64-bit distro and had some hassle,
due to changes (had to manually install bluez-alsa from a deb file), and
one speaker takes longer to connect than before, but everyting still
works. I have a python script that monitors for BT connections and then
starts a squeezelite instance. This allows me to have a speaker in the
bathroom that I just turn on and after a few seconds (this is the slower
speaker) it conncts to LMS and starts to play. This script also passes
the prev, play, pause, and next button presses onto LMS.

https://github.com/CDrummond/lms-btspeaker

If you want to know the steps I used to setup BT on the Pi4/64-bit I can
post those later.



*Material debug:* 1. Launch via http: //SERVER:9000/material/?debug=json
(Use http: //SERVER:9000/material/?debug=json,cometd to also see update
messages, e.g. play queue) 2. Open browser's developer tools 3. Open
console tab in developer tools 4. REQ/RESP messages sent to/from LMS
will be logged here.
------------------------------------------------------------------------
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=116913
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.