Skip to content

Mac iTunes Library

Christophe Laferriere edited this page Nov 1, 2012 · 1 revision

Mac::iTunes::Library specifics

XML module :

available :

  • parse ($libraryFile) : Parses an iTunes XML library and returns a Mac::iTunes::Library object.

maybe needed :

  • write ($libraryFile) : Write a Mac::iTunes::Library object into an iTunes XML library (most likely a playlist).

Library module :

available :

  • new()
  • version()
  • majorVersion()
  • minorVersion()
  • applicationVersion()
  • features()
  • showContentRatings()
  • musicFolder()
  • libraryPersistentID()
  • num()
  • size()
  • time()
  • add( Mac::iTunes::Library::Item )

apparently useless :

  • artist()
  • partist()
  • albumArtist()
  • palbumArtist()
  • genre()
  • pgenre()
  • type()
  • items()

maybe needed :

  • write ($libraryFile) : maybe a better place than XML.pm

Playlist module :

available :

  • new()
  • name( name )
  • playlistID( id )
  • playlistPersistenID( id )
  • allItems( 0|1 )
  • smartInfo( smartInfo )
  • smartCriteria( smartInfo )
  • num()
  • addItem( Mac::iTunes::Library::Item )
  • addItems( Mac::iTunes::Library::Item )
  • items()
  • item( trackID )

maybe needed :

  • write ($libraryFile) : or even better here if it’s in fact a playlist!