summaryrefslogtreecommitdiffstats
path: root/module/remote
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-07-14 19:42:27 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-07-14 19:42:27 +0200
commit4612984d4bd929f814a56118620faa02cbf74577 (patch)
treee3c2a158e5dfcee061f18e6edf2975c184f8d941 /module/remote
parentnew DLC plugins, adapted irc interface - needs testing (diff)
downloadpyload-4612984d4bd929f814a56118620faa02cbf74577.tar.xz
fixed config on webif + show description
Diffstat (limited to 'module/remote')
-rw-r--r--module/remote/thriftbackend/pyload.thrift3
-rw-r--r--module/remote/thriftbackend/thriftgen/pyload/ttypes.py6
2 files changed, 7 insertions, 2 deletions
diff --git a/module/remote/thriftbackend/pyload.thrift b/module/remote/thriftbackend/pyload.thrift
index 32fe69d13..eff697d05 100644
--- a/module/remote/thriftbackend/pyload.thrift
+++ b/module/remote/thriftbackend/pyload.thrift
@@ -77,7 +77,8 @@ struct ConfigItem {
struct ConfigSection {
1: string name,
2: string description,
- 3: list<ConfigItem> items
+ 3: list<ConfigItem> items,
+ 4: optional string outline
}
struct FileData {
diff --git a/module/remote/thriftbackend/thriftgen/pyload/ttypes.py b/module/remote/thriftbackend/thriftgen/pyload/ttypes.py
index da8a2477e..fcff55ed8 100644
--- a/module/remote/thriftbackend/thriftgen/pyload/ttypes.py
+++ b/module/remote/thriftbackend/thriftgen/pyload/ttypes.py
@@ -252,12 +252,14 @@ class ConfigSection(TBase):
- name
- description
- items
+ - outline
"""
__slots__ = [
'name',
'description',
'items',
+ 'outline',
]
thrift_spec = (
@@ -265,12 +267,14 @@ class ConfigSection(TBase):
(1, TType.STRING, 'name', None, None, ), # 1
(2, TType.STRING, 'description', None, None, ), # 2
(3, TType.LIST, 'items', (TType.STRUCT,(ConfigItem, ConfigItem.thrift_spec)), None, ), # 3
+ (4, TType.STRING, 'outline', None, None, ), # 4
)
- def __init__(self, name=None, description=None, items=None,):
+ def __init__(self, name=None, description=None, items=None, outline=None,):
self.name = name
self.description = description
self.items = items
+ self.outline = outline
class FileData(TBase):