load defaults for more config sections
This commit is contained in:
parent
ce03870fe6
commit
407d591964
1 changed files with 4 additions and 1 deletions
|
@ -64,7 +64,10 @@ def load_config():
|
||||||
|
|
||||||
|
|
||||||
#add missing defaults
|
#add missing defaults
|
||||||
for section in ('capabilities', 'user.ui', 'user.ui.showFolder'):
|
for section in (
|
||||||
|
'capabilities', 'cantPlay', 'itemName', 'media',
|
||||||
|
'site', 'tv', 'user.ui', 'user.ui.showFolder'
|
||||||
|
):
|
||||||
parts = map(lambda p: p.replace('\0', '\\.'), section.replace('\\.', '\0').split('.'))
|
parts = map(lambda p: p.replace('\0', '\\.'), section.replace('\\.', '\0').split('.'))
|
||||||
#print 'checking', section
|
#print 'checking', section
|
||||||
c = config
|
c = config
|
||||||
|
|
Loading…
Reference in a new issue