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 byBonjouron 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
bonjourresultDeclaration
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
See moreNote
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
See moreNote
This will only influence Player status and Playlists updatesDeclaration
Swift
public enum Player : String, Codable
View on GitHub
HostItem Structure Reference