KodioSettings

struct KodioSettings : Equatable, Codable

Structure with all the Kodio Settings

  • Show Music Match

    Declaration

    Swift

    var showMusicMatch: Bool
  • Show Music Videos

    Declaration

    Swift

    var showMusicVideos: Bool
  • Show Radio Stations

    Declaration

    Swift

    var showRadioStations: Bool
  • Minimum user rating to show in Favourites

    Declaration

    Swift

    var userRating: Int
  • Player

    Toggle Player Settings

    Declaration

    Swift

    var togglePlayerSettings: Bool
  • Crossfade playlists

    Declaration

    Swift

    var crossfadePlaylists: Bool
  • Crossfade compilation albums

    Declaration

    Swift

    var crossfadeCompilations: Bool
  • Crossfade Party Mode

    Declaration

    Swift

    var crossfadePartyMode: Bool
  • Crossfade duration (when enabled)

    Declaration

    Swift

    var crossfade: Int
  • 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

  • Set the Player Settings if ‘togglePlayerSettings’ is true

    Declaration

    Swift

    static func setPlayerSettings(media: Crossfade)

    Parameters

    media

    The kind of media for optional Crossfade

  • The modes of ReplayGain; track based or album based

    See more

    Declaration

    Swift

    enum ReplayGain : Int
  • The media for optional Crossfade

    See more

    Declaration

    Swift

    enum Crossfade