Kodi Community Forum
Req Use xbmc as bluetooth speaker? - Printable Version

Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Music Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=148)
---- Thread: Req Use xbmc as bluetooth speaker? (/showthread.php?tid=194367)

Pages: 1 2 3


Use xbmc as bluetooth speaker? - squirrelsnuts - 2014-05-07

Hey great media people!
I am running xbmc gotham on Fedora 20. Works great and everything.
I'm not sure if this is a feature request or if it exists, so please point me in the right direction if I am off base here.

I often listen to music through my iPad hooked up to some speakers using spotify, but then occasionally my roommate likes to play music through these speakers using pandora. (not at the same time of course, no dueling music here!) But in both cases the device is directly tied to the speakers and is rather unusable. We looked at getting a bluetooth speaker thingy, but then that is yet another device to set up, change inputs, run wires, etc etc.

So, is it currently possible or what would need to happen to allow xbmc receive audio over bluetooth? I know there is Airplay support and other wifi technologies, but as far as I can tell that would be another app and another account. I'd like to just have the audio "streamed" from whatever app is running on the phone/tablet/etc to xbmc. So in essence using xbmc as a glorified bluetooth speaker. (We also use it for playing videos, so (I'm pretty sure?) this isn't a case of making things too complicated)

I did some googling and found this (defunct site):
http://www.outrightsolutions.nl/blogs/techstuff.php/streaming-audio-over-bluetooth-to
Google cache: http://webcache.googleusercontent.com/search?q=cache:vZSONSeLLLgJ:www.outrightsolutions.org/blogs/techstuff.php/streaming-audio-over-bluetooth-to+&cd=3&hl=en&ct=clnk&gl=us

But the .py file is not available. Searching for this in general is rather difficult as most people want to use xbmc as the source, not the destination.


RE: Use xbmc as bluetooth speaker? - andybr1ggs - 2014-05-14

Hi mate not much used to this stuff my self but i found this here might steer you in the right direction http://forum.xbmc.org/showthread.php?tid=59377

http://bit.ly/1nMIoTF


RE: Use xbmc as bluetooth speaker? - squirrelsnuts - 2014-05-14

Hi hi!
Thanks for replying. That looks like it is for streaming music from xbmc to the headphones. I want to stream music from my phone/ipad to xbmc so that I don't have to physically plug in my phone/ipad to the living room speakers.

I did poke around the interwebs a bit more and it looks like going around xbmc might be the best course of action:
http://www.instructables.com/id/Turn-your-Raspberry-Pi-into-a-Portable-Bluetooth-A/

http://jprvita.wordpress.com/2009/12/15/1-2-3-4-a2dp-stream/

I'm working on converting those to Fedora. I'll post back here if I have something.


RE: Use xbmc as bluetooth speaker? - RavRob - 2014-05-14

It should be possible if you install XBMC on your ipad and set a library with your music. That music should now be playable via XBMC Airplay. I can do this from my android tablet easy enough but the ipad needs to be jailbroken before you can install XBMC on it.


RE: Use xbmc as bluetooth speaker? - aschwerin.moses - 2014-05-15

Check if this would be useful for you.

http://gizmodo.com/5715654/apple-airplay-running-on-linux


RE: Use xbmc as bluetooth speaker? - innerspace - 2014-05-22

I use Yatse remote on Android to do exactly what you want - I can "throw" media at any XBMC device in my home using tha paid version of Yatse, either by viewing items currently in my XBMC library from within the Yatse interface, or by browsing local media on my android device and choosing "Open As", then choosing "Send to XBMC". It is really slick, and as a bonus, allows me to stream media from my XBMCs to my Android devices. Yatse doesn't appear to be available for iOS, however Android devices are cheap Smile


RE: Use xbmc as bluetooth speaker? - cyber7 - 2014-07-15

Nope, nope-dy-dope, nope!

This is not what the OP is asking for...

He (an now myself) wants to use XBMC as a Bluetooth Speaker. (Not spend money on something that does not work via bluetooth...)

Reason is:
If you have mates who wants to "quickly" play a clip or a tune, all you have to do is give him access to your bluetooth device... (NOT ask him to download software and setup and ...<Blah-blah-blah>)

Not so difficult to understand. Please could someone post a sulution to this? It would take XBMC to a whole new level.

(Imagine standing at an airport where one of these divices are active and you can PUSH something to it...)

cyber7-out


RE: Use xbmc as bluetooth speaker? - cyber7 - 2014-07-15

As a PS:
# http://www.raspbian.org/RaspbianXBMC
Shows you how to compile XBMC on Raspbian, which means that the Instructable:
# http://www.instructables.com/id/Turn-your-Raspberry-Pi-into-a-Portable-Bluetooth-A/
could potentially work on XBMC...

I also read that it is possible to run xbmc on pulseaudio instead of alsa:
# http://wiki.xbmc.org/index.php?title=PulseAudio
and as far as I can see from the instructable link, you use pulseaudio as the device...


RE: Use xbmc as bluetooth speaker? - belese - 2015-02-10

i'm currently looking to implemented this,
i've tried a few test with xbian, and pulseaudio or alsa, but wasn't happy with that.

so i tried with a python addon, and bluez 5.
i can read the a2dp stream in python using dbus, decode the SBS codec,
and i've now a raw pcm stream,

Problem is from python, i've not found a way to send it to xbmc player,

i can encapsulate pcm in wav, but problem is it's a stream, and wav file have a length in header,
i've tried to patch the header to have a long wav file (90 minutes or more), and send stream via a http server,
but it don't work on xbmc, kodi freeze, strange because same stream work in vlc, and mplayer.

anyway, it's not a good solution as it will add some more latency.

i also try a fifo pipe with wav content, but seems xbmc open the pipe more than once (or something else i don't understand),
and result, it don't work

i've seen the old airplay python addon, it use a xbmc pipe, that don't seem exist anymore.

Is someone has an idea?

otherwise i was looking at the xbmc code, and maybe with Airtunes server and bluez helper, i could try to do it in xbmc,
it should be better, but i'm not a C++ developper, so if i can do it in python in a clean way, i'll prefer.


RE: Use xbmc as bluetooth speaker? - firebladekid - 2015-03-04

This would be an awesome feature to have, my XBMC is plugged into my home theatre through my TV. If it had bluetooth receiving powers, it would be so easy to play so much more media through my awesome 5.1 speakers. Right now, I have the gap being filled by chromecast and Yatse, but they don't cover all the situations.


RE: Use xbmc as bluetooth speaker? - darksupernova - 2015-04-07

I have kodi running on Windows. My friends come over all the time and want to Bluetooth to my speakers. Airplay only works on iPhones and even then it's pretty crackly and patchy.

This thread is exactly what I'm looking for, any news?

Thanks


Re: Use xbmc as bluetooth speaker? - nickr - 2015-04-08

What about upnp?


RE: Use xbmc as bluetooth speaker? - darksupernova - 2015-04-22

The ideal solution would be for people visiting who don't need to download any apps and can just play direct to xbmc. Airplay works for iphones (although it does drop out occasionally) but it would be good to get the bluetooth working so that all devices can just connect and play.


Re: Use xbmc as bluetooth speaker? - nickr - 2015-04-22

What about upnp?


RE: Use xbmc as bluetooth speaker? - darksupernova - 2015-04-22

Clearly I've misunderstood.. Perhaps you can elaborate


This forum uses Lukasz Tkacz MyBB addons.