NAME

App::Pimpd::Playlist::Favorite - Package exporting functions for the favlist functionality

SYNOPSIS

use App::Pimpd;
use App::Pimpd::Playlist::Favorite;

if($mpd->current->title eq 'This song is awesome!') {
  add_to_favlist();
}

DESCRIPTION

App::Pimpd::Playlist::Favorite exports functions dealing with the favlist functionality.

EXPORTS

add_to_favlist()

Parameters: $playlist_name | NONE

Saves the currently playing song to a special playlist, 'favlist'.

If called without arguments, the playlist naming template is %year-%month-%genre, else the argument is used.

SEE ALSO

App::Pimpd::Playlist

AUTHOR

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

COPYRIGHT

Copyright (C) 2010, 2011 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.