Settings
Movie List Directory selection
This commit is contained in:
1 parent
272e0b8527
commit
8682be33fb
27 files changed
+1770
-233
No files matched your search
@@ -1,12 +1,59 @@
|
||||
from uuid import uuid4
|
||||
|
||||
config = ('global', {
|
||||
'debug': False,
|
||||
'host': '0.0.0.0',
|
||||
'port': 5000,
|
||||
'username': '',
|
||||
'password': '',
|
||||
'launch_browser': True,
|
||||
'url_base': '',
|
||||
'api_key': uuid4().hex,
|
||||
})
|
||||
config = [{
|
||||
'name': 'global',
|
||||
'tab': 'general',
|
||||
'options': {
|
||||
'debug': {
|
||||
'advanced': True,
|
||||
'default': False,
|
||||
'type': 'bool',
|
||||
'label': 'Debug',
|
||||
'description': 'Enable debugging.',
|
||||
},
|
||||
'host': {
|
||||
'advanced': True,
|
||||
'default': '0.0.0.0',
|
||||
'type': 'string',
|
||||
'label': 'Host',
|
||||
'description': 'Host that I should listen to 0.0.0.0 listens to everything.',
|
||||
},
|
||||
'port': {
|
||||
'default': 5000,
|
||||
'type': 'int',
|
||||
'label': 'Port',
|
||||
'description': 'The port I should listen to.',
|
||||
},
|
||||
'username': {
|
||||
'default': '',
|
||||
'type': 'string',
|
||||
'label': 'Username',
|
||||
},
|
||||
'password': {
|
||||
'default': '',
|
||||
'password': True,
|
||||
'type': 'string',
|
||||
'label': 'Password',
|
||||
},
|
||||
'launch_browser': {
|
||||
'default': True,
|
||||
'type': 'bool',
|
||||
'label': 'Launch Browser',
|
||||
'description': 'Launch the browser when I start.',
|
||||
},
|
||||
'url_base': {
|
||||
'advanced': True,
|
||||
'default': '',
|
||||
'type': 'string',
|
||||
'label': 'Url Base',
|
||||
'description': 'When using mod_proxy use this to prepend the url with this.',
|
||||
},
|
||||
'api_key': {
|
||||
'default': uuid4().hex,
|
||||
'type': 'string',
|
||||
'readonly': True,
|
||||
'label': 'Api Key',
|
||||
'description': 'This is top-secret! Don\'t share this!',
|
||||
}
|
||||
}
|
||||
}]
|
||||
Reference in new issue
Block a user