Add ext prefix to config sections
This commit is contained in:
parent
2176ab3d98
commit
ec7c172c2e
@ -37,7 +37,7 @@ class Extension(ext.Extension):
|
||||
version = mopidy.__version__
|
||||
|
||||
def get_default_config(self):
|
||||
return '[local]'
|
||||
return '[ext.local]'
|
||||
|
||||
def validate_config(self, config):
|
||||
pass
|
||||
|
||||
@ -7,7 +7,7 @@ from mopidy.utils.formatting import indent
|
||||
|
||||
|
||||
config = """
|
||||
[spotify]
|
||||
[ext.spotify]
|
||||
|
||||
# If the Spotify extension should be enabled or not
|
||||
enabled = true
|
||||
|
||||
@ -34,7 +34,7 @@ class Extension(ext.Extension):
|
||||
version = mopidy.__version__
|
||||
|
||||
def get_default_config(self):
|
||||
return '[stream]'
|
||||
return '[ext.stream]'
|
||||
|
||||
def validate_config(self, config):
|
||||
pass
|
||||
|
||||
@ -495,7 +495,7 @@ class Extension(ext.Extension):
|
||||
version = mopidy.__version__
|
||||
|
||||
def get_default_config(self):
|
||||
return '[http]'
|
||||
return '[ext.http]'
|
||||
|
||||
def validate_config(self, config):
|
||||
pass
|
||||
|
||||
@ -40,7 +40,7 @@ class Extension(ext.Extension):
|
||||
version = mopidy.__version__
|
||||
|
||||
def get_default_config(self):
|
||||
return '[lastfm]'
|
||||
return '[ext.lastfm]'
|
||||
|
||||
def validate_config(self, config):
|
||||
pass
|
||||
|
||||
@ -61,7 +61,7 @@ class Extension(ext.Extension):
|
||||
version = mopidy.__version__
|
||||
|
||||
def get_default_config(self):
|
||||
return '[mpd]'
|
||||
return '[ext.mpd]'
|
||||
|
||||
def validate_config(self, config):
|
||||
pass
|
||||
|
||||
@ -68,7 +68,7 @@ class Extension(ext.Extension):
|
||||
version = mopidy.__version__
|
||||
|
||||
def get_default_config(self):
|
||||
return '[mpris]'
|
||||
return '[ext.mpris]'
|
||||
|
||||
def validate_config(self, config):
|
||||
pass
|
||||
|
||||
Loading…
Reference in New Issue
Block a user