App::Pimpd::Playlist - Functions dealing with the current playlist
queue(4, 12, 9, 18);
App::Pimpd::Playlist provides functions playing with the current playlist
Tries hard to find valid, existing playlists based on input. If a playlist doesn't exist, tries to match the strings against the existing ones (using get_valid_lists() from App::Pimpd::Validate), presenting the user with a prompt.
get_valid_lists() returns a list of valid playlists which we add to the current playlist.
Play $playlist_pos in the current playlist.
queue(42, 3, 9, 18, 12);
Simulates a queue by turning random mode off and moving the supplied playlist position IDs up in order.
Show the current playlist.
Takes a list of existing playlists and prints the content.
In list context, returns a list with known playlists.
In scalar context, returns the number of knows playlists.
Parameters: @paths | \@paths
Adds the list of songs (paths) to the current playlist.
Tries to remove all albums matching $regex from the current playlist.
CPAN ID: WOLDRICH
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.
To install App::Pimpd, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell
For more information on module installation, please visit the detailed CPAN module installation guide.