AstroMediaMetadata
A data class representing metadata associated with a media item in the AstroPlayer playlist. This data class provides optional fields for various metadata categories. Not all fields might be available for all media types, and the specific information available will depend on the media source and the player implementation.
Constructors
Properties
The artist or performer associated with the album.
The title of the album the media item belongs to.
The URI of artwork associated with the media item (e.g., album cover).
Whether the media is part of a compilation album.
A textual description of the media item.
The disc number within a multi-disc set (1-based).
An alternative title for display purposes.
An identifier for a specific equalizer preset to be applied to this media item (implementation-specific). This is used with AstroPlayer.isSmartEqualizerEnabled
for smart equalizer functionality.
The day of the month the media was recorded.
The month the media was recorded (1-based).
The year the media was recorded.
The day of the month the media was released.
The month the media was released (1-based).
The year the media was released.
The total number of discs in a multi-disc set.
The total number of tracks in the album or playlist.
The track number within the album or playlist (1-based).
Functions
Converts an AstroMediaMetadata
object to a platform-specific MediaMetadata
object suitable for the underlying media player.
Creates a builder object for a platform-specific MediaMetadata
compatible with the underlying media player, pre-populated with data from the current AstroMediaItem.metadata
.