File

struct File : Codable, Hashable, Sendable

File item (Global Kodi Type)

  • List.Item.File

    The label of the file

    Declaration

    Swift

    public var label: String
  • The name of the file

    Declaration

    Swift

    public var file: String
  • The type of file

    Declaration

    Swift

    public var fileType: FileType
  • Optional last modified date

    Declaration

    Swift

    public var lastModified: String?
  • Optional last played date

    Declaration

    Swift

    public var lastPlayed: String?
  • Optional play count

    Declaration

    Swift

    public var playCount: Int?
  • Optional Watched Eposides, for TV shows

    Declaration

    Swift

    public var watchedEpisodes: Int?
  • The type of media

    Declaration

    Swift

    public var type: Library.Media
  • id

    The optional Library ID

    Declaration

    Swift

    public var id: Library.ID?
  • The calculated title based on the label

    Declaration

    Swift

    public var title: String { get }