paul- wrote:
> It sounds like there is some confusion regarding modes, and I'm sure
> language translation is not helping.
>
> Speaker: Play music from LMS to the Bluetooth Speaker. The Name of
> the bluetooth speaker will show up in LMS Players list
>
> Streamer: Connect your phone via bluetooth to pCP. Creates a http
> stream from pCP which LMS can be directed to play to any Player in your
> LMS environment.
>
> Player: Connect your phone to pCP and play music to your wired
> speakers.
>
This is SO helpful! Thanks Paul. I've now got sound out of my headphones
with their BT adapter.
To get this result I turned off the power for this player on LMS and
checked that nothing was playing to pCP. Then on the player BT page, set
the device type for the BT adapter to "Speaker". (The Squeezelite
settings are USB audio out, with output setting hw:CARD=ALSA,DEV=0)
Then I turned on the headphones BT adapter, which paired with the
player. Refreshing the LMS web interface brought up the BT adapter as a
player - and sound happened!
In case it's useful, here's the BT log.
Code:
--------------------
pCP Bluetooth extension build:0011
Starting BT Controller
USB Bluetooth Hardware Address: 00:1A:7D:DA:71:0A
Starting pCP BT Pairing Agent
BT Controller Ready
05-27 10:47 NZST INFO ------------Starting pCP BT Speaker Daemon
v6.0.0.0010------------
05-27 10:47 NZST INFO Resetting asound.conf.
05-27 10:47 NZST INFO Removing bt_ from asound.conf
05-27 10:47 NZST INFO Current contents of /usr/local/etc/pcp/pcp-bt.conf.
05-27 10:47 NZST INFO 00:00:00:00:3C:CF#iTrip Clip#1000#3
05-27 10:47 NZST DEBUG PCM Devices found dbus.Dictionary({},
signature=dbus.Signature('oa{sv}'))
05-27 10:47 NZST INFO Starting connection signal handlers.
05-27 10:58 NZST INFO ------------Starting pCP BT Speaker Daemon
v6.0.0.0010------------
05-27 10:58 NZST INFO Resetting asound.conf.
05-27 10:58 NZST INFO Removing bt_ from asound.conf
05-27 10:58 NZST INFO Current contents of /usr/local/etc/pcp/pcp-bt.conf.
05-27 10:58 NZST INFO 00:00:00:00:3C:CF#iTrip Clip#1000#1
05-27 10:58 NZST DEBUG PCM Devices found dbus.Dictionary({},
signature=dbus.Signature('oa{sv}'))
05-27 10:58 NZST INFO Starting connection signal handlers.
05-27 10:59 NZST INFO ---- Caught Connect signal ----
05-27 10:59 NZST DEBUG /org/bluealsa/hci0/dev_00_00_00_00_3C_CF/hfpag/sink
05-27 10:59 NZST DEBUG HCI:hci0
05-27 10:59 NZST INFO MAC:00:00:00:00:3C:CF
05-27 10:59 NZST INFO TRANSPORT:hfpag
05-27 10:59 NZST INFO Starting a2dp background monitor.
05-27 10:59 NZST INFO ---- Caught Connect signal ----
05-27 10:59 NZST DEBUG
/org/bluealsa/hci0/dev_00_00_00_00_3C_CF/hfpag/source
05-27 10:59 NZST DEBUG HCI:hci0
05-27 10:59 NZST INFO MAC:00:00:00:00:3C:CF
05-27 10:59 NZST INFO TRANSPORT:hfpag
05-27 10:59 NZST INFO ---- Caught Connect signal ----
05-27 10:59 NZST DEBUG
/org/bluealsa/hci0/dev_00_00_00_00_3C_CF/a2dpsrc/sink
05-27 10:59 NZST DEBUG HCI:hci0
05-27 10:59 NZST INFO MAC:00:00:00:00:3C:CF
05-27 10:59 NZST INFO TRANSPORT:a2dpsrc
05-27 10:59 NZST INFO Connected iTrip Clip
05-27 10:59 NZST INFO Starting squeezelite with output device:
bt_iTrip_Clip
05-27 10:59 NZST INFO Device: dev_00_00_00_00_3C_CF, connected
normally. Monitor exiting.
05-27 10:59 NZST INFO Checking for squeezelite pid:10830
05-27 10:59 NZST INFO Player Connected to LMS at: 192.168.1.99:9000
05-27 10:59 NZST INFO Sending Play command for iTrip Clip to LMS at
192.168.1.99
05-27 10:59 NZST DEBUG /usr/bin/wget -T 5 -q -O-
--post-data='{"id":1,"method":"slim.request","params":[ "iTrip Clip", [ "play"
]]}' --header 'Content-Type: application/json'
http://192.168.1.99:9000/jsonrpc.js
05-27 10:59 NZST DEBUG Command returned 0
--------------------
At first the sound was good, but then started stuttering. Moving one of
the dongles onto an extension cable fixed that, presumably interference
between wifi and bluetooth signals caused the stuttering.
(My test set up is a Pi Model B Rev. 2, pCP 6.0.0, web interface v0009;
BT extension build 0011. Wifi and BT both coming from USB dongles)
Digital: Squeezebox Duet Receiver - Yamaha RX-V2700 and Jamo speakers
Analogue: Speakercraft MZC-66 for whole house system
Logitech Music Server: 8.0.0 with piCorePlayer 6 on Raspberry Pi 3B
Library: External USB drive
Ethernet: Squeezebox Duet Receiver
Wifi: Duet controller + Android Squeezer
------------------------------------------------------------------------
Viragored's Profile: http://forums.slimdevices.com/member.php?userid=32954
View this thread: http://forums.slimdevices.com/showthread.php?t=111972
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix