Genre

struct Genre : KodiItem, Sendable

Genre details

  • id

    Calculated variables

    The ID of the genre

    Declaration

    Swift

    public var id: String { get }
  • The Kodi ID of the genre

    Declaration

    Swift

    public var kodiID: Library.ID { get }
  • The type of media

    Declaration

    Swift

    public var media: Library.Media
  • 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 protocol

    Declaration

    Swift

    public var resume: Video.Resume
  • The date the genre is added

    Note

    Not in use but needed by protocol

    Declaration

    Swift

    public var dateAdded: String
  • The release year of the item

    Note

    Not in use but needed by protocol

    Declaration

    Swift

    public var year: Int
  • Library.Details.Genre

    Declaration

    Swift

    public var genreID: Library.ID
  • Undocumented

    Declaration

    Swift

    public var thumbnail: String
  • Declaration

    Swift

    public var title: String