LinuxMCE Forums

General => Users => Topic started by: dextaslab on November 28, 2014, 06:09:10 PM

Title: Airplayer device as Audio for a room?
Post by: dextaslab 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
Title: Re: Airplayer device as Audio for a room?
Post by: tschak909 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
Title: Re: Airplayer device as Audio for a room?
Post by: phenigma on November 30, 2014, 10:52:35 PM
Quote from: dextaslab 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

This would be a great feature request for trac.

J.
Title: Re: Airplayer device as Audio for a room?
Post by: dextaslab 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.
Title: Re: Airplayer device as Audio for a room?
Post by: totallymaxed on December 12, 2014, 05:26:22 PM
Quote from: dextaslab 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.

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