Re: [SlimDevices: Unix] piCorePlayer 8.0.0 - Bluetooth Discussion

2022-02-05 Thread StevenEllis


Is there any way to increase the buffer between LMS and the bluetooth
device?

I've got some poor 2.4GHz wifi issues and I'm getting jumpy audio to my
Sony BT speakers on a regular basis.

I'm currently using a Raspi-Zero-W and I have the most issues if I use
the built in BT & Wifi.

I've tried an external BT Dongle, but that simply made things far worse.
Then I tried turning off the built in WiFI and using an old 2.4Ghz wifi
stick. It is a little bit better, but can still be a bit patchy.

I've also tried a Pi3 using 5.4 GHz wifi and everything was much better,
but I don't have a spare unit to use as a streamer full time.

Looking at my WiFi APs I'm seeing a lot of re-tried traffic heading to
the pizero. On the raspi side I appear to have a stable wifi
connection.

The wierd part with all of this is we'll have a couple of days where the
BT speakers will work with almost no issues, and then we'll have a
couple of days of constant stuttering. I'd really appreciate any
tips/tricks as I'm running out of ideas



StevenEllis's Profile: http://forums.slimdevices.com/member.php?userid=69979
View this thread: http://forums.slimdevices.com/showthread.php?t=114834

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] picoreplayer grep version issues

2021-10-07 Thread StevenEllis

paul- wrote: 
> I’ll make a request to get Grep updated.

Thanks. Looks like I can resolve the issue by using sed instead of grep.



StevenEllis's Profile: http://forums.slimdevices.com/member.php?userid=69979
View this thread: http://forums.slimdevices.com/showthread.php?t=115237

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] picoreplayer grep version issues

2021-10-07 Thread StevenEllis


Here are the details  for the script i'm using

  https://github.com/trsqr/mijia_mqtt/blob/master/mijia_mqtt.sh



StevenEllis's Profile: http://forums.slimdevices.com/member.php?userid=69979
View this thread: http://forums.slimdevices.com/showthread.php?t=115237

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] picoreplayer grep version issues

2021-10-07 Thread StevenEllis


paul- wrote: 
> I skimmed too much.   I get that extension from the piCore repo, so we
> would have to raise an issue over there.
> 
> Why not just use standard regex support.

I'm using a third party script "mijia_mqtt.sh" to read my temp/humidity
sensors. I'll need to take a look at the code structure.



StevenEllis's Profile: http://forums.slimdevices.com/member.php?userid=69979
View this thread: http://forums.slimdevices.com/showthread.php?t=115237

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


[SlimDevices: Unix] picoreplayer grep version issues

2021-10-06 Thread StevenEllis


I'm running some additional scripts on my picoreplayer instances to pull
data from some bluetooth based sensors. This script requires pcre
support in grep.

My older picoreplayer 7.0 systems still work as they currently have grep
3.1 


Code:


  tc@bluesqueeze:~$ grep --version
  grep (GNU grep) 3.1
  Copyright (C) 2017 Free Software Foundation, Inc.
  License GPLv3+: GNU GPL version 3 or later .
  This is free software: you are free to change and redistribute it.
  There is NO WARRANTY, to the extent permitted by law.
  
  Written by Mike Haertel and others, see 
.
  tc@bluesqueeze:~$ grep -oP 'value: \K.*'
  
  



On my recently upgraded instance I tried installing grep from extensions
and it now lacks pcre support

Code:


  tc@Homeoffice:~$ grep --version
  grep (GNU grep) 3.4
  Copyright (C) 2020 Free Software Foundation, Inc.
  License GPLv3+: GNU GPL version 3 or later 
.
  This is free software: you are free to change and redistribute it.
  There is NO WARRANTY, to the extent permitted by law.
  
  Written by Mike Haertel and others; see
  .
  tc@Homeoffice:~$ grep -oP 'value: \K.*'
  grep: Perl matching not supported in a --disable-perl-regexp build
  
  



Has anyone else hit this issue, and do you have a recommended fix as I'd
like to upgrade my pizero environment to version 8.0.



StevenEllis's Profile: http://forums.slimdevices.com/member.php?userid=69979
View this thread: http://forums.slimdevices.com/showthread.php?t=115237

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2021-09-20 Thread StevenEllis


StevenEllis wrote: 
> I've installed the alsaequal extension and enabled it under Tweaks but
> squeezelite won't start.
> 
> Here is the output from the command line
> 
> # /usr/local/bin/squeezelite -n HomeOffice -o plugequal -a "80 4  0"  -s
> newserver -C 5
> [16:13:19.067258] test_open:281 playback open error: No such device
> [16:13:19.071624] output_init_common:401 unable to open output device:
> plugequal
> 
> Whilst the following will work.
> # /usr/local/bin/squeezelite -n HomeOffice -o sysdefault -a "80 4  0" 
> -s newserver -C 5
> 
> 
> The following works as well
> 
> # speaker-test -c 2 -d equal
> 
> Any ideas on additional troubleshooting?

Ok disabled the tweak and removed the add on.

Reboot and then enable the tweak without installing the extension first.
Now it appears to work.. Interesting.



StevenEllis's Profile: http://forums.slimdevices.com/member.php?userid=69979
View this thread: http://forums.slimdevices.com/showthread.php?t=114828

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2021-09-20 Thread StevenEllis


I've installed the alsaequal extension and enabled it under Tweaks but
squeezelite won't start.

Here is the output from the command line

# /usr/local/bin/squeezelite -n HomeOffice -o plugequal -a "80 4  0"  -s
newserver -C 5
[16:13:19.067258] test_open:281 playback open error: No such device
[16:13:19.071624] output_init_common:401 unable to open output device:
plugequal

Whilst the following will work.
# /usr/local/bin/squeezelite -n HomeOffice -o sysdefault -a "80 4  0" 
-s newserver -C 5


The following works as well

# speaker-test -c 2 -d equal

Any ideas on additional troubleshooting?



StevenEllis's Profile: http://forums.slimdevices.com/member.php?userid=69979
View this thread: http://forums.slimdevices.com/showthread.php?t=114828

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] RPI ZERO W - wifi unstable

2021-09-09 Thread StevenEllis


Do you have a WIFI network with AP roaming enabled?

This caused a bunch of problems with my RasPI based systems and I had to
turn it off.



StevenEllis's Profile: http://forums.slimdevices.com/member.php?userid=69979
View this thread: http://forums.slimdevices.com/showthread.php?t=115095

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] Announce: piCorePlayer 8.0.0

2021-07-17 Thread StevenEllis


Insitu upgrade issues on a Original Pi model B from version 7.x

I had bluetooth enabled - tried to disable / remove bluetooth support
from the webui an when the system rebooted I had no SSH access and
picoreplayer didn't start.

Connected a screen and keyboard and it appears some of the config wasn't
being loaded correctly as a bunch of directories were missing in
/usr/local/

Anyway I did a fresh install onto the SD card and rebuilt the config.
I've now got a secondary minor issue which I'll take to a different
thread.



StevenEllis's Profile: http://forums.slimdevices.com/member.php?userid=69979
View this thread: http://forums.slimdevices.com/showthread.php?t=114828

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


[SlimDevices: Unix] picoreplayer and hdmi audio - pause on hdmi off?

2020-09-01 Thread StevenEllis


I'm using picoreplayer 6.1 with HDMI audio to an Onkyo amp in the
lounge. I'd like to stop playback when the amplifier gets powered off.
Is there a simple way to detect this and script a power off event.



StevenEllis's Profile: http://forums.slimdevices.com/member.php?userid=69979
View this thread: http://forums.slimdevices.com/showthread.php?t=112868

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 6.0.0

2020-06-17 Thread StevenEllis


Easy in place upgrade on my Gen 1 B+.

Thanks for all the hard work.



StevenEllis's Profile: http://forums.slimdevices.com/member.php?userid=69979
View this thread: http://forums.slimdevices.com/showthread.php?t=111787

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] piCorePlayer 6.x.x - Bluetooth

2020-04-21 Thread StevenEllis


Interesting. It is working now with -  plughw:CARD=VX1,DEV=0

Android Phone -> piCore works great

Fedora Lapto -> piCore is a bit clippy. feels like a bluetooth issues.
Investigating.



StevenEllis's Profile: http://forums.slimdevices.com/member.php?userid=69979
View this thread: http://forums.slimdevices.com/showthread.php?t=111972

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] piCorePlayer 6.x.x - Bluetooth

2020-04-20 Thread StevenEllis


paul- wrote: 
> This line is what is printed with the audio should be getting linked.
> 
> "Starting player:"My Moto G5" bluetooth, alsa
> device:"hw:CARD=VX1,DEV=0", volume:""."
> 
> Can you ssh in and see if there is a bluealsa-aplay process running with
> this command.
> 
> ps ax  | grep bluealsa

Here is the output showing before and after making the connection


Code:

root@Homeoffice:/home/tc# tc@Homeoffice:~$ ps -eaf | grep blu
  1080 root  0:01 /usr/local/lib/bluetooth/bluetoothd --experimental
  1201 root  0:09 /usr/local/bin/bluealsa --profile=a2dp-source 
--profile=a2dp-sink --profile=hsp-ag --profile=hfp-ag --a2dp-volume
  1205 root  0:15 python3 /usr/local/bin/pcp-pairing-agent.py --agent 
--wait_for_bluez
  16572 tc0:00 grep blu
  tc@Homeoffice:~$ ps -eaf | grep blu
  1080 root  0:01 /usr/local/lib/bluetooth/bluetoothd --experimental
  1201 root  0:09 /usr/local/bin/bluealsa --profile=a2dp-source 
--profile=a2dp-sink --profile=hsp-ag --profile=hfp-ag --a2dp-volume
  1205 root  0:15 python3 /usr/local/bin/pcp-pairing-agent.py --agent 
--wait_for_bluez
  17676 root  0:00 /usr/local/bin/bluealsa-aplay -D hw:CARD=VX1,DEV=0 
F0:D7:AA:C3:XX:XX
  



I also confirmed the speakers at working via

Code:

speaker-test -c 2 -dhw:CARD=VX1,DEV=0




StevenEllis's Profile: http://forums.slimdevices.com/member.php?userid=69979
View this thread: http://forums.slimdevices.com/showthread.php?t=111972

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] piCorePlayer 6.x.x - Bluetooth

2020-04-19 Thread StevenEllis


Just re-tested on a clean install with pcp-streamer, latest patches and
bluetooth support.

Running analog audio and device = hw:CARD=ALSA I can stream from my
phone as a player or streamer, to headphones connected to the RasPi.

On my other Pi I've disabled analog audio as I'm just running a USB-DAC
- see device details below.



Code:

# aplay -L
  null
  Discard all samples (playback) or generate zero samples (capture)
  default
  plugequal
  equal
  sysdefault:CARD=VX1
  VX1, USB Audio
  Default Audio Device
  front:CARD=VX1,DEV=0
  VX1, USB Audio
  Front speakers
  surround21:CARD=VX1,DEV=0
  VX1, USB Audio
  2.1 Surround output to Front and Subwoofer speakers
  surround40:CARD=VX1,DEV=0
  VX1, USB Audio
  4.0 Surround output to Front and Rear speakers
  surround41:CARD=VX1,DEV=0
  VX1, USB Audio
  4.1 Surround output to Front, Rear and Subwoofer speakers
  surround50:CARD=VX1,DEV=0
  VX1, USB Audio
  5.0 Surround output to Front, Center and Rear speakers
  surround51:CARD=VX1,DEV=0
  VX1, USB Audio
  5.1 Surround output to Front, Center, Rear and Subwoofer speakers
  surround71:CARD=VX1,DEV=0
  VX1, USB Audio
  7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
  iec958:CARD=VX1,DEV=0
  VX1, USB Audio
  IEC958 (S/PDIF) Digital Audio Output
  dmix:CARD=VX1,DEV=0
  VX1, USB Audio
  Direct sample mixing device
  dsnoop:CARD=VX1,DEV=0
  VX1, USB Audio
  Direct sample snooping device
  hw:CARD=VX1,DEV=0
  VX1, USB Audio
  Direct hardware device without any conversions
  plughw:CARD=VX1,DEV=0
  VX1, USB Audio
  Hardware device with all software conversions
  



Under squeezeplay the card is specified as "hw:CARD=VX1,DEV=0" and I've
confirmed this device works via


Code:

speaker-test -c  2 -dhw:CARD=VX1,DEV=0



I can play audio via LMS, but I can't stream Bluetooth audo to the USB
DAC

Working bluetooth logs with analog audio 


Code:

04-20 13:39 NZST INFO Starting pCP BT Speaker Daemon 
v6.0.0.0010
  04-20 13:39 NZST INFO Resetting asound.conf.
  04-20 13:39 NZST INFORemoving bt_ from asound.conf
  04-20 13:39 NZST INFO Current contents of /usr/local/etc/pcp/pcp-bt.conf.
  04-20 13:39 NZST INFOF0:D7:AA:C3:XX:XX#My Moto G5#1#2
  04-20 13:39 NZST DEBUGPCM Devices found 
dbus.Dictionary({dbus.ObjectPath('/org/bluealsa/hci0/dev_F0_D7_AA_C3_XX_XX/a2dpsnk/source'):
 dbus.Dictionary({dbus.String('Device'): 
dbus.ObjectPath('/org/bluez/hci0/dev_F0_D7_AA_C3_XX_XX', variant_level=1), 
dbus.String('Transport'): dbus.String('A2DP-sink', variant_level=1), 
dbus.String('Mode'): dbus.String('source', variant_level=1), 
dbus.String('Format'): dbus.UInt16(32784, variant_level=1), 
dbus.String('Channels'): dbus.Byte(2, variant_level=1), 
dbus.String('Sampling'): dbus.UInt32(44100, variant_level=1), 
dbus.String('Codec'): dbus.UInt16(0, variant_level=1), dbus.String('Delay'): 
dbus.UInt16(150, variant_level=1), dbus.String('SoftVolume'): 
dbus.Boolean(False, variant_level=1), dbus.String('Volume'): dbus.UInt16(17476, 
variant_level=1)}, signature=dbus.Signature('sv'))}, 
signature=dbus.Signature('oa{sv}'))
  04-20 13:39 NZST DEBUGA2DP devices found A2DP-sink.
  04-20 13:39 NZST INFO Found a2dp sink F0:D7:AA:C3:XX:XX connected.
  04-20 13:39 NZST INFO No bluealsa-aplay process for device 
F0:D7:AA:C3:XX:XX.  Starting..
  04-20 13:39 NZST DEBUG   pCP OUTPUT="hw:CARD=ALSA"
  04-20 13:39 NZST DEBUG   pCP ALSAVOLUME=""
  04-20 13:39 NZST DEBUG   pCP Card Conf:"Analog.conf"
  04-20 13:39 NZST DEBUG   pCP SSET="PCM"
  04-20 13:39 NZST INFOStarting player:"My Moto G5" bluetooth, alsa 
device:"hw:CARD=ALSA", volume:"PCM".
  04-20 13:39 NZST INFO Starting connection signal handlers



Problem logs with no USB Audio

Code:

04-19 15:35 NZST INFO Resetting asound.conf.
  04-19 15:35 NZST INFORemoving bt_ from asound.conf
  04-19 15:35 NZST INFO Current contents of /usr/local/etc/pcp/pcp-bt.conf.
  04-19 15:35 NZST INFO
  04-19 15:35 NZST INFOB8:D5:0B:47:9A:F5#SRS-XB30#1#1
  04-19 15:35 NZST INFOF0:D7:AA:C3:XX:XX#My Moto G5#1#2
  04-19 15:35 NZST DEBUGPCM Devices found 
dbus.Dictionary({dbus.ObjectPath('/org/bluealsa/hci0/dev_F0_D7_AA_C3_XX_XX/a2dpsnk/source'):
 dbus.Dictionary({dbus.String('Device'): 
dbus.ObjectPath('/org/bluez/hci0/dev_F0_D7_AA_C3_XX_XX', variant_level=1), 
dbus.String('Transport'): dbus.String('A2DP-sink', variant_level=1), 
dbus.String('Mode'): dbus.String('source', variant_level=1), 
dbus.String('Format'): dbus.UInt16(32784, variant_level=1), 
dbus.String('Channels'): dbus.Byte(2, variant_level=1), 
dbus.String('Sampling'): dbus.UInt32(44100, variant_level=1), 
dbus.String('Codec'): dbus.UInt16(0, variant_level=1), dbus.String('Delay'): 
dbus.UInt16(150, variant_level=1), 

Re: [SlimDevices: Unix] piCorePlayer 6.x.x - Bluetooth

2020-04-12 Thread StevenEllis


OK some progress

I've set the output under Squeezelite. It was previously blank as it
appeared just specifying USB Audio was sufficient for LMS Streaming.

output from the bluetooth logs now show the changes - still can't get
audio to stream from my phone


Code:


  04-13 11:17 NZST DEBUG   pCP OUTPUT="hw:CARD=VX1,DEV=0"
  04-13 11:17 NZST DEBUG   pCP ALSAVOLUME=""
  04-13 11:17 NZST DEBUG   pCP Card Conf:"USB.conf"
  04-13 11:17 NZST INFOStarting player:"My Moto G5" bluetooth, alsa 
device:"hw:CARD=VX1,DEV=0", volume:"".
  




StevenEllis's Profile: http://forums.slimdevices.com/member.php?userid=69979
View this thread: http://forums.slimdevices.com/showthread.php?t=111972

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] piCorePlayer 6.x.x - Bluetooth

2020-04-12 Thread StevenEllis


I've cleaned up pcp-bt.conf to remove old data


Code:


  04-13 11:05 NZST INFO Starting pCP BT Speaker Daemon 
v6.0.0.0010
  04-13 11:05 NZST INFO Resetting asound.conf.
  04-13 11:05 NZST INFORemoving bt_ from asound.conf
  04-13 11:05 NZST INFO Current contents of /usr/local/etc/pcp/pcp-bt.conf.
  04-13 11:05 NZST INFO
  04-13 11:05 NZST INFOF0:D7:AA:C3:XX:XX#My Moto G5#1#2
  04-13 11:05 NZST DEBUGPCM Devices found dbus.Dictionary({}, 
signature=dbus.Signature('oa{sv}'))
  04-13 11:05 NZST INFO Starting connection signal handlers.
  
  
  04-13 11:07 NZST INFO  Caught Connect signal 
  04-13 11:07 NZST DEBUG
/org/bluealsa/hci0/dev_F0_D7_AA_C3_XX_XX/a2dpsnk/source
  04-13 11:07 NZST DEBUG   HCI:hci0
  04-13 11:07 NZST INFOMAC:F0:D7:AA:C3:XX:XX
  04-13 11:07 NZST INFOTRANSPORT:a2dpsnk
  04-13 11:07 NZST DEBUG   pCP OUTPUT=""
  04-13 11:07 NZST DEBUG   pCP ALSAVOLUME=""
  04-13 11:07 NZST DEBUG   pCP Card Conf:"USB.conf"
  04-13 11:07 NZST INFOStarting player:"My Moto G5" bluetooth, alsa 
device:"", volume:"".
  
  



So where do I specify the pCP Output for the "My Moto G5" player as I
can't find anywhere in the webui



StevenEllis's Profile: http://forums.slimdevices.com/member.php?userid=69979
View this thread: http://forums.slimdevices.com/showthread.php?t=111972

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] piCorePlayer 6.x.x - Bluetooth

2020-04-12 Thread StevenEllis


paul- wrote: 
> You have not configured your output settings for squeezelite.  Get sound
> working from squeezelite before you try.  Also please do not send a log
> excerpt.   I need to see the beginning of the log too.
> 
> 

Audio is working fine when I'm streaming off the LMS to my USB based
DAC.

Under squeezelite settings Audio is set to USB audio.


Code:


  
  CP Bluetooth extension build:0009
  Starting BT Controller
  USB Bluetooth Hardware Address: 00:80:C8:50:91:BF
  Starting pCP BT Pairing Agent
  BT Controller Ready
  04-13 10:44 NZST INFO Starting pCP BT Speaker Daemon 
v6.0.0.0009
  04-13 10:44 NZST INFO Resetting asound.conf.
  04-13 10:44 NZST INFORemoving bt_ from asound.conf
  04-13 10:44 NZST INFO Current contents of /usr/local/etc/pcp/pcp-bt.conf.
  04-13 10:44 NZST INFOBTDEVICE=B8:D5:0B:47:9A:F5
  04-13 10:44 NZST INFOBTDELAY=10
  04-13 10:44 NZST INFOBTNAME="SRS-XB30"
  04-13 10:44 NZST INFOBTMIXER="SRS-XB30 - A2DP"
  04-13 10:44 NZST INFOBTCONTROLLER="00:80:C8:50:91:BF"
  04-13 10:44 NZST INFOF0:D7:AA:C3:XX:XX#My Moto G5#1#2
  04-13 10:44 NZST DEBUGPCM Devices found 
dbus.Dictionary({dbus.ObjectPath('/org/bluealsa/hci0/dev_F0_D7_AA_C3_XX_XX/a2dpsnk/source'):
 dbus.Dictionary({db
  us.String('Device'): dbus.ObjectPath('/org/bluez/hci0/dev_F0_D7_AA_C3_XX_XX', 
variant_level=1), dbus.String('Transport'): dbus.String('A2DP-sink', variant_l
  evel=1), dbus.String('Mode'): dbus.String('source', variant_level=1), 
dbus.String('Format'): dbus.UInt16(32784, variant_level=1), 
dbus.String('Channels'): d
  bus.Byte(2, variant_level=1), dbus.String('Sampling'): dbus.UInt32(44100, 
variant_level=1), dbus.String('Codec'): dbus.UInt16(0, variant_level=1), 
dbus.Stri
  ng('Delay'): dbus.UInt16(150, variant_level=1), dbus.String('SoftVolume'): 
dbus.Boolean(False, variant_level=1), dbus.String('Volume'): dbus.UInt16(32639, 
v
  ariant_level=1)}, signature=dbus.Signature('sv'))}, 
signature=dbus.Signature('oa{sv}'))
  04-13 10:44 NZST DEBUGA2DP devices found A2DP-sink.
  04-13 10:44 NZST INFO Found a2dp sink F0:D7:AA:C3:XX:BF connected.
  04-13 10:44 NZST INFO No bluealsa-aplay process for device 
F0:D7:AA:C3:XX:XX.  Starting..
  04-13 10:44 NZST DEBUG   pCP OUTPUT=""
  04-13 10:44 NZST DEBUG   pCP ALSAVOLUME=""
  04-13 10:44 NZST DEBUG   pCP Card Conf:"USB.conf"
  
  




StevenEllis's Profile: http://forums.slimdevices.com/member.php?userid=69979
View this thread: http://forums.slimdevices.com/showthread.php?t=111972

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] piCorePlayer 6.x.x - Bluetooth

2020-04-11 Thread StevenEllis


Here is the debug output from the bluetooth logs


Code:

04-12 14:01 NZST INFO Found a2dp sink X connected.
  04-12 14:01 NZST INFO No bluealsa-aplay process for device X.  
Starting..
  04-12 14:01 NZST DEBUG   pCP OUTPUT=""
  04-12 14:01 NZST DEBUG   pCP ALSAVOLUME=""
  04-12 14:01 NZST DEBUG   pCP Card Conf:"USB.conf"




StevenEllis's Profile: http://forums.slimdevices.com/member.php?userid=69979
View this thread: http://forums.slimdevices.com/showthread.php?t=111972

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] piCorePlayer 6.x.x - Bluetooth

2020-04-11 Thread StevenEllis


paul- wrote: 
> There is no pin.
> 
> /QUOTE]
> 
> Hmm my phone requires a PIN in order to connect.
> 
> I've managed to connect on the command line via bluetoothctl and
> configure the device as a player. I also can't get audio to play through
> the pCP speakers.



StevenEllis's Profile: http://forums.slimdevices.com/member.php?userid=69979
View this thread: http://forums.slimdevices.com/showthread.php?t=111972

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] piCorePlayer 6.x.x - Bluetooth

2020-04-11 Thread StevenEllis


paul- wrote: 
> Bluetooth has grown into its own animal, so I would like to separate the
> conversation regarding Bluetooth stuff.
> 
> Current Capabilities.
> 
> Speaker - A2DP Source - Play from piCorePlayer to a bluetooth connected
> speaker.
> Player - A2DP Sink - Play directly from your phone or other bluetooth
> music sourc to pCP.  pCP is now a speaker for your device
> Streamer - A2DP Sink - Play from your phone to a web stream.  LMS can
> play that stream to any number of LMS connected devices/groups.
> 
> When pCP is playing direct from your phone.  A2DP volume control is
> implemented for certain devices (iPhones work)  If your DAC on your pCP
> device supports hardware volume control, that is the volume that will be
> adjusted.  Android based devices will control the volume before
> bluetooth transmission.

What is the default PIN when the piCorePlayer is in Discover mode. I've
tried  and 1234 from my phone and neither will work.



StevenEllis's Profile: http://forums.slimdevices.com/member.php?userid=69979
View this thread: http://forums.slimdevices.com/showthread.php?t=111972

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 6.0.0

2020-03-24 Thread StevenEllis


paul- wrote: 
> Bluetooth in 6.0.0 works completely different than 5.0.   All speaker
> configuration is done on the bluetooth page.  As a speaker connects it
> will show up as it's own name in LMS.  The name used is the one on the
> Bluetooth page for that device.

Excellent. Thanks for clarifying that. Worked perfectly.



StevenEllis's Profile: http://forums.slimdevices.com/member.php?userid=69979
View this thread: http://forums.slimdevices.com/showthread.php?t=111787

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 6.0.0

2020-03-23 Thread StevenEllis


Can't see the BTSpeaker device I used to see under version 5.0

tc@piCorePlayer:~$ /usr/local/bin/squeezelite -l
Output devices:
null   - Discard all samples (playback) or
generate zero samples (capture)
default   
plugequal 
equal 
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
dmix:CARD=ALSA,DEV=2   - bcm2835 ALSA, bcm2835 IEC958/HDMI1 -
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
dsnoop:CARD=ALSA,DEV=2 - bcm2835 ALSA, bcm2835 IEC958/HDMI1 -
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
hw:CARD=ALSA,DEV=2 - bcm2835 ALSA, bcm2835 IEC958/HDMI1 -
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
plughw:CARD=ALSA,DEV=2 - bcm2835 ALSA, bcm2835 IEC958/HDMI1 -
Hardware device with all software conversions

tc@piCorePlayer:~$ /usr/local/bin/squeezelite -L
Volume controls for default
PCM



StevenEllis's Profile: http://forums.slimdevices.com/member.php?userid=69979
View this thread: http://forums.slimdevices.com/showthread.php?t=111787

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix


Re: [SlimDevices: Unix] ANNOUNCE: piCorePlayer 6.0.0

2020-03-23 Thread StevenEllis


Had a clean upgrade on the pi connected to my USB DAC, but I can't get
bluetooth working on my piZero

Tried an upgrade and I've now switched to a clean install

Installed the Bluetooth support and rebooted - then enabled bluetooth
and paired with the speaker without issues.

Under the "Audio output device settings" I no longer have a Bluetooth
option - only the standard DACs, HDMI and Analogue

Running

play -L
null
Discard all samples (playback) or generate zero samples (capture)
default
plugequal
equal
bt_SRS-XB30
plugequal_bt_SRS-XB30
equal_bt_SRS-XB30
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
dmix:CARD=ALSA,DEV=2
bcm2835 ALSA, bcm2835 IEC958/HDMI1
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
dsnoop:CARD=ALSA,DEV=2
bcm2835 ALSA, bcm2835 IEC958/HDMI1
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
hw:CARD=ALSA,DEV=2
bcm2835 ALSA, bcm2835 IEC958/HDMI1
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
plughw:CARD=ALSA,DEV=2
bcm2835 ALSA, bcm2835 IEC958/HDMI1
Hardware device with all software conversions


I can confirm the device is paired with 
- bluetoothctl paired-devices

I'm sure there is some obvious step I've missed. Any ideas/tips?



StevenEllis's Profile: http://forums.slimdevices.com/member.php?userid=69979
View this thread: http://forums.slimdevices.com/showthread.php?t=111787

___
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix