Req Use xbmc as bluetooth speaker?
#1
Brick 
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/te...uetooth-to
Google cache: http://webcache.googleusercontent.com/se...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.
Reply
#2
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
Reply
#3
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-you...uetooth-A/

http://jprvita.wordpress.com/2009/12/15/...dp-stream/

I'm working on converting those to Fedora. I'll post back here if I have something.
Reply
#4
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.
Reply
#5
Check if this would be useful for you.

http://gizmodo.com/5715654/apple-airplay...g-on-linux
Reply
#6
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
Reply
#7
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
Reply
#8
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-you...uetooth-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...
Reply
#9
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.
Reply
#10
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.
Reply
#11
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
Reply
#12
What about upnp?
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#13
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.
Reply
#14
What about upnp?
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#15
Clearly I've misunderstood.. Perhaps you can elaborate
Reply



Logout Mark Read Team Forum Stats Members Help
Use xbmc as bluetooth speaker?0
This forum uses Lukasz Tkacz MyBB addons.