Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Libraries

    Mac::iTunes::Playlist 0.86

    Download button

    No screenshots available
    Downloads: 421  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Brian D'foy | More programs
    Perl Artistic License / FREE
    November 16th, 2006, 00:05 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    Mac::iTunes::Playlist description

    Mac::iTunes::Playlist is a Perl module for iTunes playlists.

    Mac::iTunes::Playlist is a Perl module for iTunes playlists.

    SYNOPSIS

    use Mac::iTunes::Playlist;

    my $playlist = Mac::iTunes::Playlist->new( @items );

    METHODS

    new( TITLE, ARRAYREF )

    new_from_directory( TITLE, DIRECTORY )

    Create a playlist from all of the MP3 files in the named directory.

    title

    Returns the title of the playlist.

    items

    In list context, returns a list of the items in the playlist.

    In scalar context, returns the number of items in the playlist.

    next_item

    Not implemented

    previous_item

    Not implemented

    add_item( OBJECT )

    Adds the Mac::iTunes::Item object to the playlist.

    Returns undef or the empty list if the argument is not a Mac::iTunes::Item object.

    delete_item( INDEX )

    Deletes the item at index INDEX (counting from zero).

    Returns false is the INDEX is greater than the index of the last item. Returns true otherwise.

    merge( PLAYLIST )

    Adds the items in PLAYLIST to the current playlist and returns the number of items added.

    Returns undefined (or the empty list) if the argument is not the right sort of object. Returns 0 if no items were added (which might not be an error).

    This method does a deep copy of the Items object. Identical items show up as different objects in each playlist so that the playlists do not refer to each other.

    random_item

    In scalar context, returns a random item from the playlist.

    In list context, returns the item, the index of the item, and the total count of items.

    Returns false or the empty list if the playlist has no items.

    copy

    Return a deep copy of the playlist. The returned object will not refer (as in, point to the same data) as the original object.

    Publisher

    publish( FORMAT [, FIELDS_REF [, ORDER_REF ] ] )

    Output the playlist in some format.

    Not implemented.

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    iTunes playlists | Mac::iTunes::Item object | Perl module | Mac::iTunes::Playlis | iTunes | playlists

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM