Genre
struct Genre : KodiItem, Sendable
Genre details
-
Calculated variables
The ID of the genre
Declaration
Swift
public var id: String { get } -
The subtitle of the genre
Declaration
Swift
public var subtitle: String -
The details of the genre
Declaration
Swift
public var details: String -
Declaration
Swift
public var duration: Int -
Declaration
Swift
public var description: String -
The search string
Declaration
Swift
public var search: String { get } -
Protocol requirements Calculated sort title
Declaration
Swift
public var sortByTitle: String { get } -
Declaration
Swift
public var playcount: Int -
Declaration
Swift
public var lastPlayed: String -
Declaration
Swift
public var rating: Double -
Declaration
Swift
public var userRating: Int -
The poster of the genre
Declaration
Swift
public var poster: String -
Declaration
Swift
public var fanart: String -
The location of the media file
Declaration
Swift
public var file: String -
The resume position of the genre
Note
Not in use but needed by protocolDeclaration
Swift
public var resume: Video.Resume -
The date the genre is added
Note
Not in use but needed by protocolDeclaration
Swift
public var dateAdded: String -
The release year of the item
Note
Not in use but needed by protocolDeclaration
Swift
public var year: Int -
Undocumented
Declaration
Swift
public var thumbnail: String -
Declaration
Swift
public var title: String
View on GitHub
Genre Structure Reference