Platforms to show: All Mac Windows Linux Cross-Platform
iTunesLibraryMediaItemMBS class
Super class: iTunesLibraryMediaEntityMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | iTunes | MBS MacExtras Plugin | 13.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
A media item has an overall unique identifier, accessed using the persistentID property. The media item metadata may be accessed through its individual properties or via the iTunesLibraryMediaEntityMBS general property accessor methods.
Subclass of the iTunesLibraryMediaEntityMBS class.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
- 52 properties
- property addedDate as Date
- property addedDateTime as DateTime
- property album as iTunesLibraryAlbumMBS
- property artist as iTunesLibraryArtistMBS
- property artwork as iTunesLibraryArtworkMBS
- property ArtworkAvailable as Boolean
- property beatsPerMinute as Integer
- property bitrate as Integer
- property category as String
- property comments as String
- property composer as String
- property contentRating as String
- property description as String
- property DRMProtected as Boolean
- property fileType as Integer
- property genre as String
- property grouping as String
- property kind as String
- property lastPlayedDate as Date
- property lastPlayedDateTime as DateTime
- property location as String
- property locationFile as FolderItem
- property locationType as Integer
- property lyricsContentRating as Integer
- property mediaKind as Integer
- property modifiedDate as Date
- property modifiedDateTime as DateTime
- property playCount as Integer
- property Purchased as Boolean
- property rating as Integer
- property RatingComputed as Boolean
- property releaseDate as Date
- property releaseDateTime as DateTime
- property sampleRate as Integer
- property size as UInt64
- property skipCount as Integer
- property skipDate as Date
- property skipDateTime as DateTime
- property sortComposer as String
- property sortTitle as String
- property startTime as Integer
- property stopTime as Integer
- property title as String
- property totalTime as Integer
- property trackNumber as Integer
- property userDisabled as Boolean
- property video as Boolean
- property videoInfo as iTunesLibraryMediaItemVideoInfoMBS
- property voiceOverLanguage as String
- property volumeAdjustment as Integer
- property volumeNormalizationEnergy as Integer
- property year as Integer
- method Constructor Private
- 64 shared methods
- shared method ITLibMediaItemPropertyAddedDate as string
- shared method ITLibMediaItemPropertyAlbumArtist as string
- shared method ITLibMediaItemPropertyAlbumDiscCount as string
- shared method ITLibMediaItemPropertyAlbumDiscNumber as string
- shared method ITLibMediaItemPropertyAlbumIsCompilation as string
- shared method ITLibMediaItemPropertyAlbumIsGapless as string
- shared method ITLibMediaItemPropertyAlbumRating as string
- shared method ITLibMediaItemPropertyAlbumRatingComputed as string
- shared method ITLibMediaItemPropertyAlbumTitle as string
- shared method ITLibMediaItemPropertyAlbumTrackCount as string
- shared method ITLibMediaItemPropertyArtistName as string
- shared method ITLibMediaItemPropertyArtwork as string
- shared method ITLibMediaItemPropertyBeatsPerMinute as string
- shared method ITLibMediaItemPropertyBitRate as string
- shared method ITLibMediaItemPropertyCategory as string
- shared method ITLibMediaItemPropertyComments as string
- shared method ITLibMediaItemPropertyComposer as string
- shared method ITLibMediaItemPropertyContentRating as string
- shared method ITLibMediaItemPropertyDescription as string
- shared method ITLibMediaItemPropertyFileType as string
- shared method ITLibMediaItemPropertyGenre as string
- shared method ITLibMediaItemPropertyGrouping as string
- shared method ITLibMediaItemPropertyHasArtwork as string
- shared method ITLibMediaItemPropertyIsDRMProtected as string
- shared method ITLibMediaItemPropertyIsPurchased as string
- shared method ITLibMediaItemPropertyIsUserDisabled as string
- shared method ITLibMediaItemPropertyIsVideo as string
- shared method ITLibMediaItemPropertyKind as string
- shared method ITLibMediaItemPropertyLastPlayDate as string
- shared method ITLibMediaItemPropertyLocation as string
- shared method ITLibMediaItemPropertyLocationType as string
- shared method ITLibMediaItemPropertyLyricsContentRating as string
- shared method ITLibMediaItemPropertyMediaKind as string
- shared method ITLibMediaItemPropertyModifiedDate as string
- shared method ITLibMediaItemPropertyPlayCount as string
- shared method ITLibMediaItemPropertyRating as string
- shared method ITLibMediaItemPropertyRatingComputed as string
- shared method ITLibMediaItemPropertyReleaseDate as string
- shared method ITLibMediaItemPropertySampleRate as string
- shared method ITLibMediaItemPropertySize as string
- shared method ITLibMediaItemPropertySkipDate as string
- shared method ITLibMediaItemPropertySortAlbumArtist as string
- shared method ITLibMediaItemPropertySortAlbumTitle as string
- shared method ITLibMediaItemPropertySortArtistName as string
- shared method ITLibMediaItemPropertySortComposer as string
- shared method ITLibMediaItemPropertySortTitle as string
- shared method ITLibMediaItemPropertyStartTime as string
- shared method ITLibMediaItemPropertyStopTime as string
- shared method ITLibMediaItemPropertyTitle as string
- shared method ITLibMediaItemPropertyTotalTime as string
- shared method ITLibMediaItemPropertyTrackNumber as string
- shared method ITLibMediaItemPropertyUserSkipCount as string
- shared method ITLibMediaItemPropertyVideoEpisode as string
- shared method ITLibMediaItemPropertyVideoEpisodeOrder as string
- shared method ITLibMediaItemPropertyVideoHeight as string
- shared method ITLibMediaItemPropertyVideoIsHD as string
- shared method ITLibMediaItemPropertyVideoSeason as string
- shared method ITLibMediaItemPropertyVideoSeries as string
- shared method ITLibMediaItemPropertyVideoSortSeries as string
- shared method ITLibMediaItemPropertyVideoWidth as string
- shared method ITLibMediaItemPropertyVoiceOverLanguage as string
- shared method ITLibMediaItemPropertyVolumeAdjustment as string
- shared method ITLibMediaItemPropertyVolumeNormalizationEnergy as string
- shared method ITLibMediaItemPropertyYear as string
- 25 constants
Constants
Constant | Value | Description |
---|---|---|
ITLibMediaItemLocationTypeFile | 1 |
One of the constants to specify possible the type of a media item with respect to its location.
The media item location refers to a local file. |
ITLibMediaItemLocationTypeRemote | 3 |
One of the constants to specify possible the type of a media item with respect to its location.
The media item location refers to a remote file. |
ITLibMediaItemLocationTypeUnknown | 0 |
One of the constants to specify possible the type of a media item with respect to its location.
The media item type is not known. |
ITLibMediaItemLocationTypeURL | 2 |
One of the constants to specify possible the type of a media item with respect to its location.
The media item location refers to a URL (for example, a podcast). |
ITLibMediaItemLyricsContentRatingClean | 2 |
One of the constants to specify the possible ratings of media item lyrics.
The media item lyrics do not contain explicit language. |
ITLibMediaItemLyricsContentRatingExplicit | 1 |
One of the constants to specify the possible ratings of media item lyrics.
The media item lyrics contain explicit language. |
ITLibMediaItemLyricsContentRatingNone | 0 |
One of the constants to specify the possible ratings of media item lyrics.
No rating information for the media item lyrics. |
ITLibMediaItemMediaKindAlertTone | 21 |
One of the constants to specify the possible media kinds of a iTunes media item.
The media item is an audio tone on an iOS device which is not a protected ringtone. |
ITLibMediaItemMediaKindAudiobook | 5 |
One of the constants to specify the possible media kinds of a iTunes media item.
The media item is an audiobook. |
ITLibMediaItemMediaKindBook | 19 |
One of the constants to specify the possible media kinds of a iTunes media item.
The media item is an EPUB or iBooks Author book. |
ITLibMediaItemMediaKindDigitalBooklet | 15 |
One of the constants to specify the possible media kinds of a iTunes media item.
The media item is an iTunes Extra or an iTunes LP. |
ITLibMediaItemMediaKindHomeVideo | 12 |
One of the constants to specify the possible media kinds of a iTunes media item.
The media item is a non-iTunes Store movie. |
ITLibMediaItemMediaKindInteractiveBooklet | 9 |
One of the constants to specify the possible media kinds of a iTunes media item.
The media item is a QuickTime movie with embedded flash (deprecated) |
ITLibMediaItemMediaKindIOSApplication | 16 |
One of the constants to specify the possible media kinds of a iTunes media item.
The media item is an iPhone or iPod touch application. |
ITLibMediaItemMediaKindiTunesU | 18 |
One of the constants to specify the possible media kinds of a iTunes media item.
The media item is an iTunesU audio of video file. |
ITLibMediaItemMediaKindMovie | 3 |
One of the constants to specify the possible media kinds of a iTunes media item.
The media item is a movie. |
ITLibMediaItemMediaKindMusicVideo | 7 |
One of the constants to specify the possible media kinds of a iTunes media item.
The media item is a music video. |
ITLibMediaItemMediaKindPDFBook | 20 |
One of the constants to specify the possible media kinds of a iTunes media item.
The media item is a PDF treated as Books in the UI unless overridden by the user. |
ITLibMediaItemMediaKindPDFBooklet | 6 |
One of the constants to specify the possible media kinds of a iTunes media item.
The media item is an unwrapped PDF file that is part of a Music album. |
ITLibMediaItemMediaKindPodcast | 4 |
One of the constants to specify the possible media kinds of a iTunes media item.
The media item is an audio or video podcast. |
ITLibMediaItemMediaKindRingtone | 14 |
One of the constants to specify the possible media kinds of a iTunes media item.
The media item is an iOS ringtone. |
ITLibMediaItemMediaKindSong | 2 |
One of the constants to specify the possible media kinds of a iTunes media item.
The media item is a song. |
ITLibMediaItemMediaKindTVShow | 8 |
One of the constants to specify the possible media kinds of a iTunes media item.
The media item is a TV show. |
ITLibMediaItemMediaKindUnknown | 1 |
One of the constants to specify the possible media kinds of a iTunes media item.
The media item kind is unknown. |
ITLibMediaItemMediaKindVoiceMemo | 17 |
One of the constants to specify the possible media kinds of a iTunes media item.
The media item is a voice memo recorded on iPod/iPhone. |
Super class iTunesLibraryMediaEntityMBS
- 2 properties
- property Handle as Integer
- property persistentID as Int64
- 5 methods
- method Constructor Private
- method enumerateValuesExceptForProperties(propertyNames() as string) as dictionary
- method enumerateValuesForAllProperties as dictionary
- method enumerateValuesForProperties(propertyNames() as string) as dictionary
- method valueForProperty(PropertyName as string) as Variant
- shared method ITLibMediaEntityPropertyPersistentID as string
This class has no sub classes.
Some methods using this class:
- iTunesLibraryMBS.allMediaItems as iTunesLibraryMediaItemMBS()
- iTunesLibraryPlaylistMBS.items(threaded as boolean = false) as iTunesLibraryMediaItemMBS()
Some examples using this class:
The items on this page are in the following plugins: MBS MacExtras Plugin.
iTunesLibraryMediaEntityMBS - iTunesLibraryMediaItemVideoInfoMBS