pub struct Audio {Show 16 fields
pub album: String,
pub album_artist: String,
pub artist: String,
pub bitrate: i64,
pub composers: String,
pub copyright: String,
pub disc: i16,
pub disc_count: i16,
pub duration: i64,
pub genre: String,
pub has_drm: bool,
pub is_variable_bitrate: bool,
pub title: String,
pub track: i32,
pub track_count: i32,
pub year: i32,
}Expand description
Struct that groups audio related properties on an item.
Fields§
§album: StringThe title of the album for this audio file.
album_artist: StringThe artist named on the album for the audio file.
artist: StringThe performing artist for the audio file.
bitrate: i64Bitrate expressed in kbps.
composers: StringThe name of the composer of the audio file.
copyright: StringCopyright information for the audio file.
disc: i16The number of the disc this audio file came from.
disc_count: i16The total number of discs in this album.
duration: i64Duration of the audio file, expressed in milliseconds
genre: StringThe genre of this audio file.
has_drm: boolIndicates if the file is protected with digital rights management.
is_variable_bitrate: boolIndicates if the file is encoded with a variable bitrate.
title: StringThe title of the audio file.
track: i32The number of the track on the original disc for this audio file.
track_count: i32The total number of tracks on the original disc for this audio file.
year: i32The year the audio file was recorded.