HostItem
public struct HostItem : Codable, Identifiable, Hashable
Host information to make a remote connection (SwiftlyKodi Type)
-
The ID of the host
Declaration
Swift
public var id: String { get }
-
Name of the host
Declaration
Swift
public var name: String
-
IP of the host
Declaration
Swift
public var ip: String
-
Webserver port of the host
Declaration
Swift
public var port: Int
-
TCP of the host
Note
This is found byBonjour
on first editDeclaration
Swift
public var tcp: Int { get }
-
Username of the host
Declaration
Swift
public var username: String
-
Password of the host
Declaration
Swift
public var password: String
-
Kind of media to load
Declaration
Swift
public var media: Media
-
Kind of player to use
Declaration
Swift
public var player: Player
-
Status of the host
Declaration
Swift
public var status: Status
-
Bool if the host is online
Declaration
Swift
public var isOnline: Bool { get }
-
The optional
bonjour
resultDeclaration
Swift
public var bonjour: KodiConnector.BonjourHost? { get }
-
Bool if the host is selected
Declaration
Swift
public var isSelected: Bool { get }
-
The kind of media to load when connecting to the host
Note
Audio and Video both load Artists and Music VideosDeclaration
Swift
public enum Media : String, Codable
-
The status of the host
See moreDeclaration
Swift
public enum Status : String, Codable
-
The player the client want to use
Note
This will only influence Player status and Playlists updatesDeclaration
Swift
public enum Player : String, Codable