Add ext prefix to config sections

This commit is contained in:
Stein Magnus Jodal 2013-04-01 16:14:34 +02:00
parent 2176ab3d98
commit ec7c172c2e
7 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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