POE::Component::Client::AirTunes - Stream music to Airport Express
use POE qw( Component::Client::AirTunes ); POE::Component::Client::AirTunes->new( host => $ip, alias => "airtunes", events => { connected => 'connected', error => 'error', done => 'done', }, ); $kernel->post(airtunes => 'volume' => 100); $kernel->post(airtunes => 'play' => "/path/to/foobar.m4a"); $kernel->post(airtunes => 'stop');
POE::Component::Client::AirTunes is a POE component to stream music files to your Airport Express. This module is a frontend for a command line Airport Express player raop_play, which is included in Airport Express Client, availabe at http://raop-play.sourceforge.net.
See t/01_airtunes.t
for more example. This module is ALPHA software and its API might change in the future.
Tatsuhiko Miyagawa <miyagawa@bulknews.net>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
This module is part of Trickster 2.0. See http://trickster.bulknews.net/ for details.