GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Audio::MPD::Common::Item(3) User Contributed Perl Documentation Audio::MPD::Common::Item(3)

Audio::MPD::Common::Item - a generic collection item

version 2.003

    my $item = Audio::MPD::Common::Item->new( %params );

Audio::MPD::Common::Item is a virtual class representing a generic item of mpd's collection. It can be either a song, a directory or a playlist.

Depending on the params given to "new", it will create and return an Audio::MPD::Common::Item::Song, an Audio::MPD::Common::Item::Directory or an Audio::MPD::Common::Playlist object. Currently, the discrimination is done on the existence of the "file" key of %params.

Create and return either an Audio::MPD::Common::Item::Song, an Audio::MPD::Common::Item::Directory or an Audio::MPD::Common::Playlist object, depending on the existence of a key "file", "directory" or "playlist" (respectively).

Jerome Quelin

This software is copyright (c) 2007 by Jerome Quelin.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2022-04-08 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.