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.
t/01_airtunes.t
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.
raop_play http://sourceforge.net/projects/raop-play/ POE
To install POE::Component::Client::AirTunes, copy and paste the appropriate command in to your terminal.
cpanm
cpanm POE::Component::Client::AirTunes
CPAN shell
perl -MCPAN -e shell install POE::Component::Client::AirTunes
For more information on module installation, please visit the detailed CPAN module installation guide.