Song
struct Song : KodiItem, Sendable
Song details
-
Calculated variables
The ID of the song
Declaration
Swift
public var id: String
-
The Kodi ID of the song
Declaration
Swift
public var kodiID: Library.ID
-
The sort title of the song
Declaration
Swift
public var sortByTitle: String
-
The subtitle of the song (‘displayArtist’ property)
Declaration
Swift
public var subtitle: String
-
The details of the song (‘album’ property)
Declaration
Swift
public var details: String
-
The description of the song (‘comment’ property)
Declaration
Swift
public var description: String
-
The search string
Declaration
Swift
public var search: String
-
The poster of the song
Declaration
Swift
public var poster: String
-
Not in use but needed by protocol
The resume position of the song
Declaration
Swift
public var resume: Video.Resume
-
Audio.Details.Song
Declaration
Swift
public var album: String
-
Undocumented
Declaration
Swift
public var albumArtist: [String]
-
Undocumented
Declaration
Swift
public var albumArtistID: [Int]
-
Undocumented
Declaration
Swift
public var albumID: Library.ID
-
Undocumented
Declaration
Swift
public var bitrate: Int
-
Undocumented
Declaration
Swift
public var bpm: Int
-
Undocumented
Declaration
Swift
public var channels: Int
-
Undocumented
Declaration
Swift
public var comment: String
-
Undocumented
Declaration
Swift
public var contributors: [Audio.Contributors]
-
Undocumented
Declaration
Swift
public var disc: Int
-
Undocumented
Declaration
Swift
public var discTitle: String
-
Undocumented
Declaration
Swift
public var displayComposer: String
-
Undocumented
Declaration
Swift
public var displayConductor: String
-
Undocumented
Declaration
Swift
public var displayLyricist: String
-
Undocumented
Declaration
Swift
public var displayOrchestra: String
-
The duration of the song
Declaration
Swift
public var duration: Int
-
The location of the media file
Declaration
Swift
public var file: String
-
Undocumented
Declaration
Swift
public var genreID: [Int]
-
Declaration
Swift
public var lastPlayed: String
-
Undocumented
Declaration
Swift
public var lyrics: String
-
Undocumented
Declaration
Swift
public var mood: [String]
-
Undocumented
Declaration
Swift
public var musicBrainzArtistID: [String]
-
Undocumented
Declaration
Swift
public var musicBrainzTrackID: String
-
Declaration
Swift
public var playcount: Int
-
Undocumented
Declaration
Swift
public var samplerate: Int
-
Undocumented
Declaration
Swift
public var songID: Library.ID
-
Undocumented
Declaration
Swift
public var sourceID: [Int]
-
Undocumented
Declaration
Swift
public var track: Int
-
Audio.Details.Media
Declaration
Swift
public var artist: [String]
-
Undocumented
Declaration
Swift
public var artistID: [Int]
-
Undocumented
Declaration
Swift
public var displayArtist: String
-
Undocumented
Declaration
Swift
public var musicBrainzAlbumArtistID: [String]
-
Undocumented
Declaration
Swift
public var originalDate: String
-
Declaration
Swift
public var rating: Double
-
Undocumented
Declaration
Swift
public var releaseDate: String
-
Undocumented
Declaration
Swift
public var sortArtist: String
-
The title of the song
Declaration
Swift
public var title: String
-
Declaration
Swift
public var userRating: Int
-
Undocumented
Declaration
Swift
public var votes: Int
-
Declaration
Swift
public var year: Int
-
Audio.Details.Base
Declaration
Swift
public var art: Media.Artwork
-
Declaration
Swift
public var dateAdded: String
-
Undocumented
Declaration
Swift
public var genre: [String]
-
Media.Details.Base
Declaration
Swift
public var fanart: String
-
Undocumented
Declaration
Swift
public var thumbnail: String
-
Declaration
Swift
public init(from decoder: Decoder) throws
-
Play an
Audio/Details/Song
itemDeclaration
Swift
public func play()