NAME
Audio::MPD::Item::Song - an object with some audio tags
DESCRIPTION
Audio::MPD::Item::Song
is more a placeholder for a hash ref with some pre-defined keys, namely some audio tags.
PUBLIC METHODS
Accessors
The following methods are the accessors to their respective named fields: album()
, artist()
, file()
, id
, pos
, title()
, track()
, time()
. You can call them either with no arg to get the value, or with an arg to replace the current value.
Methods
- $song->as_string()
-
Return a string representing $song. This string will be:
(in this order), depending on the existing tags of the song. The last possibility always exist of course, since it's a path.
SEE ALSO
You can find more information on the mpd project on its homepage at http://www.musicpd.org, or its wiki http://mpd.wikia.com.
Regarding this Perl module, you can report bugs on CPAN via http://rt.cpan.org/Public/Bug/Report.html?Queue=Audio-MPD.
Audio::MPD development takes place on <audio-mpd@googlegroups.com>: feel free to join us. (use http://groups.google.com/group/audio-mpd to sign in). Our subversion repository is located at https://svn.musicpd.org.
AUTHORS
Jerome Quelin <jquelin@cpan.org>
COPYRIGHT AND LICENSE
Copyright (c) 2007 Jerome Quelin <jquelin@cpan.org>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
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 the GNU General Public License for more details.