Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Junior Member
    Join Date
    Jul 2012
    Posts
    27

    Stream BT audio to LMS on RPi3

    Hello folks. I have LMS set up on a RPi3 which streams to a number of endpoints, most of which are squeezelite clients on other RPis.

    I'd like (for my wife) to be able to stream audio from her phone over bluetooth to the LMS. I've read a few guides which seem to make the idea very complicated, it'd need to be simple to use. Csn anyone point me to a how-to on the topic?

    Cheers - and happy Christmas.

  2. #2
    Senior Member
    Join Date
    Dec 2018
    Location
    The Netherlands
    Posts
    349
    Assuming that you are running piCorePlayer 6.1 on your RPi3, the following is supposed to work (in a nutshell):
    1) On the pCP Main Page, go to Bluetooth page
    2) If not already done, install Bluetooth extension on pCP
    3) Use the Device Pairing/Selection section to pair pCP with your smartphone.
    4) After your phone is paired, set bluetooth type to "Streamer". Example is shown below.

    Name:  pCP_bluetooth_devices.png
Views: 951
Size:  55.5 KB

    5) Go to pCP Tweaks page, and find section "Audio Tweaks"
    6) Set "Streamer for Audio Input" to Yes and click save. The pCP screen should look similar to following screenshot:

    Name:  pCP_streamer_option.png
Views: 951
Size:  17.9 KB

    7) Access LMS web UI, and add following favorite (example):
    Name: pCP Bluetooth-in
    URL: http://192.168.0.115:9100/S16_LE/44100/2/M (replace IP address with the IP address of your piCorePlayer)
    8) On your squeezebox client, select favorite "pCP Bluetooth-in"

    If you now play a music track on your smartphone, it should be played back on your squeezebox client.

    With this setup, when you want to stream music from your smartphone to a squeezebox client, you need to do the following:
    1) Select favorite "pCP Bluetooth-in" on your squeezebox client
    2) On your phone make a bluetooth connection with pCP, and play music.
    Last edited by CJS; 2020-12-26 at 14:46. Reason: Small edits
    | LMS 8.3.1 | Squeezebox Boom | RPi0W + pCP 8.2.0 + HiFiBerry DAC Zero | SqueezeAMP | ESP Muse Luxe |

  3. #3
    Junior Member
    Join Date
    Jul 2012
    Posts
    27
    Wonderful, thanks, that's working on a newly flashed uSD

    Couldn't figure out how to install pcp on my existing rasbian install, if that's even possible?

  4. #4
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    6,293
    Quote Originally Posted by 4lex View Post
    Couldn't figure out how to install pcp on my existing rasbian install, if that's even possible?
    pCP is an operating system ... it is a very cut down and specialised alternative to Raspbian.
    Paul Webster
    Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
    and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin

  5. #5
    Senior Member
    Join Date
    Jan 2013
    Location
    Derbyshire
    Posts
    417
    I just wanted to say that I discovered this explanation this evening and found it really helpful - thank you.

    Steve


    Quote Originally Posted by CJS View Post
    Assuming that you are running piCorePlayer 6.1 on your RPi3, the following is supposed to work (in a nutshell):
    1) On the pCP Main Page, go to Bluetooth page
    2) If not already done, install Bluetooth extension on pCP
    3) Use the Device Pairing/Selection section to pair pCP with your smartphone.
    4) After your phone is paired, set bluetooth type to "Streamer". Example is shown below.

    Name:  pCP_bluetooth_devices.png
Views: 951
Size:  55.5 KB

    5) Go to pCP Tweaks page, and find section "Audio Tweaks"
    6) Set "Streamer for Audio Input" to Yes and click save. The pCP screen should look similar to following screenshot:

    Name:  pCP_streamer_option.png
Views: 951
Size:  17.9 KB

    7) Access LMS web UI, and add following favorite (example):
    Name: pCP Bluetooth-in
    URL: http://192.168.0.115:9100/S16_LE/44100/2/M (replace IP address with the IP address of your piCorePlayer)
    8) On your squeezebox client, select favorite "pCP Bluetooth-in"

    If you now play a music track on your smartphone, it should be played back on your squeezebox client.

    With this setup, when you want to stream music from your smartphone to a squeezebox client, you need to do the following:
    1) Select favorite "pCP Bluetooth-in" on your squeezebox client
    2) On your phone make a bluetooth connection with pCP, and play music.

  6. #6
    Junior Member
    Join Date
    Feb 2022
    Posts
    1

    Bluetoot-in stream on multiple players?

    Hi, also from my side thanks a lot for the explanation!
    My setup:
    Bureau: Raspi4 running LMS with BT-in stream asFavorite
    Living room: RPI zero running pcP with BT active, Smartphone as Stream device connected, Audio tweak activated
    Kitchen: RPI zero running pcP

    If I play music from my smartphone, the sound is perfectly played from the living room pi. Not from the kitchen pi. Also not if synchronized with living room pi. Also if I play the BT-in stream separately on the kitchen pi, no sound.

    Is it generally possible to play the BT-in stream on other players not connected to the BT-streamer-device (smartphone)?

    Many thanks for help!

    Best,
    Hogo

  7. #7
    Member
    Join Date
    Nov 2009
    Location
    Denmark
    Posts
    67

    BT streaming not working

    Hi Hogo,

    I have a similar (but different problem).
    I have followed the instructions from CJS but with the dedicated LMS server on the receiving end of the bluethooth stream (it runs LMS on PcP on RPi4 and has no players).
    I cannot get this to work although all the steps seem to work OK (including the BT connection between my phone and LMS).
    My phone indicates it is streaming to LMS and LMS indicates that it is playing the BT stream, but no sound comes out.

    Is there a good way to debug?
    Have I misunderstood the instructions so it only works with connecting directly to a PcP player (not via the server)?

    I think it is such a cool feature to get working. Especially when having friends over.
    Best
    -thomas

    PS: Thanks CJS for your instruction. It seems like I am almost there :-)



    Quote Originally Posted by Hogo View Post
    Hi, also from my side thanks a lot for the explanation!
    My setup:
    Bureau: Raspi4 running LMS with BT-in stream asFavorite
    Living room: RPI zero running pcP with BT active, Smartphone as Stream device connected, Audio tweak activated
    Kitchen: RPI zero running pcP

    If I play music from my smartphone, the sound is perfectly played from the living room pi. Not from the kitchen pi. Also not if synchronized with living room pi. Also if I play the BT-in stream separately on the kitchen pi, no sound.

    Is it generally possible to play the BT-in stream on other players not connected to the BT-streamer-device (smartphone)?

    Many thanks for help!

    Best,
    Hogo
    --
    Setup in two locations:
    Location 1:
    Server: RPi 4 running LMS 8.3
    Players: RPi 4 w. SqueezeLite (HifiBerry Digi+ pro) + 2 SB boom Libratone Zipp, Libratone Live
    Player grouping: Two groups: Group1: RPi 4, SB Boom, Libratone Live, Libratone Zipp , Group2: 1 SB Boom

    Location 2:
    Server: RPi 4 running LMS 8.3
    Players: RPi 4 w. SqueezeLite + 1 SB boom 2 x Libratone Zipp, Chromecast Audio

    Remotes: Mobile phone OnePlus 5 with SqueezeCtrl and Orange Squeeze
    Streaming Service: Qobuz

  8. #8
    Junior Member
    Join Date
    Oct 2022
    Posts
    1
    Hello,
    I have installed pCp and LMS on a Raspberry pi 3 yesterday. All went well but I am struggling to stream my phone to LMS using bluetooth. I have followed the indications given above by CJS: my phone is paired to the raspberry and BT type is set to "streamer" in the bluetooth tab. I have set the streamer audio tweak and added a favorite in LMS. When I open the bluetooth stream in LMS (the http link ending with S16_LE/44100/2/M), it seems to get recognized (the name in the playlist changes: the favourite is called "BT IN" and when I press play, it becomes "pCP pCP line-in (mp3)") but there is no sound. I have tried to open the link a browser and I get a black page with "no video with supported format and MIME type found".
    Any help would be appreciated. Thank you.

  9. #9
    Junior Member
    Join Date
    Feb 2018
    Posts
    4

    Streaming Audio from TV

    Can anyone advise if this set up will also work if I'm trying to stream audio from a TV via Blutooth to RPi3 based player. Followed the instructions above and everything seems to show up where it's supposed to and appears to be playing but no audio. Thanks in advance

  10. #10
    Senior Member
    Join Date
    Apr 2005
    Location
    UK/London
    Posts
    6,293
    A TV acting as a Bluetooth source should be just like a phone acting as a Bluetooth source - so yes - there is a good chance of it working.
    However, do not expect the sound that you eventually hear (if you get it working) to be anywhere near in sync with action on the screen.
    Paul Webster
    Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, ABC Australia and CBC/Radio-Canada
    and, via the extra "Radio Now Playing" plugin lots more - see https://forums.slimdevices.com/showt...Playing-plugin

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •