Class

ITLibrary

A class that serves as the entry point to the iTunesLibrary framework. The properties and methods of ITLibrary may be used to retrieve media items (tracks) and playlists from the user’s iTunes library. ITLibrary also provides methods for extracting artwork from a media file that may or may not be in the iTunes library. This functionality is provided to sandboxed and non-sandboxed applications wanting to reuse iTunes' ability to extract artwork.

Declaration

@interface ITLibrary : NSObject

Topics

Obtaining Information About the iTunes Library

- artworkForMediaFile:

Retrieves the artwork from a media file that may or may not be in the iTunes library.

- initWithAPIVersion:error:

Initializes an instance of ITLibrary.

+ libraryWithAPIVersion:error:

Creates and initializes an instance of ITLibrary.

showContentRating

Whether to show content rating labels.

musicFolderLocation

The location of the iTunes music folder.

features

Deprecated.

applicationVersion

The version of iTunes that created or modified the iTunes library being accessed.

apiMinorVersion

The minor version number of the API exposed by the iTunesLibrary framework.

apiMajorVersion

The major version number of the API exposed by the iTunesLibrary framework.

allPlaylists

All the playlists in the iTunes library.

allMediaItems

All media items (tracks) in the iTunes library.

Instance Properties

Relationships

Inherits From