Re: [SlimDevices: Unix] piCorePlayer 8.0.0 - Bluetooth Discussion
paul- wrote: > The bluetooth device is completely separate. You cannot control from > the pCP command line, as it defaults to the mac address of the pcp > board. You will have to issue commands to LMS using the bluetooth > hardware address. Thanks Paul for feedback. I've thought so, so I've solved it in a different approach using sbnetio plugin and writing small python server which listens to commands from the plugin. Python server controls GPIO output on received command. Works like a charm :) denmla's Profile: http://forums.slimdevices.com/member.php?userid=72559 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 8.0.0 - Bluetooth Discussion
Hello, I'm not sure if this is related to the fact that I'm using bluetooth dongle as output to play music or with something else, but I suspect it could be due to the fact that bluetooth dongle is on one player tab and picoreplayer on another..anyway, I'm trying to use pcp CLI to determine status (pcp mode: stop/playing). I need this for a sh script to power GPIO on status play. Problem is when I issue the pcp mode command it states STOP, but music is playing over the bluetooth. Not sure if it is looking for the default picoreplayer tab (which I'm not using since it is standard audio output from the rpi, I0m only using BT). Here is an image of the issue: 37403 Is there some way around this? thanks in advance! +---+ |Filename: pcp_mode.jpg | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=37403| +---+ denmla's Profile: http://forums.slimdevices.com/member.php?userid=72559 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] Announce: piCorePlayer 8.0.0
paul- wrote: > You still need to watch your distance too. The RPI bluetooth > transmitter is not the strongest. What I might recommend would be to > start an ssh shell. Use ps to find the bluealsa process. And kill it. > Disconnect your headphones first. > > The run bluealsa from command line, and you will see all kinds of debug > info. > > $ sudo /usr/local/bin/bluealsa --profile=a2dp-source --profile=a2dp-sink > --profile=hsp-ag --profile=hfp-ag --aac-afterburner > > Once running, connect your headphones, and start playing music. And > then just watch for any debug info that might occur when you hear your > hiccup in audio. (Please note for others reading this message a month > or so from today(2/7/2022) I will be upgrading blueasla soon and that > will change the commandline used. First of all, thank you for the support and for the suggestions. Wanted to provide some feedback and maybe help out someone else having similar issue. I had audio stutter when streaming radio, using tidal/spotify or playing local tracks. I did not find errors with the above commands, but it is definitely related to the quality of the Bluetooth signal (or better to say not the strongest bluetooth transmitter). Although it is below 10m distance from the bluetooth receiver, I've moved RPI4 closer and stutter was mostly gone (so thanks about that tip Paul). After that I've bought an external dongle (first one I've found in nearby store, it was gembird bt500 mini bluetooth 4.0 dongle). But I was not successful in getting this to work, as it turned out cambridge silicon radio chip used in this usb dongle is a fake chinese copy. I've tried to patch the OS, but was unsuccessful as this is beyond my knowledge of linux. Anyway, I've managed to return this one to the store and bought a new one (TP-link UB400 nano) and I can confirm this one works out of the box. So anyone having issues with RPI4 bluetooth and needs a small low power dongle, this one is working (you cannot believe how hard is to find online info which one is working good). That being said, stutter is almost all gone. I still have stutter when streaming radio stations (I'm trying to figure out what is the cause, because it is not the same with all stations), but tidal and spotify are working fine. So if someone is having bluetooth issues, 99% it is related to the bluetooth qualityas everything is working as expected. denmla's Profile: http://forums.slimdevices.com/member.php?userid=72559 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
thanks for fast response and your suggestions. Yeah, I've connected it over 5g since I've read here somewhere that there could be interference between Bluetooth and 2.4g wifi on rpi (although those were more suggestions for rpi3, but I've addressed it anyway). Thanks for the suggestion, currently it is on SBC codec, I'll try to switch over to the AAC codec and see what happens denmla's Profile: http://forums.slimdevices.com/member.php?userid=72559 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
Hello good ppl. So I have setup RPI 4 Model B (4gb) and I'm using it only to run piCorePlayer (with Squeezelite and LMS). I'm connecting over wifi (5ghz) and using internal bluetooth to connect to the speakers. Everything works, but randomly I get stutter in audio from time to time (not sure why this is happening). Anyway, I wanted to configure the player a bit, maybe increase some buffer or something, schedule restart or similar (to prevent this stutter). It seems that picore added a second player to the list after the restart of RPI (auto-named here Logitech BT Adapter after the bluetooth connection). Originally I had only one (I've just named it piCorePlayer), both are up and running as process. Now, I didn't mind at first that second player was added, since music is playing over it normally, but I wanted to fix that stutter problem. So my problem is when I click in the web UI on the second player (Logitech BT Adapter), it won't switch to it, just returns me to the main page (and original piCorePlayer): 37161 Is this expected behavior? Sorry if my question is a bit unclear, I'm still pretty new to all of this. Thanks for any help in advance :) +---+ |Filename: picoreq1.jpg | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=37161| +---+ denmla's Profile: http://forums.slimdevices.com/member.php?userid=72559 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