KodioSettings
struct KodioSettings: Equatable, Codable
Structure with all the Kodio Settings
-
Sidebar
Show Music Match
Declaration
Swift
var showMusicMatch = true
-
Show Music Videos
Declaration
Swift
var showMusicVideos = true
-
Show Radio Stations
Declaration
Swift
var showRadioStations = false
-
Minimum user rating to show in Favourites
Declaration
Swift
var userRating: Int = 8
-
Player
Toggle Player Settings
Declaration
Swift
var togglePlayerSettings = false
-
Crossfade playlists
Declaration
Swift
var crossfadePlaylists = false
-
Crossfade compilation albums
Declaration
Swift
var crossfadeCompilations = false
-
Crossfade Party Mode
Declaration
Swift
var crossfadePartyMode = false
-
Crossfade duration (when enabled)
Declaration
Swift
var crossfade: Int = 3
-
Load the Kodio settings
Declaration
Swift
static func load() -> KodioSettings
Return Value
The
KodioSettings
-
Save the Kodio settings to the cache
Declaration
Swift
static func save(settings: KodioSettings)
Parameters
hosts
The array of hosts
-
The modes of ReplayGain; track based or album based
See moreDeclaration
Swift
enum ReplayGain: Int
-
The media for optional Crossfade
See moreDeclaration
Swift
enum Crossfade