MediaItem

struct MediaItem : Codable, Hashable

Structure for a Komodio ‘Media Item’ (shared)

Note

Passed to KomodioPlayerView when playing a Kodi item
  • id

    The Kodi ID of the item

    Declaration

    Swift

    let id: Library.ID
  • The tile of the item

    Declaration

    Swift

    let title: String
  • The kind of Media

    Declaration

    Swift

    let media: Library.Media
  • When playing this item, resume or not

    Declaration

    Swift

    let resume: Bool