def validate_config(self, config): if not config.getboolean('soundcloud', 'enabled'): return if not config.get('soundcloud', 'auth_token'): raise ExtensionError("In order to use SoundCloud extension you\ must provide auth_token, for more information referrer to \ https://github.com/mopidy/mopidy-soundcloud/")
def validate_config(self, config): # no_coverage if not config.getboolean('soundcloud', 'enabled'): return if not config.get('soundcloud', 'auth_token'): raise ExtensionError( 'In order to use SoundCloud extension you must provide an ' 'auth token. For more information refer to ' 'https://github.com/mopidy/mopidy-soundcloud/')
def validate_config(self, config): # no_coverage if not config.getboolean('plex', 'enabled'): return if not config.get('plex', 'server'): raise exceptions.ExtensionError( 'In order to use the Plex Music extension you must provide a ' 'server address. For more information refer to ' 'https://github.com/havardgulldahl/mopidy-plex/')
def validate_config(self, config): # no_coverage if not config.getboolean("soundcloud", "enabled"): return if not config.get("soundcloud", "auth_token"): raise ExtensionError( "In order to use SoundCloud extension you must provide an " "auth token. For more information refer to " "https://github.com/mopidy/mopidy-soundcloud/" )
def validate_config(self, config): # no_coverage if not config.getboolean("azure", "enabled"): return if not config.get("azure", "account_key"): raise ExtensionError("Azure account_key missing") if not config.get("azure", "account_name"): raise ExtensionError("Azure account_name missing") if not config.get("azure", "container"): raise ExtensionError("Azure container missing")
def validate_config(self, config): if not config.getboolean("qobuz", "enabled"): return
def validate_config(self, config): if not config.getboolean('vkontakte', 'enabled'): return
def validate_config(self, config): # no_coverage if not config.getboolean('mixcloud', 'enabled'): return