mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-11 10:09:59 +00:00
Use receiver application statusText instead of host:port when not idle
This commit is contained in:
@@ -1,6 +1,23 @@
|
||||
struct Receiver : Codable {
|
||||
struct Status: Codable {
|
||||
let application: Application
|
||||
let volume: Volume
|
||||
}
|
||||
|
||||
struct Application: Codable {
|
||||
let displayName: String
|
||||
let isIdleScreen: Bool
|
||||
let statusText: String
|
||||
}
|
||||
|
||||
struct Volume: Codable {
|
||||
let level: Double
|
||||
let muted: Bool
|
||||
}
|
||||
|
||||
let friendlyName: String
|
||||
let host: String
|
||||
let id: String
|
||||
let port: Int
|
||||
let status: Status
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user