Req Use xbmc as bluetooth speaker?
#21
(2015-02-10, 14:32)belese Wrote: 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.

Would you care to share your still-in-work python module? I'd like to do some experiments to try and achieve the same thing. I'll, of course, share anything (if anything) I accomplish.

Thank you!
Reply


Messages In This Thread
RE: Use xbmc as bluetooth speaker? - by guaycuru - 2015-07-06, 20:40
RE: Use xbmc as bluetooth speaker? - by joely - 2015-05-27, 10:04
Re: Use xbmc as bluetooth speaker? - by nickr - 2015-04-08, 00:38
Re: Use xbmc as bluetooth speaker? - by nickr - 2015-04-22, 22:03
RE: Use xbmc as bluetooth speaker? - by nickr - 2016-07-23, 03:19
RE: Use xbmc as bluetooth speaker? - by Slimo - 2016-08-09, 16:09
RE: Use xbmc as bluetooth speaker? - by nickr - 2017-12-05, 10:23
Logout Mark Read Team Forum Stats Members Help
Use xbmc as bluetooth speaker?0