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 showsDeclaration
Swift
public var watchedEpisodes: Int? -
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 }
View on GitHub
File Structure Reference