PDA

View Full Version : Is Bluetooth streaming to Squeezebox possible?



Guut_Boy
2015-06-01, 00:35
I see Bluetooth speakers are becoming very popular, and it makes a lot of sense to me. It seems really convenient to just be able to stream whatever sound is playing on my phone or tablet on a larger speaker. So I was wondering if i could do the same through my Squeezebox setup? I mean if my Squeezebox server has Bluetooth, could I set it up like a Bluetooth speaker and play the sound coming from my phone, tablet or other devices?

I doesn't really have to be Bluetooth actually, any way to play the sound from other devices on squeezebox would be fine. I know about the Shairplay (or is it just called airplay?) plugin, and this would allow me to what I want at least from Apple devices. The problem is 1) I am not sure if this would work with Android 2) I tried the plugin and it seemed to make my server really unstable, so I disabled it again.

castalla
2015-06-01, 01:39
In a word, no.

toby10
2015-06-01, 02:51
Not from the SB hardware itself as these have no BT transmitters. You could buy additional gear to get BT from SB player headphone out jack via a 3.5mm BT Transmitter device.

http://www.newegg.com/Product/Product.aspx?Item=9SIA1PK12T9685&cm_re=bluetooth_transmitter-_-0D8-00GD-00001-_-Product

castalla
2015-06-01, 03:17
Not from the SB hardware itself as these have no BT transmitters. You could buy additional gear to get BT from SB player headphone out jack via a 3.5mm BT Transmitter device.

http://www.newegg.com/Product/Product.aspx?Item=9SIA1PK12T9685&cm_re=bluetooth_transmitter-_-0D8-00GD-00001-_-Product

I think the OP wants to stream from Android to a sgueezebox device.

Guut_Boy
2015-06-01, 04:02
Maybe I should be a bit more specific about my concrete setup: I have a Squeezebox Touch connected to my stereo, and a Raspberry Pi running piCorePlayer connected to a pair of pc-speakers. Both are connected to a squeezebox server over wifi running on an old Acer Aspire Revo nettop (I am actually not sure it has Bluetooth but that could be fixed with a BT dongle).

toby10
2015-06-01, 04:32
Still not clear..... from which device do you want BT to wireless speakers?

castalla
2015-06-01, 04:33
Maybe I should be a bit more specific about my concrete setup: I have a Squeezebox Touch connected to my stereo, and a Raspberry Pi running piCorePlayer connected to a pair of pc-speakers. Both are connected to a squeezebox server over wifi running on an old Acer Aspire Revo nettop (I am actually not sure it has Bluetooth but that could be fixed with a BT dongle).

But what do you want?

Android to squeezeboxes or squeezebox to bluetooth speakers?

Guut_Boy
2015-06-01, 05:02
Sorry to not be clear. In addition to what I mentioned above, I have an mix of devices from which I would want to stream music via BT. This includes both iPhone/Pad and Android phones.

I would like to be able to play whatever sound is playing on those devices through my squeezebox players (i.e., the Touch and the piCorePlayer). I am wondering if this is possible via Bluetooth, but maybe that is not the case?

The problem is that there is a lot of sources I can not play through Squeezebox as it is (certain internet radios and other internet services). Those sources can almost always play on both phones and tablets, but phones and tablets have very bad speakers. So if there was some way to just stream the sound from those devices directly to the squeezebox players the problem would be solved. Maybe I should give the Shairtunes plugin an other try, it seems to be what is closest to what I would like.

castalla
2015-06-01, 05:08
Sorry to not be clear. In addition to what I mentioned above, I have an mix of devices from which I would want to stream music via BT. This includes both iPhone/Pad and Android phones.

I would like to be able to play whatever sound is playing on those devices through my squeezebox players (i.e., the Touch and the piCorePlayer). I am wondering if this is possible via Bluetooth, but maybe that is not the case?

The problem is that there is a lot of sources I can not play through Squeezebox as it is (certain internet radios and other internet services). Those sources can almost always play on both phones and tablets, but phones and tablets have very bad speakers. So if there was some way to just stream the sound from those devices directly to the squeezebox players the problem would be solved. Maybe I should give the Shairtunes plugin an other try, it seems to be what is closest to what I would like.

The ShairTunes plugin is your best bet .... I tried it but found it hit'n'miss with Android

Furry
2015-06-01, 10:43
Maybe:

Waveinput plugin, and either:

a) route audio received via server PC's bluetooth, or (if that doesn't work - I don't know if the plugin can be used that way):
b) a bluetooth receiver dongle plugged into the server's line-in.

Or, if you have/obtain a Boom, bluetooth receiver plugged into Boom's line in.

chrissy
2015-06-01, 11:21
Hi,

as far as I understand, he wants to do both:

1: Stream any Music from Mobile to LMS
2: Stream to Bluetotth Speakers frmo LMS Server

Possible Solutions:

1: Use BubbleUPNP to Stream from Mobile to LMS
2: Install squezzelite and use the however connected Bluetooth Speakers as output.

Greets
Chris

castalla
2015-06-01, 11:28
Hi,

as far as I understand, he wants to do both:

1: Stream any Music from Mobile to LMS
2: Stream to Bluetotth Speakers frmo LMS Server

Possible Solutions:

1: Use BubbleUPNP to Stream from Mobile to LMS
2: Install squezzelite and use the however connected Bluetooth Speakers as output.

Greets
Chris

I got squeezelite working with bluetooth - on linux - not a trivial task using debiatn - took hours of bodging to get a stable usable setup.

I couldn't recommend it unless you don't have a life to get on with!

chrissy
2015-06-01, 15:01
Hi Castalla,
I have not tried it, but for example on a Cubietruck, where is the problem? Connect the speakers via bluetooth, ok you have to do it by hand, but it should be possible. Then connect the output of squeezelite to the analog output device and it should work, as far as I can think.

I don't quite understand the use of it. If you use a small device like raspi or cubie, you can put it close to the speakers and you will have a way better sound using a decent cable.

Greets
Chris

castalla
2015-06-01, 15:10
Hi Castalla,
I have not tried it, but for example on a Cubietruck, where is the problem? Connect the speakers via bluetooth, ok you have to do it by hand, but it should be possible. Then connect the output of squeezelite to the analog output device and it should work, as far as I can think.

I don't quite understand the use of it. If you use a small device like raspi or cubie, you can put it close to the speakers and you will have a way better sound using a decent cable.

Greets
Chris

Theoretically, you are correct. In practice it's quite a task to get bluetooth working on a debian raspi - then figuring out the appropriate output for squeezelite - creating a script to allow the connection to cleanly exit when you switch the speakers off, etc. Believe me, it takes a lot of low-level kludging.

I wrote a couple of guides - but it's so long ago that I just couldn't face digging out the details! There's a thread here somewhere with an account of my travails.

I personally think it's more work than it's worth!

chrissy
2015-06-01, 15:20
Ok, you have done it, so I am sure you are right. And I agree completely, I don't think it's worth either.

Greets
Chris

Guut_Boy
2015-06-02, 13:34
Hi,

as far as I understand, he wants to do both:

1: Stream any Music from Mobile to LMS
2: Stream to Bluetotth Speakers frmo LMS Server

Possible Solutions:

1: Use BubbleUPNP to Stream from Mobile to LMS
2: Install squezzelite and use the however connected Bluetooth Speakers as output.

Greets
Chris

What I was looking for was really only "1: Stream any Music from Mobile to LMS". No actual Bluetooth speakers are involved here, I was merely inspired by them. I.e., I was looking for a way to let LMS act similar to a Bluetooth speaker. Apparently I explained this in a clumsy way that seems to have confused people :).

Essentially what I wanted is something that does what the Shairtunes plugin does. The reason I did not use that plugin is that I did not have very good experiences with that plugin (in terms of Android support and server stability).

However, it does not really seem like I can find something similar, so I will give Shairtunes an other try.

Thanks for all the inputs.

usc95
2015-06-02, 14:36
You can use the UPNP/DLNA plugin and turn LMS into a renderer. You would then use BubbleUpnp on your android as a streamer to stream the audio from your phone to LMS to your squeezeboxes. Another guy did the same thing here: http://forums.slimdevices.com/showthread.php?103478-How-can-I-stream-music-from-a-smartphone-or-a-pc/page2

JayLaFunk
2015-08-04, 03:19
Can anyone recommend a bluetooth device(UK) to connect to my Boom and send music to a shower bluetooth speaker or is this not possible.

Julf
2015-08-04, 03:41
Can anyone recommend a bluetooth device(UK) to connect to my Boom and send music to a shower bluetooth speaker or is this not possible.

There are tons and tons of bluetooth transmitters that can take the output of a 3.5 mm jack and send it to a bluetooth speaker, but the first thing to check is what bluetooth standards and profiles your speaker supports.

Pascal Hibon
2015-08-04, 06:29
I see Bluetooth speakers are becoming very popular, and it makes a lot of sense to me. It seems really convenient to just be able to stream whatever sound is playing on my phone or tablet on a larger speaker. So I was wondering if i could do the same through my Squeezebox setup? I mean if my Squeezebox server has Bluetooth, could I set it up like a Bluetooth speaker and play the sound coming from my phone, tablet or other devices?

One way to achief this is by using iPeng with playback enabled on your iPhone or iPad. iPeng then acts as a Squeezebox player and your iPhone / iPad can be paired with BT speakers.
I do this sometimes with small UE speakers on holiday. Works great.

d6jg
2015-08-04, 06:36
One way to achief this is by using iPeng with playback enabled on your iPhone or iPad. iPeng then acts as a Squeezebox player and your iPhone / iPad can be paired with BT speakers.
I do this sometimes with small UE speakers on holiday. Works great.

I'd forget about Bluetooth and use Airplay instead. Bluetooth is compressed and introduces loss. Airplay should happily accept any content that you can play on an iPhone and is bit perfect.
It should be possible to get shairport installed on LMS (tricky on Windows but easy on Linux) such that each SB becomes an airplay receiver.

JayLaFunk
2015-08-04, 07:17
There are tons and tons of bluetooth transmitters that can take the output of a 3.5 mm jack and send it to a bluetooth speaker, but the first thing to check is what bluetooth standards and profiles your speaker supports.

Cheers for the information, will have a look online for a bluetooth transmitter.

Pascal Hibon
2015-08-04, 07:30
I'd forget about Bluetooth and use Airplay instead. Bluetooth is compressed and introduces loss. Airplay should happily accept any content that you can play on an iPhone and is bit perfect.
It should be possible to get shairport installed on LMS (tricky on Windows but easy on Linux) such that each SB becomes an airplay receiver.

Sure, but everything depends on the application. If you're using these small wireless speakers then the "poor" audio quality of BT audio is a non issue. The limiting factor are the speakers anyway. In such case it does not make any sense to create a more complicated setup.

rederikus
2017-01-29, 13:18
I know that this thread is reeeely old.

However now that the Raspberry Pi3 is delivered with bluetooth hardware https://www.raspberrypi.org/magpi/raspberry-pi-3-specs-benchmarks/, I got to wondering if it would be possible to stream music from my Amazon Echo Dot to the LMS or even to a piCorePlayer and listen to a better set of speakers that that in the Echo Dot.

Essentially I am trying to turn my LMS or piCorePlayer into a bluetooth speaker. I do not intend to use Max2Play (Yes, I know they have this as a beta option) as I prefer a standard LMS + a standard RPi distro of Jessie.

https://goo.gl/photos/uUvdCvk6nnHSH4Hp6

The pic shows what I'd like to do. Thanks for any help or ideas.

castalla
2017-01-29, 14:15
I know that this thread is reeeely old.

However now that the Raspberry Pi3 is delivered with bluetooth hardware https://www.raspberrypi.org/magpi/raspberry-pi-3-specs-benchmarks/, I got to wondering if it would be possible to stream music from my Amazon Echo Dot to the LMS or even to a piCorePlayer and listen to a better set of speakers that that in the Echo Dot.

Essentially I am trying to turn my LMS or piCorePlayer into a bluetooth speaker. I do not intend to use Max2Play (Yes, I know they have this as a beta option) as I prefer a standard LMS + a standard RPi distro of Jessie.

https://goo.gl/photos/uUvdCvk6nnHSH4Hp6

The pic shows what I'd like to do. Thanks for any help or ideas.

You might get it working using the bluetooth plugin for max2play (used to run LMS). I got android bluetooth audio streaming to LMS - appears as a favourite. All a bit clunky.

rederikus
2017-01-29, 14:56
You might get it working using the bluetooth plugin for max2play (used to run LMS). I got android bluetooth audio streaming to LMS - appears as a favourite. All a bit clunky.
Hmmm. Just tried that. I downloaded bluetooth.tar from Max2Play and in response to
tar vxzf bluetooth.tar
it says
tar: Child returned status 1
tar: Error is not recoverable: exiting now

Not sure if I did something wrong. Any ideas? Thanks.

castalla
2017-01-29, 15:18
Hmmm. Just tried that. I downloaded bluetooth.tar from Max2Play and in response to
tar vxzf bluetooth.tar
it says
tar: Child returned status 1
tar: Error is not recoverable: exiting now

Not sure if I did something wrong. Any ideas? Thanks.

Not really. You need a beta update version of max2play (I think) and you have to have a paid sub. version to enable the bt plugin.

A LMS plugin would be easier if Logitech got access to an AM api .... *there's a one avialable for android, as far as I can see).

Max2Play
2017-01-30, 05:54
Hi guys,
Our BT plugin, when used for LMS, creates a specific channel for your smartphone/tablet in the LMS interface that you can use to feed any all of your Squeezeplayers. I made a little video on how to set it up on Youtube (https://www.youtube.com/watch?v=mt96_jnxnnU). The other option, if you want to feed the input directly to your local player on the Pi (Squeezelite or Shairport) is to select "Pulse" in one of them. The stream is then directly fed to the respective player.
You do not need a beta version of M2P, you do need an active premium license.
On your standard issues, rederikus; Max2Play uses the standard LMS version 7.9 nightly. Some specific features and plugins can be added via Max2Play but we did not compromise the software at all. We also use a normal distro of Jessie lite as the basis of our OS. So generally, everything you want to do with a clean Jessie lite installation should also be possible with Max2Play.
I hope this helps.

rederikus
2017-02-01, 12:43
Hi guys,
Our BT plugin, when used for LMS, creates a specific channel for your smartphone/tablet in the LMS interface that you can use to feed any all of your Squeezeplayers. I made a little video on how to set it up on Youtube (https://www.youtube.com/watch?v=mt96_jnxnnU). The other option, if you want to feed the input directly to your local player on the Pi (Squeezelite or Shairport) is to select "Pulse" in one of them. The stream is then directly fed to the respective player.
You do not need a beta version of M2P, you do need an active premium license.
On your standard issues, rederikus; Max2Play uses the standard LMS version 7.9 nightly. Some specific features and plugins can be added via Max2Play but we did not compromise the software at all. We also use a normal distro of Jessie lite as the basis of our OS. So generally, everything you want to do with a clean Jessie lite installation should also be possible with Max2Play.
I hope this helps.
Okay, I am prepared to try Max2Play one more time. The last time I tried (about a month ago) I downloaded three of your images and only one booted. The one that booted did not start LMS. I asked on your forum and after a few posts, your moderator just stopped replying https://www.max2play.com/en/forums/topic/which-download-file-for-rpi-3-hifiberry-dac-standard/

I just gave up. Max2Play has (as I understand it) some kind of visual front end to it that I do not want or need. My LMS just sits in a closet, in the dark, headless and just works. If your product can do that successfully and provide bluetooth then, I'll use it.

I have now moved the HiFiBerry to another RPi player so I just need LMS and bluetooth.

Which image do I download for an RPi3, please?

Max2Play
2017-02-03, 03:45
Hi rederikus,
Sorry about the inconvenience. We were absent from our offices during the Winter Holidays through the new year. I replied in your topic in the beginning of January. We now have a default image that is suitable for all sound cards and other purpose. You can see it as the first and biggest option on our download page (https://www.max2play.com/en/max2play-image/).

edit: And please check out our documentations if you are having issues with the basic setup.
Here's our Wiki including a Starter Guide: https://www.max2play.com/en/wiki
Here are some videos I did for specific plugins and setups: https://www.youtube.com/channel/UCu2JHGI142fLrkoUN8dUkRA
Here are some step-by-step instructions on setting up some features: https://www.max2play.com/en/how-tos/

rederikus
2017-02-03, 15:05
Hi rederikus,
Sorry about the inconvenience. We were absent from our offices during the Winter Holidays through the new year. I replied in your topic in the beginning of January. We now have a default image that is suitable for all sound cards and other purpose. You can see it as the first and biggest option on our download page (https://www.max2play.com/en/max2play-image/).

edit: And please check out our documentations if you are having issues with the basic setup.
Here's our Wiki including a Starter Guide: https://www.max2play.com/en/wiki
Here are some videos I did for specific plugins and setups: https://www.youtube.com/channel/UCu2JHGI142fLrkoUN8dUkRA
Here are some step-by-step instructions on setting up some features: https://www.max2play.com/en/how-tos/
Thanks for your reply. I will load the image up and give it a try on a spare RPi3 this weekend. I really hope it does what I need. If it does, I'll keep it running for sure.

Thanks again.

Edit: Well, that went well -- not.

I downloaded and installed the mp2_rpi3_default_241_wps_autoexpand.img.zip file and booted it on an RPi3. So far, so good. It starts with X-WIndows. I ran Kodi but when I quit Kodi the system crashed. I rebooted and tried again. Same thine. Reboot and this time I tried to logically shutdown by using X-Windows Shutdown. It asked for the root password that I did nto have. I exit X-Windows to command prompt, which I prefer anyway and start looking for an installed LMS. It kicked me back into X-Windows. It does this every time.

I then used SSH from Windows 10 to look for LMS. It is not installed.

I do not think that Max2Play is for me. Sorry.

Max2Play
2017-02-07, 03:18
Hi rederikus,

I am sorry to hear that. As you might have found out from the documentation, Max2Play is controlled wholly from any other browser in your network (smartphone, PC, tablet, etc.) from the web interface by entering "max2play/" in the URL bar. All features and options are easy accessible there and we do not recommend using any other form access if you are not already familiar with the system. The root password is max2play, however, we also do not recommend accessing via SSH from root but instead using sudo for specific changes you might want to make. You also start Kodi from the web interface and shut it down there.

afriend
2017-03-09, 04:42
Hi.

I've only just discovered this thread. My idea was to have a new PiZero (with built-in Bluetooth and WiFi) and to use to it to occasionally stream Bluetooth audio from my/some friend's phone to any player connected to the server. So the zero would just be some kind of intermediate input device for feeding the bluetooth stream to the server that forwards it to the player I choose.

I'm a bit confused as to how I can achieve this.

- Is the Max2Play Bluetooth channel the only way to do this right now? I just want the Bluetooth input channel thingy, nothing else. The Max2Play image has so many other features which seems like overkill for what I want.

- Which Bluetooth codec does the Bluetooth channel use? AAC as would be required for good quality streaming from an iPhone?

- If I have to buy a Max2Play license (only for the Bluetooth channel function), does it have to be a subscription or can it be a one-time price (life-time license like with Erland's plugins)? I didn't see that option.

Thank you for your answers.

AF

Max2Play
2017-03-13, 09:09
Hi afriend,
- Our current solution either allows for direct playback of Bluetooth to the audio player or a creation of a channel in the LMS for Bluetooth streaming which is created on the device where the server is installed. It can then we streamed and synchronized with any and all players in on the server. Check out our video on the feature: https://www.youtube.com/watch?v=mt96_jnxnnU