Author Topic: Airplayer device as Audio for a room?  (Read 4044 times)

dextaslab

  • Veteran
  • ***
  • Posts: 77
    • View Profile
    • modlog.net
Airplayer device as Audio for a room?
« on: November 28, 2014, 06:09:10 pm »
Hi, The summary of what I cant work out is to be able to use a physical airplay compatible device to stream audio/music for a room, that can be controlled from an orbiter. I read a while ago that it should be possible because of the way the airplay plugin works - data goes to the DCE and gets directed to the airplay devices (scripts) on the MDs. So I figured create a faux "AirPlay Audio Player" and put in the IP and/or Mac of the physical device.

I see that I can only create them under Orbiters, which the room doesn't have. Before I go any further am I wasting my time and completely wrong all together? Can I perhaps use the "AirPlay Audio Player" template as a base for what I want?

Cheers

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Airplayer device as Audio for a room?
« Reply #1 on: November 28, 2014, 09:35:35 pm »
You're thinking of this the complete wrong way around. The AirPlay Streamer exists to allow a media director (or compatible device, such as a Joggler, running the Orbiter) to be a media destination for AirPlay devices.

These AirPlay devices aren't "scripts.", they're a C++ program that embeds shairport code for the audio portion, and implements a reverse PTTH proxy for the video and photos. Source code is in our source tree at: src/AirPlay_Streamer. (http://svn.linuxmce.org/trac/browser/trunk/src/AirPlay_Streamer).

So you'll need to either:

(1) put a media director there.
(2) put a joggler or some other PC there and compile/run the AirPlay Streamer there.
(3) find another solution.

-Thom

phenigma

  • LinuxMCE God
  • ****
  • Posts: 1758
    • View Profile
Re: Airplayer device as Audio for a room?
« Reply #2 on: November 30, 2014, 10:52:35 pm »
Hi, The summary of what I cant work out is to be able to use a physical airplay compatible device to stream audio/music for a room, that can be controlled from an orbiter. I read a while ago that it should be possible because of the way the airplay plugin works - data goes to the DCE and gets directed to the airplay devices (scripts) on the MDs. So I figured create a faux "AirPlay Audio Player" and put in the IP and/or Mac of the physical device.

I see that I can only create them under Orbiters, which the room doesn't have. Before I go any further am I wasting my time and completely wrong all together? Can I perhaps use the "AirPlay Audio Player" template as a base for what I want?

Cheers

This would be a great feature request for trac.

J.

dextaslab

  • Veteran
  • ***
  • Posts: 77
    • View Profile
    • modlog.net
Re: Airplayer device as Audio for a room?
« Reply #3 on: December 03, 2014, 02:04:34 pm »
Oh I see airplayer provides a destination for other non-Linuxmce devices...? Turns out the cheap devices (soundmate M1) run openwrt, I just have to get squeezeslave and alsa compiled for them.

Cheers, yeah it would be a good future feature, but after watching the weather temperature demo (very well explained), its out of my league.

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Airplayer device as Audio for a room?
« Reply #4 on: December 12, 2014, 05:26:22 pm »
Oh I see airplayer provides a destination for other non-Linuxmce devices...? Turns out the cheap devices (soundmate M1) run openwrt, I just have to get squeezeslave and alsa compiled for them.

Cheers, yeah it would be a good future feature, but after watching the weather temperature demo (very well explained), its out of my league.

One limitation with Airplay audio is that it has no audio synch capability ie you can't stream to several devices and have them stay in synch. LMS & SqueezeLite will do that very nicely.

I'd suggest SqueezeLite rather than Squeezeslave as it supports the Spotify LMS plugin and this opens up Spotify streaming.

All the best

Andy
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk