Max2Play Home › Forums › Max2Play Add-ons › [UPDATE BUG FIX] Bluetooth Addon BETA
- This topic has 466 replies, 2 voices, and was last updated 4 months, 4 weeks ago by bits premium.
-
Posted in: Max2Play Add-ons
-
12. November 2017 at 13:40 #32424
Hi!
Before I did a reinstall due to Spotty not working, I used the Bluetooth without problem. This time around, I installed the bluetooth, changed the soundcard to pulse (which worked fine before), but now it doesn’t work. This is what it says:E: [pulseaudio] daemon-conf.c: [/etc/pulse/daemon.conf:90] Invalid number of fragments '5\ndefault-fragment-size-msec = 2\n'. E: [pulseaudio] daemon-conf.c: [/etc/pulse/daemon.conf:90] Invalid number of fragments '5\ndefault-fragment-size-msec = 2\n'. [12:12:08.873681] test_open:310 playback open error: Connection refused [12:12:08.873883] output_init_common:382 unable to open output device
13. November 2017 at 16:56 #32462Hi dumtratt,
Which image did you use? Please reboot your system and try again.
Please also check whether you have Shairport on Pulse and make sure that your device shows up green when heading to the Bluetooth plugin.Also, make sure you have the current version of the Bluetooth plugin, you can update it by just installing the plugin from our website again.
- This reply was modified 7 years, 1 month ago by Heiner.
20. November 2017 at 14:24 #32549I have the same problem as several people in this thread: When streaming music from Amazon Echo to RPI3/M2P, the Squeezebox server stops after 3-20 minutes. After disconnecting and reconnecting the BT link it works again for some time, but then it stops again.
When I stream my Amazon Echo via BT to an Ubuntu server not running M2P (with a loop from BT input loop to HDMI audio output) everything is stable for hours!
My assumption is that there is a bug in the M2P BT plugin! Whenever there is a short BT connection problem (which can always happen due to WiFi interference) then the plugin stops working.
@Heiner: Did you ever test your BT plugin with Amazon Echo running for several hours with a Wifi interference from neighboring access points?Thanks and regards
Harald
28. November 2017 at 12:01 #32659Hi Harald,
No we have not been able to test this setup, yet.
As mentioned in the other thread, could you try running the setup without WiFi and deactivating it for a time, to narrow down the possible source of error?
28. November 2017 at 18:59 #32682Hi Heiner,
I have tested this: Wifi was deactivated (ethernet cable) and the distance between M2P/Raspi and Alexa was only about 40 cm.
Also with this setup the playback stopped after some time.It would be good if you could try to reproduce the problem in your lab: Just stream for several hours music from Amazon Echo to your BT plugin.
BR Harald
29. November 2017 at 11:52 #32694Hi Harald,
Thank you for the follow-up. Could you share the Debug Info Log from the Bluetooth Plugin when the playback stops?
We will try to recreate the issue here, but long term sound testing is problematic in our office environment.
29. November 2017 at 23:44 #32712Hi Heiner,
Please find the debug info below.
The playback stopped after 35 minutes. I used no Wifi and the Beta-171123 SW.BR Harald
Service_shell_exec (0.012102127075195 sec): cat /opt/max2play/playername.txt
Service_shell_exec (0.014658212661743 sec): grep -i „^Max2PlayNetworkLookup=1“ /opt/max2play/autostart.conf
Service_shell_exec (0.015033960342407 sec): grep -aP „^[ \t]*removedonate[ \t]*\=“ /opt/max2play/options.conf | sed -n -e „s/^[ \t]*[A-Za-z_0-9\.]*\=//p“
Service_shell_exec (0.015793085098267 sec): cat /proc/cpuinfo | grep ‚Hardware\|Revision‘
Service_shell_exec (0.015537023544312 sec): grep -aP „^[ \t]*license[ \t]*\=“ /opt/max2play/options.conf | sed -n -e „s/^[ \t]*[A-Za-z_0-9\.]*\=//p“
Service_shell_exec (0.016083002090454 sec): grep -aP „^[ \t]*license[ \t]*\=“ /opt/max2play/options.conf | sed -n -e „s/^[ \t]*[A-Za-z_0-9\.]*\=//p“
Bluetooth_shell_exec (0.015780925750732 sec): grep -aP „^[ \t]*license[ \t]*\=“ /opt/max2play/options.conf | sed -n -e „s/^[ \t]*[A-Za-z_0-9\.]*\=//p“
Bluetooth_shell_exec (0.22246098518372 sec): lsb_release -a 2>/dev/null | grep „Distributor\|Codename“ | sed „s/Distributor ID:\t//;s/Codename:\t//“
Bluetooth_shell_exec (0.0085458755493164 sec): grep -aP „^[ \t]*BLUETOOTH_MACADDRESS_MAINPLAYER[ \t]*\=“ /opt/max2play/audioplayer.conf | sed -n -e „s/^[ \t]*[A-Za-z_0-9\.]*\=//p“
Bluetooth_shell_exec (0.0087761878967285 sec): grep -aP „^[ \t]*PLUSEBLUETOOTH_DEBUG[ \t]*\=“ /opt/max2play/autostart.conf | sed -n -e „s/^[ \t]*[A-Za-z_0-9\.]*\=//p“
Bluetooth_shell_exec (0.0085070133209229 sec): grep -aP „^[ \t]*readonly[ \t]*\=“ /opt/max2play/options.conf | sed -n -e „s/^[ \t]*[A-Za-z_0-9\.]*\=//p“
Bluetooth_dynamic_script (0.082557916641235 sec): #!/bin/bash/usr/bin/bt-device -l
Bluetooth_dynamic_script (0.0936119556427 sec): #!/bin/bash/usr/bin/bt-device -i ‚Echo-ESK‘
Bluetooth_dynamic_script (0.042471885681152 sec): #!/bin/bashhciconfig
Bluetooth_dynamic_script (0.11969685554504 sec): #!/bin/bashsu -l pi -c „pacmd list | grep active“
Bluetooth_dynamic_script (0.14293503761292 sec): #!/bin/bashsu -l pi -c „pacmd list | grep sink“
Bluetooth_dynamic_script (0.097270011901855 sec): #!/bin/bashps -Al | grep lxsession | wc -l
Bluetooth_dynamic_script (0.11297202110291 sec): #!/bin/bashsu -l pi -c „pacmd list-cards“
Bluetooth_shell_exec (0.0082709789276123 sec): grep -i „^bluetooth=1“ /opt/max2play/autostart.conf
Bluetooth_shell_exec (0.0089459419250488 sec): grep -i „^PLUSEBLUETOOTH_AUTOSTART_SBS=1“ /opt/max2play/autostart.conf
Service_shell_exec (0.0088820457458496 sec): grep -aP „^[ \t]*showHelpOnSidebar[ \t]*\=“ /opt/max2play/options.conf | sed -n -e „s/^[ \t]*[A-Za-z_0-9\.]*\=//p“———————————————————–
#### Bluetooth Installation ######## Bluetooth Dongle ####
hci0: Type: BR/EDR Bus: UART
BD Address: B8:27:EB:82:FC:8A ACL MTU: 1021:8 SCO MTU: 64:1
UP RUNNING
RX bytes:109748335 acl:183695 sco:0 events:225 errors:0
TX bytes:4991 acl:91 sco:0 commands:104 errors:0#### DEVICE Echo-ESK ####
[34:D2:70:24:17:4E]
Name: Echo-ESK
Alias: Echo-ESK [rw]
Address: 34:D2:70:24:17:4E
Icon: audio-card
Class: 0xc0414
Paired: 1
Trusted: 1 [rw]
Blocked: 0 [rw]
Connected: 1
UUIDs: [AudioSource, AudioSink, AdvancedAudioDistribution, AVRemoteControl, PnPInformation, 4e72b490-1d0f-bf92-0e47-a84e01000000]#### PACMD LIST | grep active ####
active port: <analog-output>
active port: <analog-output>
active profile: <output:analog-stereo>
active profile: <output:analog-stereo>
active profile: <off>#### PACMD LIST | grep sink ####
Default sink name: null
name: <module-null-sink>
module.description = „When a bluetooth sink or source is added, load module-loopback“
module.description = „Automatically restore the default sink and source“
name: <module-always-sink>
module.description = „When a sink/source is idle for too long, suspend it“
module.description = „Load filter sinks automatically when needed“
module.description = „BlueZ 5 Bluetooth audio sink and source“
3 sink(s) available.
driver: <module-null-sink.c>
driver: <module-null-sink.c>
sinks:
sinks:
0 sink input(s) available.#### X-SERVER RUNNING ####
1#### PULSEAUDIO RUNNING ####
1 S 1000 1220 1 21 80 0 – 30450 – ? 00:11:41 pulseaudio
0 S 1000 1514 1 0 80 0 – 18634 – ? 00:00:00 pulsebluetooth#### BLUETOOTH SQUEEZEBOX SERVER AUTOSTART ####
Socket created
Sending : path ?
Lastpath: wavin%3Abluez_source.34_D2_70_24_17_4ESocket created
Sending : playlist insert wavin:bluez_source.34_D2_70_24_17_4E
Socket created
Sending : playlist index +1
Socket created
Sending : playlist play#### PACMD LIST-CARDS | DEBUG COMPLETE ####
3 card(s) available.
index: 0
name: <alsa_card.platform-soc_audio>
driver: <module-alsa-card.c>
owner module: 7
properties:
alsa.card = „0“
alsa.card_name = „bcm2835 ALSA“
alsa.long_card_name = „bcm2835 ALSA“
alsa.driver_name = „snd_bcm2835“
device.bus_path = „platform-soc:audio“
sysfs.path = „/devices/platform/soc/soc:audio/sound/card0“
device.string = „0“
device.description = „bcm2835 ALSA“
module-udev-detect.discovered = „1“
device.icon_name = „audio-card“
profiles:
output:analog-mono: Analog Mono Output (priority 100, available: unknown)
output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown)
off: Aus (priority 0, available: unknown)
active profile: <output:analog-stereo>
sinks:
alsa_output.platform-soc_audio.analog-stereo/#1: bcm2835 ALSA Analog Stereo
sources:
alsa_output.platform-soc_audio.analog-stereo.monitor/#1: Monitor of bcm2835 ALSA Analog Stereo
ports:
analog-output: Analoge Ausgabe (priority 9900, latency offset 0 usec, available: unknown)
properties:index: 3
name: <alsa_card.platform-soc_sound>
driver: <module-alsa-card.c>
owner module: 31
properties:
alsa.card = „1“
alsa.card_name = „snd_rpi_hifiberry_dacplus“
alsa.long_card_name = „snd_rpi_hifiberry_dacplus“
alsa.driver_name = „snd_soc_hifiberry_dacplus“
device.bus_path = „platform-soc:sound“
sysfs.path = „/devices/platform/soc/soc:sound/sound/card1“
device.string = „1“
device.description = „snd_rpi_hifiberry_dacplus“
module-udev-detect.discovered = „1“
device.icon_name = „audio-card“
profiles:
output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown)
off: Aus (priority 0, available: unknown)
active profile: <output:analog-stereo>
sinks:
alsa_output.platform-soc_sound.analog-stereo/#2: snd_rpi_hifiberry_dacplus Analog Stereo
sources:
alsa_output.platform-soc_sound.analog-stereo.monitor/#4: Monitor of snd_rpi_hifiberry_dacplus Analog Stereo
ports:
analog-output: Analoge Ausgabe (priority 9900, latency offset 0 usec, available: unknown)
properties:index: 4
name: <bluez_card.34_D2_70_24_17_4E>
driver: <module-bluez5-device.c>
owner module: 32
properties:
device.description = „Echo-ESK“
device.string = „34:D2:70:24:17:4E“
device.api = „bluez“
device.class = „sound“
device.bus = „bluetooth“
device.form_factor = „speaker“
bluez.path = „/org/bluez/hci0/dev_34_D2_70_24_17_4E“
bluez.class = „0x0c0414“
bluez.alias = „Echo-ESK“
device.icon_name = „audio-speakers-bluetooth“
profiles:
a2dp_source: High Fidelity Capture (A2DP Source) (priority 10, available: unknown)
a2dp: High Fidelity Playback (A2DP Sink) (priority 10, available: unknown)
off: Aus (priority 0, available: yes)
active profile: <off>
ports:
speaker-output: Speaker (priority 0, latency offset 0 usec, available: no)
properties:speaker-input: Bluetooth Input (priority 0, latency offset 0 usec, available: unknown)
properties:6. Dezember 2017 at 17:23 #32811Hi guys, i m a new user,my name is Antonio and i’m italian..so..sorry for my english,absolutly not perfect.
I m testing max2play on my configuration. For now i just have Raspberry Pi 3 (i ll order ALLO BOSS DAC this weekend) connected to a QNAP NAS which i have more of 500giga of music (mp3 and flac). I wanted try bluetooth addon cause i use bluetooth daily with AUDIOVECTOR’s speaker.
I want build a system of music for all the rooms of my flat, so i m interesting to resolve various very little problems i m having..and this is the first and more important.
My problem with bluetooth (i dnt know if it s a common problem) is that i can be able to connect the speaker, it plays for 5/10/30 mins (with frequently disturbes) and then it stopped to play until i restart all the system and i reconnect it again..and then always the same. I need to resolve this cause i must understand if i need a dac or not, cause if i ll be able to have a stable bluetooth i ll concentrate to another room of my flat. Tnx to everyone will help me…and still sorry if my english is not correct.UPDATE: clearly i tested it even without bluetooth, with headphones connection, and it played music for hours and hours without any kind of problem. And i noticed that with Spotify Connection Server and Bluetooth i have problems too..but this is another problem. First better to think to the first.
- This reply was modified 7 years ago by antonio81le.
6. Dezember 2017 at 17:38 #32813Hello Antonio,
do you use internal wifi together with bluetooth or is wifi disabled within the RPi settings?
Regards,
Stefan6. Dezember 2017 at 17:42 #32814Hi Stefan, tnx for the answer. I use internal wifi ..and i used it connected to Ethernet with the same problems, but i have never disabled wifi, even using ethernet
6. Dezember 2017 at 17:46 #32815Maybe it helps to disable wifi and use Ethernet only. I have read about problems if both modules are activated.
6. Dezember 2017 at 17:49 #32816Ok..if u are so gentle to tell me how disable it i ll test it now
6. Dezember 2017 at 18:00 #32817Maybe i Found. On Raspberry Settings there is the voice DISABLE WIFI..right?
6. Dezember 2017 at 18:45 #32818Ok..tested!but after 30mins Bluetooth doesnt work again!!! Speakers are connected to Bluetooth, playes goes on, but no audio!!!
I post here my DEBUGS
#### FILESYSTEM ####
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 14703348 3201240 10880308 23% /
devtmpfs 435668 0 435668 0% /dev
tmpfs 440276 68 440208 1% /dev/shm
tmpfs 440276 6216 434060 2% /run
tmpfs 5120 4 5116 1% /run/lock
tmpfs 440276 0 440276 0% /sys/fs/cgroup
/dev/mmcblk0p1 61384 22808 38576 38% /boot
//NASD06E61/Multimedia/Musica/ 1921316560 1021848088 899468472 54% /mnt/share
tmpfs 88056 8 88048 1% /run/user/1000#### LOAD AVERAGE ####
0.36 0.58 0.27 1/232 3526#### KERNEL ####
Linux soggiorno 4.9.39-v7+ #1020 SMP Sat Jul 22 14:21:01 BST 2017 armv7l GNU/Linux#### LINUX-VERSION ####
Distributor ID: Raspbian
Description: Raspbian GNU/Linux 8.0 (jessie)
Release: 8.0
Codename: jessie#### SQUEEZELITE VERSION ####
Squeezelite v1.8.3-718, Copyright 2012-2015 Adrian Smith, 2015-2016 Ralph Irving.#### SQUEEZELITE BUILDOPTIONS ####
Build options: LINUX ALSA EVENTFD RESAMPLE FFMPEG VISEXPORT DSD ALSASYNC BLUETOOTHSYNC#### AUDIOPLAYER CONFIG ####
### Configuration of Audioplayers
SQUEEZELITE_PARAMETER=-o pulse -a 80:4:: -B
SQUEEZESLAVE_PARAMETER=-n plugequal
SHAIRPORT_PARAMETER=-d pulse
USE_USB_DAC=0
USE_EQUALIZER=1
SYSTEM_USER=pi
YMPD_PARAMETER=–webport 8081
BLUETOOTH_MACADDRESS_MAINPLAYER=#### SQUEEZELITE -l ####
Output devices:
null – Discard all samples (playback) or generate zero samples (capture)
pulse – PulseAudio Sound Server
equal
plugequal – Equalizer for plughw:0,0
default:CARD=ALSA – bcm2835 ALSA, bcm2835 ALSA – Default Audio Device
sysdefault:CARD=ALSA – bcm2835 ALSA, bcm2835 ALSA – Default Audio Device
dmix:CARD=ALSA,DEV=0 – bcm2835 ALSA, bcm2835 ALSA – Direct sample mixing device
dmix:CARD=ALSA,DEV=1 – bcm2835 ALSA, bcm2835 IEC958/HDMI – Direct sample mixing device
dsnoop:CARD=ALSA,DEV=0 – bcm2835 ALSA, bcm2835 ALSA – Direct sample snooping device
dsnoop:CARD=ALSA,DEV=1 – bcm2835 ALSA, bcm2835 IEC958/HDMI – Direct sample snooping device
hw:CARD=ALSA,DEV=0 – bcm2835 ALSA, bcm2835 ALSA – Direct hardware device without any conversions
hw:CARD=ALSA,DEV=1 – bcm2835 ALSA, bcm2835 IEC958/HDMI – Direct hardware device without any conversions
plughw:CARD=ALSA,DEV=0 – bcm2835 ALSA, bcm2835 ALSA – Hardware device with all software conversions
plughw:CARD=ALSA,DEV=1 – bcm2835 ALSA, bcm2835 IEC958/HDMI – Hardware device with all software conversions#### SHAIRPORT (SYNC) VERSION ####
2.8.0-openssl-Avahi-ALSA-soxr#### OUTPUT SOUND DETAILS CARD 0 ####
closed#### OUTPUT SOUND DETAILS CARD 1 ####
#### Bluetooth Installation ####
#### Bluetooth Dongle ####
hci0: Type: BR/EDR Bus: UART
BD Address: B8:27:EB:6A:D7:7D ACL MTU: 1021:8 SCO MTU: 64:1
UP RUNNING
RX bytes:208680 acl:31 sco:0 events:25896 errors:0
TX bytes:31860277 acl:51661 sco:0 commands:55 errors:0#### DEVICE Audiovector 2d159 ####
[00:07:80:72:DF:E6]
Name: Audiovector 2d159
Alias: Audiovector 2d159 [rw]
Address: 00:07:80:72:DF:E6
Icon: audio-card
Class: 0x240414
Paired: 1
Trusted: 1 [rw]
Blocked: 0 [rw]
Connected: 1
UUIDs: [SerialPort, AudioSink, PnPInformation]#### PACMD LIST | grep active ####
active port: <analog-output>
active port: <speaker-output>
active profile: <output:analog-stereo>
active profile: <a2dp>#### PACMD LIST | grep sink ####
Default sink name: bluez_sink.00_07_80_72_DF_E6
module.description = „When a bluetooth sink or source is added, load module-loopback“
module.description = „Automatically restore the default sink and source“
module.description = „When a sink/source is removed, try to move its streams to the default sink/source“
name: <module-always-sink>
module.description = „Mantiene sempre almeno un sink caricato anche se è nullo“
module.description = „When a sink/source is idle for too long, suspend it“
module.description = „Load filter sinks automatically when needed“
module.description = „BlueZ 5 Bluetooth audio sink and source“
2 sink(s) available.
name: <bluez_sink.00_07_80_72_DF_E6>
bluetooth.protocol = „a2dp_sink“
name: <bluez_sink.00_07_80_72_DF_E6.monitor>
sinks:
sinks:
bluez_sink.00_07_80_72_DF_E6/#1: Audiovector 2d159
bluez_sink.00_07_80_72_DF_E6.monitor/#1: Monitor of Audiovector 2d159
1 sink input(s) available.
sink: 1 <bluez_sink.00_07_80_72_DF_E6>
module-stream-restore.id = „sink-input-by-application-name:ALSA plug-in [squeezelite]“#### X-SERVER RUNNING ####
1#### PULSEAUDIO RUNNING ####
1 S 1000 1787 1 3 80 0 – 42428 – ? 00:00:30 pulseaudio#### PACMD LIST-CARDS | DEBUG COMPLETE ####
2 card(s) available.
index: 0
name: <alsa_card.platform-soc_audio>
driver: <module-alsa-card.c>
owner module: 6
properties:
alsa.card = „0“
alsa.card_name = „bcm2835 ALSA“
alsa.long_card_name = „bcm2835 ALSA“
alsa.driver_name = „snd_bcm2835“
device.bus_path = „platform-soc:audio“
sysfs.path = „/devices/platform/soc/soc:audio/sound/card0“
device.string = „0“
device.description = „bcm2835 ALSA“
module-udev-detect.discovered = „1“
device.icon_name = „audio-card“
profiles:
output:analog-mono: Mono analogico Output (priority 100, available: unknown)
output:analog-stereo: Stereo analogico Output (priority 6000, available: unknown)
off: Spento (priority 0, available: unknown)
active profile: <output:analog-stereo>
sinks:
alsa_output.platform-soc_audio.analog-stereo/#0: bcm2835 ALSA Stereo analogico
sources:
alsa_output.platform-soc_audio.analog-stereo.monitor/#0: Monitor of bcm2835 ALSA Stereo analogico
ports:
analog-output: Uscita analogica (priority 9900, latency offset 0 usec, available: unknown)
properties:index: 1
name: <bluez_card.00_07_80_72_DF_E6>
driver: <module-bluez5-device.c>
owner module: 27
properties:
device.description = „Audiovector 2d159“
device.string = „00:07:80:72:DF:E6“
device.api = „bluez“
device.class = „sound“
device.bus = „bluetooth“
device.form_factor = „speaker“
bluez.path = „/org/bluez/hci0/dev_00_07_80_72_DF_E6“
bluez.class = „0x240414“
bluez.alias = „Audiovector 2d159“
device.icon_name = „audio-speakers-bluetooth“
profiles:
a2dp: High Fidelity Playback (A2DP Sink) (priority 10, available: unknown)
off: Spento (priority 0, available: yes)
active profile: <a2dp>
sinks:
bluez_sink.00_07_80_72_DF_E6/#1: Audiovector 2d159
sources:
bluez_sink.00_07_80_72_DF_E6.monitor/#1: Monitor of Audiovector 2d159
ports:
speaker-output: Speaker (priority 0, latency offset 0 usec, available: unknown)
properties:speaker-input: Bluetooth Input (priority 0, latency offset 0 usec, available: no)
properties:#### BOOT CONFIG TXT ####
# For more options and information see
# http://rpf.io/configtxtreadme
# Some settings may impact device functionality. See link above for details# uncomment if you get no picture on HDMI for a default „safe“ mode
#hdmi_safe=1# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16# uncomment to force a console size. By default it will be display’s size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720# uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1# uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
#hdmi_drive=2# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4# uncomment for composite PAL
#sdtv_mode=2#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on# Uncomment this to enable the lirc-rpi module
#dtoverlay=lirc-rpi# Additional overlays and parameters are documented /boot/overlays/README
# Enable audio (loads snd_bcm2835)
dtparam=audio=on
gpu_mem=128I have a very long DEBUG for Squeezebox Server, i put only the part of when i started the test today:
2017-12-06 17:21:06 squeezeboxserver_safe stopped.
2017-12-06 17:21:26 squeezeboxserver_safe started.
[17-12-06 17:21:44.2812] main::init (387) Starting Logitech Media Server (v7.9.1, 1511211491, Tue Nov 21 06:40:13 UTC 2017) perl 5.020002 – arm-linux-gnueabihf-thread-multi-64int
[17-12-06 17:21:45.8736] Slim::Utils::IPDetect::_init (113) Warning: Couldn’t call connect() – falling back to 127.0.0.1
[17-12-06 17:21:46.6214] Slim::Utils::Misc::msg (1250) Warning: [17:21:46.6196] DBIx::Class::ResultSet::update_or_create(): Query returned more than one row. SQL that returns multiple rows is DEPRECATED for ->find and ->single at /usr/share/perl5/Slim/Schema.pm line 1877
[17-12-06 17:22:26.8842] Slim::Plugin::UPnP::Events::error (323) Subscribe/unsubscribe error: 412 Precondition Failed
[17-12-06 17:22:26.9006] Slim::Plugin::UPnP::Events::error (323) Subscribe/unsubscribe error: 412 Precondition Failed
2017-12-06 17:22:54 squeezeboxserver_safe stopped.
2017-12-06 17:22:54 squeezeboxserver_safe started.
[17-12-06 17:23:01.0828] main::init (387) Starting Logitech Media Server (v7.9.1, 1511211491, Tue Nov 21 06:40:13 UTC 2017) perl 5.020002 – arm-linux-gnueabihf-thread-multi-64int
[17-12-06 17:23:02.5008] Slim::Utils::Misc::msg (1250) Warning: [17:23:02.4994] DBIx::Class::ResultSet::update_or_create(): Query returned more than one row. SQL that returns multiple rows is DEPRECATED for ->find and ->single at /usr/share/perl5/Slim/Schema.pm line 1877
[17-12-06 17:23:20.1148] Slim::Plugin::UPnP::Events::error (323) Subscribe/unsubscribe error: 412 Precondition Failed
[17-12-06 17:23:20.2616] Slim::Plugin::UPnP::Events::error (323) Subscribe/unsubscribe error: 412 Precondition Failed
[17-12-06 17:23:20.4483] Slim::Plugin::UPnP::Events::error (323) Subscribe/unsubscribe error: 412 Precondition Failed
[17-12-06 17:23:20.4752] Slim::Plugin::UPnP::Events::error (323) Subscribe/unsubscribe error: 412 Precondition Failed
[17-12-06 17:23:20.5827] Slim::Plugin::UPnP::Events::error (323) Subscribe/unsubscribe error: 412 Precondition Failed
[17-12-06 17:23:20.5904] Slim::Plugin::UPnP::Events::error (323) Subscribe/unsubscribe error: 412 Precondition Failed
[17-12-06 17:44:36.5143] Slim::Plugin::RemoteLibrary::UPnP::ControlPoint::_gotError (279) Error retrieving device description: Connect timed out:
2017-12-06 17:51:05 squeezeboxserver_safe stopped.
2017-12-06 17:51:24 squeezeboxserver_safe started.
[17-12-06 17:51:41.6135] main::init (387) Starting Logitech Media Server (v7.9.1, 1511211491, Tue Nov 21 06:40:13 UTC 2017) perl 5.020002 – arm-linux-gnueabihf-thread-multi-64int
[17-12-06 17:51:43.5938] Slim::Utils::IPDetect::_init (113) Warning: Couldn’t call connect() – falling back to 127.0.0.1
[17-12-06 17:51:44.2811] Slim::Utils::Misc::msg (1250) Warning: [17:51:44.2794] DBIx::Class::ResultSet::update_or_create(): Query returned more than one row. SQL that returns multiple rows is DEPRECATED for ->find and ->single at /usr/share/perl5/Slim/Schema.pm line 1877
[17-12-06 17:52:19.2899] Slim::Web::JSONRPC::requestMethod (443) b8:27:eb:c0:7d:d7: request not dispatchable!
[17-12-06 17:52:32.5946] Slim::Plugin::UPnP::Events::error (323) Subscribe/unsubscribe error: 412 Precondition Failed
[17-12-06 17:52:40.8310] Slim::Plugin::UPnP::Events::error (323) Subscribe/unsubscribe error: 412 Precondition Failed
2017-12-06 17:52:40 squeezeboxserver_safe stopped.
2017-12-06 17:52:41 squeezeboxserver_safe started.
[17-12-06 17:52:48.0130] main::init (387) Starting Logitech Media Server (v7.9.1, 1511211491, Tue Nov 21 06:40:13 UTC 2017) perl 5.020002 – arm-linux-gnueabihf-thread-multi-64int
[17-12-06 17:52:49.2925] Slim::Utils::Misc::msg (1250) Warning: [17:52:49.2911] DBIx::Class::ResultSet::update_or_create(): Query returned more than one row. SQL that returns multiple rows is DEPRECATED for ->find and ->single at /usr/share/perl5/Slim/Schema.pm line 1877
[17-12-06 17:52:59.1316] Slim::Plugin::UPnP::Events::error (323) Subscribe/unsubscribe error: 412 Precondition Failed
[17-12-06 17:52:59.5746] Slim::Plugin::UPnP::Events::error (323) Subscribe/unsubscribe error: 412 Precondition Failed
[17-12-06 17:52:59.5816] Slim::Plugin::UPnP::Events::error (323) Subscribe/unsubscribe error: 412 Precondition Failed
[17-12-06 17:52:59.6278] Slim::Plugin::UPnP::Events::error (323) Subscribe/unsubscribe error: 412 Precondition Failed
[17-12-06 17:52:59.6486] Slim::Plugin::UPnP::Events::error (323) Subscribe/unsubscribe error: 412 Precondition Failed
2017-12-06 17:56:27 squeezeboxserver_safe stopped.
2017-12-06 17:56:43 squeezeboxserver_safe started.
[17-12-06 17:57:04.5043] main::init (387) Starting Logitech Media Server (v7.9.1, 1511211491, Tue Nov 21 06:40:13 UTC 2017) perl 5.020002 – arm-linux-gnueabihf-thread-multi-64int
[17-12-06 17:57:08.4188] Slim::Utils::Misc::msg (1250) Warning: [17:57:08.4171] DBIx::Class::ResultSet::update_or_create(): Query returned more than one row. SQL that returns multiple rows is DEPRECATED for ->find and ->single at /usr/share/perl5/Slim/Schema.pm line 1877
2017-12-06 17:58:05 squeezeboxserver_safe stopped.
2017-12-06 17:58:06 squeezeboxserver_safe started.
[17-12-06 17:58:13.5553] main::init (387) Starting Logitech Media Server (v7.9.1, 1511211491, Tue Nov 21 06:40:13 UTC 2017) perl 5.020002 – arm-linux-gnueabihf-thread-multi-64int
[17-12-06 17:58:14.8440] Slim::Utils::Misc::msg (1250) Warning: [17:58:14.8427] DBIx::Class::ResultSet::update_or_create(): Query returned more than one row. SQL that returns multiple rows is DEPRECATED for ->find and ->single at /usr/share/perl5/Slim/Schema.pm line 1877
[17-12-06 17:58:37.6270] Slim::Plugin::UPnP::Events::error (323) Subscribe/unsubscribe error: 412 Precondition Failed
[17-12-06 17:58:41.2399] Slim::Plugin::UPnP::Events::error (323) Subscribe/unsubscribe error: 412 Precondition Failed
[17-12-06 17:58:41.3290] Slim::Plugin::UPnP::Events::error (323) Subscribe/unsubscribe error: 412 Precondition Failed
[17-12-06 17:58:41.4028] Slim::Plugin::UPnP::Events::error (323) Subscribe/unsubscribe error: 412 Precondition Failed
[17-12-06 17:58:41.4126] Slim::Plugin::UPnP::Events::error (323) Subscribe/unsubscribe error: 412 Precondition Failed
[17-12-06 17:58:41.4540] Slim::Plugin::UPnP::Events::error (323) Subscribe/unsubscribe error: 412 Precondition Failed
2017-12-06 18:17:07 squeezeboxserver_safe stopped.
2017-12-06 18:17:19 squeezeboxserver_safe started.
[17-12-06 18:17:40.6146] main::init (387) Starting Logitech Media Server (v7.9.1, 1511211491, Tue Nov 21 06:40:13 UTC 2017) perl 5.020002 – arm-linux-gnueabihf-thread-multi-64int
[17-12-06 18:17:42.3123] Slim::Utils::IPDetect::_init (113) Warning: Couldn’t call connect() – falling back to 127.0.0.1
[17-12-06 18:17:42.9706] Slim::Utils::Misc::msg (1250) Warning: [18:17:42.9689] DBIx::Class::ResultSet::update_or_create(): Query returned more than one row. SQL that returns multiple rows is DEPRECATED for ->find and ->single at /usr/share/perl5/Slim/Schema.pm line 1877
2017-12-06 18:24:24 squeezeboxserver_safe stopped.
2017-12-06 18:24:24 squeezeboxserver_safe started.
[17-12-06 18:24:31.7893] main::init (387) Starting Logitech Media Server (v7.9.1, 1511211491, Tue Nov 21 06:40:13 UTC 2017) perl 5.020002 – arm-linux-gnueabihf-thread-multi-64int
[17-12-06 18:24:33.0711] Slim::Utils::Misc::msg (1250) Warning: [18:24:33.0698] DBIx::Class::ResultSet::update_or_create(): Query returned more than one row. SQL that returns multiple rows is DEPRECATED for ->find and ->single at /usr/share/perl5/Slim/Schema.pm line 1877
[17-12-06 18:24:57.2142] Slim::Plugin::UPnP::Events::error (323) Subscribe/unsubscribe error: 412 Precondition Failed
[17-12-06 18:24:57.2201] Slim::Plugin::UPnP::Events::error (323) Subscribe/unsubscribe error: 412 Precondition Failed
[17-12-06 18:25:03.1362] Slim::Plugin::UPnP::Events::error (323) Subscribe/unsubscribe error: 412 Precondition Failed
[17-12-06 18:25:03.1669] Slim::Plugin::UPnP::Events::error (323) Subscribe/unsubscribe error: 412 Precondition Failed
[17-12-06 18:25:03.1994] Slim::Plugin::UPnP::Events::error (323) Subscribe/unsubscribe error: 412 Precondition Failed
[17-12-06 18:25:03.2374] Slim::Plugin::UPnP::Events::error (323) Subscribe/unsubscribe error: 412 Precondition Failed- This reply was modified 7 years ago by antonio81le.
- This reply was modified 7 years ago by antonio81le.
- This reply was modified 7 years ago by antonio81le.
6. Dezember 2017 at 19:23 #32820So ist seems to be a driver problem which is only solvable with a new driver package…
6. Dezember 2017 at 19:33 #32822Hi SJS, i modify my last post and i inserted my debugs.. i don’t know if u can understand something..
6. Dezember 2017 at 20:01 #32825I saw many errors with Logitech Media Server too..but i don’t know if it is the problem. If i play music by headphone,for example, it works good..yes, it s slow, i dont like graphic..sometimes many music is not showed in my library (i ll try to see for these errors),but i dont know if there are others possibility to play bluetooth. I tried with Spotify Connect but no sound available..
9. Dezember 2017 at 14:59 #32843Hey guys,
I read now for around 1h cross this forum trying solving my problem:
I just got the Pro-Licence because Max2Play + Bluetooth Plugin (as a reciver) would work perfectly for my whole house multi room sound system. I have to have BT because of sources which can’t be streamed via DLNA or Network Apps (Spotify etc.) like Audible from my smartphone.
On two RPi3 without any soundcard, with the newest 2.45 image from the website and BT Plugin up, running, paired and connected, I had the same issue: Sound was cracking, jumping some ms back and forth, buffer collapse and also reboot.
For me it sounded like wrong buffer parameters so I was trying to get information in the backend (SSH) or even reconfigure buffer.
While reading in the forum is saw this post:
Maybe it helps to disable wifi and use Ethernet only. I have read about problems if both modules are activated.
Without believing it would work this solved the problem on both of my RPi. Coming from the idea of a multi room wifi sound network, LAN is not working in my case.
Is this problem known, any (backend) workaround?
11. Dezember 2017 at 17:25 #32869Nobody has some ideas about why bluetooth doesnt work?!
11. Dezember 2017 at 19:16 #32870I was not able to solve the BT problem that I had (I used MAX2PLAY as BT sink/receiver – see above #32549).
I guess there is simply a bug in the MAX2PLAY BT plugin.
Meanwhile I am using SnapCast for my multi-room system. With SnapCast the audio playback is stable for hours when streaming via BT.11. Dezember 2017 at 19:38 #32871Could u tell me more about this? Can i use it with Max2Play ?
12. Dezember 2017 at 10:14 #32878Snapcast (https://github.com/badaix/snapcast/) is an open source synchronous multi-room audio player. It cannot be used with Max2Play.
- This reply was modified 7 years ago by hanoba.
12. Dezember 2017 at 11:53 #32888Hi,
when trying to install the Bluetooth support, nothing happens.
After rebooting, the Bluetooth settings to add bluetooth devices does not show up. The Bluetooth page again just shows the button to „install bluetooth“.- Raspberry Pi 3
- M2P 2.45 – IQaudiO
- Squeezelite and Shareport disabled
- Wifi enabled but Pi connected via LAN cable
- Built in audio disabled
- Booting into desktop
- Squeezebox server installed
What other infos could be interesting?
What log would be interesting for analysation?Many thanks and best regards.
12. Dezember 2017 at 17:30 #32906Hi guys,
Sorry about my absence. As mentioned before in other threads, I was laboring through a sickness for last week and am just now back at the office. Here, we have already run a long-term test for BT but were not able to detect any errors or bugs.
We are now running another test with another speaker to see whether this might give us some more insight.
@antonio: please try temporarily deactivating the UPNP plugin for your LMS (Settings -> Plugins -> active Plugins -> remove tick -> save).
@muhackl: I just tested with a fresh install, could you try deactivating WiFi, rebooting and installing BT again?
@Stefan: thanks for helping out in my absence.
@hanoba: thank you for pointing out snapcast, might be worthwhile to look into for future updates.12. Dezember 2017 at 17:55 #32907Hi Heiner,
I hope, you are well again. I’m suffering a cold too atm – but what gives me time for my raspi 😉
I disabled the Wifi via the raspberry settings: „Disable Default WiFi Interface WLAN0 on RPI3“ and in the section „WLAN & LAN“ the „Load WLAN interface“ is ticked off.
Have that been all/the right places to deactivatve Wifi? Because if I try to install Bluetooth now, the same thing happens: Nothing.I freshly installed M2P 2.45 on another Raspberry Pi 3 and installed Bluetooth there and it works at once. I recognizes, the installation process need way longer time and goes through way more routines than on the other Pi where it does not work.
On the Pi where installation fails, the only output in the yellow box is:Bluetooth Installation gestartet
Installation gestartet – Diese Meldung zeigt den aktuellen Status der Installation aller 3 Sekunden an. Wenn diese abgeschlossen ist verschwindet die Meldung und der Server läuft.
Get:7 https://dev2day.de jessie/main Translation-en_GB [323 B]
Get:8 https://dev2day.de jessie/main Translation-en [320 B]
Get:9 https://dev2day.de jessie/main Translation-en_GB [323 B]
Ign https://dev2day.de jessie/main Translation-en_GB
Get:10 https://dev2day.de jessie/main Translation-en [320 B]
Ign https://dev2day.de jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/main Translation-en_GB
Ign http://archive.raspberrypi.org jessie/main Translation-en
Ign http://archive.raspberrypi.org jessie/ui Translation-en_GB
Ign http://archive.raspberrypi.org jessie/ui Translation-en
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/contrib Translation-en
Ign http://mirrordirector.raspbian.org jessie/main Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/main Translation-en
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/non-free Translation-en
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en_GB
Ign http://mirrordirector.raspbian.org jessie/rpi Translation-en
You need to choose pulse as audio output for your audioplayer AND run a X-Server (e.g. Jivelite – workaround for pulseaudio)
Finished – now connect the Bluetooth dongle or Reboot Click here to reboot nowRegards
Muhackl- This reply was modified 7 years ago by muhackl.
12. Dezember 2017 at 19:18 #32910Hi Heiner,
tnx for the answer. I would like to test now excluding the LMS plugin as u said,but i have 2 problems:– first is this:
when i try to connect bluetooth often it gives me this
„Attempting to connect to 00:07:80:72:DF:E6
Failed to connect: org.bluez.Error.InProgress
quit“– second problem is my problem with connection in last 2 days. My phone company is working to system the problem, i hope it will soon cause i m going crazy. Frequency disconnection of internet could give me problems with connection to bluetooth?
12. Dezember 2017 at 21:41 #32918Did anyone try to use an external BT adapter (e.g. the Logilink adapter in the webshop) together with internal wifi?
Maybe that would be a temporary solution for the wifi/BT interference problems with the RPI’s internal antenna (used for both wifi and BT).
@muhackl: sorry for this question: are you sure that no sd card protection is enabled? And do you have the tick within the RPi settings page that bluetooth is enabled (activating the hardware for BT)?Regards,
Stefan12. Dezember 2017 at 23:37 #32921UPDATE: my bluetooth is working good from 2 hours . I deactiveted the UPNP plugin and now it’s working… GREAT! I ll test still some hour tonight and tomorrow.. but i hope it will ok!!
UPDATE 2:after i texted here…it stopped work!!! But i don’t know if it s a problem connected to Bluetooth.. I started to put music in playlist and LMS started to be slow, i push play or add list and it answer after many many minutes!! It looks like if it lost the connection (but now my internet is going good,without problems.. no disconnections)
EDIT: i dont understand one thing: i connect my bluetooth,it says me CONNECTION SUCCESSFULL, but if i try to connect another device to my speakers, the other device connect to speaker… this means that the bluetooth of max2play doesnt pair…
I did others test. I have diffent problems:
– bluetooh has difficult to pair my speaker;
– when i pair it Bluetooth falls after few seconds,but it is still pair cause when i restard squeezlite audio coome back for some second,then fall again
– whhen audio falls,the minutes and the seconds of the track goes go the end of the song,or seconds start to move in forward and back
– lms lost my files. If i play an mp3, in the next restart it is lost!
– many often when i restart max2play,and it starts again,i push to open lms panel and it gives me error page.Well,my raspberry 3 is connected to a Qnap Nas(both on ethernet),and music folder is mounted on max2play. My nas is full for 1023,89GB,but all this happens even if i mount just one folder.
I m trying give u how much info as possible. I m thinking it could be cause a not good connection in last days,but previous week this happened with just when i tried to hear music with bluetooth. If i heard by hesdphones it never gave me problems.Sorry if text too long.
TEST IN MORNING: i m still testing the system. I think to have problem with PulseAudio. If i chosoe Pulseaudio as output i have all the problems i texted yesterday, bluetooth in primis. If i choose output like Default,connecting headphones, i have any kind of problem,no audio interruption,no problems with the tracks, and it play for hours and hours..
- This reply was modified 7 years ago by antonio81le.
- This reply was modified 7 years ago by antonio81le.
- This reply was modified 7 years ago by antonio81le.
- This reply was modified 7 years ago by antonio81le.
-
You must be logged in to reply to this topic.