Filesys::Virtual::DAAP - present a DAAP share as a VFS
use Filesys::Virtual::DAAP; my $fs = Filesys::Virtual::DAAP->new({ host => 'localhost', port => 3689, # the default cwd => '/', root_path => '/', home_path => '/home', }); my @albums = $fs->list("/Library"); my @playlists = $fs->list("/Playlists");
This module has external dependencies on the following modules:
Class::Accessor Filesys::Virtual Filesys::Virtual::Plain Net::DAAP::Client 0.4 perl 5.006
perl Build.PL perl Build test
and if all goes well
perl Build install
What changed over the last 3 revisions
Filesys::Virtual plain has its own dist now, so needs a seperate line in the Build.PL Deleted the reference to rt.cpan.org as I don't want to use it anymore.
Depend on Net::DAAP::Client 0.4 so we can extend the SONG_ATTRIBUTES
docubug - it's Net::DAV::Server not Net::Server::DAV (doh) Threw in some more gurards against invalid file paths. Removed a stealth dependency on YAML.
Richard Clamp <richardc@unixbeard.net>
Copyright 2004 Richard Clamp. All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Net::DAAP::Client::Auth, Net::DAV::Server, POE::Component::Server::FTP
To install Filesys::Virtual::DAAP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Filesys::Virtual::DAAP
CPAN shell
perl -MCPAN -e shell install Filesys::Virtual::DAAP
For more information on module installation, please visit the detailed CPAN module installation guide.