Platforms to show: All Mac Windows Linux Cross-Platform

iTunesLibraryMBS.allMediaItems as iTunesLibraryMediaItemMBS()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method iTunes MBS MacExtras Plugin 13.5 Yes No No Yes, macOS only No
Function: All media items in the library.

Feedback, Comments & Corrections

iTunesLibraryMBS.allPlaylists as iTunesLibraryPlaylistMBS()
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method iTunes MBS MacExtras Plugin 13.5 Yes No No Yes, macOS only No
Function: All playlists in the library.

Feedback, Comments & Corrections

iTunesLibraryMBS.artworkForMediaFile(mediaFile as folderitem) as iTunesLibraryArtworkMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method iTunes MBS MacExtras Plugin 13.5 Yes No No Yes, macOS only No
Function: Retrieves the artwork from a media file.
Notes:
mediaFile: The folderitem of the media file whose artwork should be extracted.
Returns a iTunesLibraryArtworkMBS instance represeting the media file artwork, or nil if the artwork was not found or could not be extracted.

See also:

Feedback, Comments & Corrections

iTunesLibraryMBS.artworkForMediaFile(mediaFileURL as string) as iTunesLibraryArtworkMBS
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method iTunes MBS MacExtras Plugin 13.5 Yes No No Yes, macOS only No
Function: Retrieves the artwork from a media file.
Notes:
mediaFileURL: The URL of the media file whose artwork should be extracted.
Returns a iTunesLibraryArtworkMBS instance represeting the media file artwork, or nil if the artwork was not found or could not be extracted.

See also:

Feedback, Comments & Corrections

iTunesLibraryMBS.Constructor(requestedAPIVersion as string, byref error as NSErrorMBS, threaded as boolean = false)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method iTunes MBS MacExtras Plugin 13.5 Yes No No Yes, macOS only No
Function: Initializes an instance of ITLibrary which can be used to retrieve media entities.
Notes:
Upon initialization of the library class, the default iTunes database for the current user will be read and parsed.
At this point all media entities will be cached in memory until the time the object is deallocated.
requestedAPIVersion: The version of the iTunesLibrary API that the application is requesting, provide "1.0" if unknown.
error: A variable that will receive an NSError if this method fails. May be nil if caller does not care about error.

If handle is 0, the initialization failed.
Requires that your app is code signed.

Added threaded parameter in version 20.0 of the MBS Plugins. If true, the work is performed on a preemptive thread, so this function does not block the application and can yield time to other Xojo threads. Must be called in a Xojo thread to enjoy benefits. If called in main thread will block, but keep other background threads running.

Feedback, Comments & Corrections

The items on this page are in the following plugins: MBS MacExtras Plugin.

The biggest plugin in space...




Links
MBS Xojo Plugins