Reply To: [UPDATE BUG FIX] Bluetooth Addon BETA

Max2Play Home Forums Max2Play Add-ons [UPDATE BUG FIX] Bluetooth Addon BETA Reply To: [UPDATE BUG FIX] Bluetooth Addon BETA

16. Juni 2020 at 18:51 #49028

Hi,

Not sure this is the correct place to post this request but have not seen this addressed anywhere else.

I have successfully set up Max2Play on two RPi3 with Hifiberry AMP 2 hats.

One RPi is called „porchserver“ and the other is called „masterbath“

Both are on the same network using ethernet connections and are wired to speakers directly.

Both have Squeezelite running and „Porchserver“ has Squeezebox Server running.

When using „Squeezebox Server Webadministration“ to open LMS on „porchserver“:

I can get the RP3s to synchronize when playing music from a USB drive on „porchserver“
I can get the RP3s to synchronize when playing music from a share on a Windows PC on the network
I can get the RP3s to synchronize when playing internet radio

I cannot get the RP3s to synchronize when playing music from my Samsung S7 via Bluetooth.

If my S7 is connected to „porchserver“ via BT, I can get sound from „porchserver“ but not „masterbath“

It seems as though the BT connection is not using Squeezebox at all. The LMS window does not give any errors
but does not seem to be controlling the S7 to RPi BT stream at all and seems to freeze up even though music is playing.

When I’m using Squeezer on my S7 I get essentially the same behavior:

I can get the RP3s to synchronize when playing music from a USB drive on „porchserver“
I can get the RP3s to synchronize when playing music from a share on a Windows PC on the network
I can get the RP3s to synchronize when playing internet radio

I cannot get the RP3s to synchronize when playing music from my Samsung S7 via Bluetooth

In fact, when I try to select BT from „Favorites“ on Squeezer, I get the error: „Problem: Can’t open file for: Bluetooth“

I can play music via BT from my S7 to each of the RPi3 individually using „Rocket Player“ software on my S7.

I don’t know if any of details below are helpful or not. I’m running 2.52 on both RPi3.

LMS is version 7.9.1

Squeezer is version 2.1.0

Any help is appreciated.

Thanks!

Andy

Porchserver info:

AUDIOPLAYER TAB DEBUG INFO:

#### SQUEEZELITE VERSION ####
Squeezelite Max2Play v1.0.2 based on v1.8.4-726, Copyright 2012-2015 Adrian Smith, 2015-2016 Ralph Irving.

#### SQUEEZELITE BUILDOPTIONS ####
Build options: LINUX ALSA EVENTFD RESAMPLE FFMPEG VISEXPORT IR GPIO DSD CONTROLSBS ALSASYNC BLUETOOTHSYNC

#### AUDIOPLAYER CONFIG ####
### Configuration of Audioplayers
SQUEEZELITE_PARAMETER=-o sysdefault:CARD=sndrpihifiberry -a 80:4:: -o hw:0 -V Digital -C 5
SQUEEZESLAVE_PARAMETER=-n plugequal
SHAIRPORT_PARAMETER=-d default:CARD=sndrpihifiberry -t hardware -m hw:0 -c Digital
USE_USB_DAC=0
USE_EQUALIZER=1
SYSTEM_USER=pi
YMPD_PARAMETER=–webport 8081
BLUEALSA_PLAY_AUDIOCARD=hw:0,0
BLUETOOTH_MACADDRESS_MAINPLAYER=b8:27:eb:93:fb:01

#### SQUEEZELITE -l ####
Output devices:
null – Discard all samples (playback) or generate zero samples (capture)
equal
plugequal – Equalizer for plughw:0,0
bluetooth – Your Bluetooth device 50:9E:A7:7E:DF:90
default:CARD=sndrpihifiberry – snd_rpi_hifiberry_dacplus, – Default Audio Device
sysdefault:CARD=sndrpihifiberry – snd_rpi_hifiberry_dacplus, – Default Audio Device
dmix:CARD=sndrpihifiberry,DEV=0 – snd_rpi_hifiberry_dacplus, – Direct sample mixing device
dsnoop:CARD=sndrpihifiberry,DEV=0 – snd_rpi_hifiberry_dacplus, – Direct sample snooping device
hw:CARD=sndrpihifiberry,DEV=0 – snd_rpi_hifiberry_dacplus, – Direct hardware device without any conversions
plughw:CARD=sndrpihifiberry,DEV=0 – snd_rpi_hifiberry_dacplus, – Hardware device with all software conversions

#### OUTPUT SOUND DETAILS CARD 0 ####
closed

#### OUTPUT SOUND DETAILS CARD 1 ####

#### SHAIRPORT (SYNC) VERSION ####
3.1.1-OpenSSL-Avahi-ALSA-soxr-sysconfdir:/usr/local/etc

************************************************************************************

LMS SETTINGS (FROM INFORMATION TAB):

Logitech Media Server Version: 7.9.1 – 1522157629 @ Fri Mar 30 12:27:11 CEST 2018
Hostname: Porchserver
Server IP Address: 192.168.1.14
Server HTTP Port Number: 9000
Operating system: Debian – EN – utf8
Platform Architecture: armv7l-linux
Perl Version: 5.24.1 – arm-linux-gnueabihf-thread-multi-64int
Audio::Scan: 0.95
Database Version: DBD::SQLite 1.34_01 (sqlite 3.7.7.1)
Total Players Recognized: 2

Porchserver
Player Model: SqueezeLite
Player Type: squeezelite
Firmware: Max2Play v1.0.2 based on v1.8.4-726
Player IP Address: 192.168.1.14
Player MAC Address: b8:27:eb:93:fb:01

masterbath
Player Model: SqueezeLite
Player Type: squeezelite
Firmware: Max2Play v1.0.2 based on v1.8.4-726
Player IP Address: 192.168.1.51
Player MAC Address: b8:27:eb:a4:3d:0d

************************************************************************************

BLUETOOTH TAB PAIRING AND CONNECTING RESULTS:

Device 40:F0:2F:6B:BA:1B DESKTOP-M76NP7J
Device 50:9E:A7:7E:DF:90 Samsung Galaxy S7
Device 24:F0:94:8D:04:4B Sandy Walsh
agent off
No agent is registered
agent NoInputNoOutput
devices
Device 40:F0:2F:6B:BA:1B DESKTOP-M76NP7J
Device 50:9E:A7:7E:DF:90 Samsung Galaxy S7
Device 24:F0:94:8D:04:4B Sandy Walsh
Agent registered
paired-devices
Device 40:F0:2F:6B:BA:1B DESKTOP-M76NP7J
Device 50:9E:A7:7E:DF:90 Samsung Galaxy S7
connect 50:9E:A7:7E:DF:90
Device 24:F0:94:8D:04:4B Sandy Walsh
connect 50:9E:A7:7E:DF:90
Attempting to connect to 50:9E:A7:7E:DF:90
Device 50:9E:A7:7E:DF:90 Connected: yes
quit
Agent unregistered
Name: Samsung Galaxy S7
Address: 50:9E:A7:7E:DF:90
Icon: phone
Class: 0x5a020c
Paired: 1
Connected: 1