NAME

App::Pimpd - Base class for pimpd2

SYNOPSIS

use App::Pimpd;

$\ = "\n";
print $mpd_host;
print $mpd_port;

DESCRIPTION

App::Pimpd is the base class for the rest of the App::Pimpd namespace, exporting the $mpd object and a couple of configuration variables.

EXPORTS

$mpd

The base object used to communicate with mpd.

$mpd_host, $mpd_port, $mpd_user, $mpd_pass

MPD connection details, grabbed from environment variables and/or configuration file.

$ssh_host, $ssh_port, $ssh_user

SSH connection details. Used in App::Pimpd::Transfer.

$music_directory, $playlist_directory

As specified in mpd.conf

$target_directory

The directory where App::Pimpd::Transfer will place all files.

@c

List of colors, from configuration file.

Contains valid arguments to Term::ExtendedColor, like so:

$c[0]  = 'red2';
$c[1]  = 'blue4';
$c[2]  = 'green14';

...

$c[15] = 'purple3';

SEE ALSO

Term::ExtendedColor

AUTHOR

Magnus Woldrich
CPAN ID: WOLDRICH
m@japh.se
http://japh.se

COPYRIGHT

Copyright (C) 2010, 2011, 2019- Magnus Woldrich. All right reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.