bpa wrote: 
> I spent a lot of time with Bluetooth and alsa and I have a collection of
> BT adaptors to prove it. I think Bluez(4 or was it 5 ?) was a step
> backward in functionality (and lack of documentation) and pulseaudio as
> an unnecessary evil as it should be optional not default.  It seems the
> underlying systems make it  much harfder than it should be.

Latest Arch comes with Bluez5 and I totally agree with you. Some time
ago I've tried an older version of Bluez and I've been able to setup
sime kind of autopairing which seems to be impossible with Bluez5 (at
least I can not find any documentation for this). One has to log into
SSH to pair a mobile which makes Bluetooth more or less useless for for
a headless player.




bpa wrote: 
> Not sure what you mean by "some client" as each of those use different
> subsystems and present different end user interfaces - can you say which
> client application can play any / all of these to standard audio ?

I will explain the hole project.

Some time ago I bought a SB touch which was not used for years. This
days I thought to install a soundsystem in my gf's flat. Using a qnap as
LMS, the SB touch and a Raspi with Picoplayer. Then I had the "glorious"
idea to put the Raspi into a vintage radio as a present to her ;-) Then
I had the idea to use an USB CD to make her able to play cds as well.
This leads me to the idea to be able to connect a USB stick as well
which lead me to the idea to put a HD into this vintage Radio to make
this radio the LMS server for the system so I can rid of the QNAP. So if
she has such a nice radio it would be nice to be able to allow guests to
play from their devices. This leads me to Bluetooth, Airplay and making
the radio a UPnP Client as well as beeing able to connect i.e. a iPod
nano (my GF has 2 of them) by using line-in. Voila. Thats it.

Now, my GF is not really a techie. In fact shes more of the kind using
google (on startpage) to find google ;-) So I wanted to have it as easy
to use as possible. I wrote some scripts for tasker to make her (and of
course me as well) able to controll LMS by using the android. First
attempt was just to use tasker with NFC wich turned out not to be
practical since one has to unlock the mobile to be able to recognize
NFC. Tasker allows to put the actions as widgets on the mobile, so I did
this. This is working fine and it's very usefull since we now have a
radio alarm controlled by the alarm of the mobile and it mutes the sound
when a call is in place.

What I have now is a Raspi B with LMS, your great wavin and cd plugins,
Bluetooth, Airplay, mpd as UPnP client and line-in as sources.
Bluetooth, Airplay, mpd and line-in are mixed into one stream using
alsa. This can be played using a favourite with wavin. (It's also
possible to select them as individual sources but that's not what I
want)

This limits the sources one has to handle. Just have to select
"External" as source.

The next step of evolution is to automatically select "External" as soon
as Client connects to the "radio".

Line in will be becomes detected by a simple switch whenever the plug is
plugged. 
I think bluetooth possibly can be detected by using udev. Not shure,
have to check this. CD for shure can be detected this way.
But I have no idea how to check if a client (i.e a guests mobile)
connects via Airplay or UPnP (i.e using MPdroid). I thought about
periodically to check wether a specific port is in use or not. But as
sayed, I have really no idea if this is a usefull aproach.


------------------------------------------------------------------------
Viator's Profile: http://forums.slimdevices.com/member.php?userid=63789
View this thread: http://forums.slimdevices.com/showthread.php?t=47288

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to