NAME Music::Audioscrobbler::MPD - Module providing routines to submit songs to last.fm from MPD. DESCRIPTION Music::Audioscrobbler::MPD is a scrobbler for MPD. As of version .1, Music::Audioscrobbler::Submit is used to submit information to last.fm. All internal code is subject to change. See musicmpdscrobble for usage info. INSTALLATION To install this module type the following: perl Makefile.PL make make test make install CONFIGURATION There is a sample config file under examples. A sample init file that I use for gentoo linux is there as well. USE Edit the sample config file and copy to /etc/musicmpdscrobble.conf or ~/.musicmpdscrobble.conf Test your configuration by issue the command musicmpdscrobble --logfile=STDERR --monitor and playing some music. If it works, then the command musicmpdscrobble --daemonize will run musicmpdscrobble as a daemon. Please see examples for a sample init script. If you make an init script for your distribution, please send it to me! DEPENDENCIES This module requires these other modules and libraries: Music::Audioscrobbler::Submit File::Spec Digest::MD5 Encode IO::Socket IO::File Config::Options I strongly encourage you to also install my module Music::Tag This will allow you to read info from the file tag (such as the MusicBrainz ID). The version info in the Makefile is based on what I use. You can get away with older versions in many cases. MORE HELP Please see the documentation for musicmpdscrobble which is available from musicmpdscrobble --longhelp AUTHOR Edward Allen, ealleniii _at_ cpan _dot_ org COPYRIGHT Copyright (c) 2007 Edward J. Allen III Some code and inspiration from Audio::MPD Copyright (c) 2005 Tue Abrahamsen, Copyright (c) 2006 Nicholas J. Humfrey, Copyright (c) 2007 Jerome Quelin LICENSE This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either: a) the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version, or b) the "Artistic License" which comes with Perl. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the Artistic License for more details. You should have received a copy of the Artistic License with this Kit, in the file named "Artistic". If not, I'll be glad to provide one. You should also have received a copy of the GNU General Public License along with this program in the file named "Copying". If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA or visit their web page on the Internet at http://www.gnu.org/copyleft/gpl.html.