Metadata
struct Metadata: Equatable, Codable
Structure for metadata about the song
-
The title
Declaration
Swift
var title: String = "No title" -
The artist
Declaration
Swift
var artist: String = "Unknown Artist" -
The optional subtitle
Declaration
Swift
var subtitle: String? -
The optional capo
Declaration
Swift
var capo: String? -
The optional key
Declaration
Swift
var key: ChordDefinition? -
The optional tempo
Declaration
Swift
var tempo: String? -
The optional time
Declaration
Swift
var time: String? -
The optional year
Declaration
Swift
var year: String? -
The optional album
Declaration
Swift
var album: String? -
The optional tuning
Declaration
Swift
var tuning: String? -
The optional URL to the audio file
Declaration
Swift
var audioURL: URL? -
The optional URL to the video file
Declaration
Swift
var videoURL: URL? -
The optional tag(s)
Declaration
Swift
var tags: [String] = [] -
The optional transpose
Declaration
Swift
var transpose: Int = 0 -
The optional file URL
Declaration
Swift
var fileURL: URL?
-
The default name for the export
Declaration
Swift
var exportName: String
View on GitHub