summaryrefslogtreecommitdiffstats
path: root/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote
diff options
context:
space:
mode:
Diffstat (limited to 'module/remote/thriftbackend/thriftgen/pyload/Pyload-remote')
-rwxr-xr-xmodule/remote/thriftbackend/thriftgen/pyload/Pyload-remote7
1 files changed, 7 insertions, 0 deletions
diff --git a/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote b/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote
index 6f0c09182..55f9a1823 100755
--- a/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote
+++ b/module/remote/thriftbackend/thriftgen/pyload/Pyload-remote
@@ -91,6 +91,7 @@ if len(sys.argv) <= 1 or sys.argv[1] == '--help':
print ' InteractionTask getInteractionTask(i16 mode)'
print ' void setInteractionResult(InteractionID iid, ValueString result)'
print ' string generateDownloadLink(FileID fid, i16 timeout)'
+ print ' getNotifications()'
print ' getAddonHandler()'
print ' void callAddonHandler(PluginName plugin, string func, PackageID pid_or_fid)'
print ' getEvents(string uuid)'
@@ -565,6 +566,12 @@ elif cmd == 'generateDownloadLink':
sys.exit(1)
pp.pprint(client.generateDownloadLink(eval(args[0]),eval(args[1]),))
+elif cmd == 'getNotifications':
+ if len(args) != 0:
+ print 'getNotifications requires 0 args'
+ sys.exit(1)
+ pp.pprint(client.getNotifications())
+
elif cmd == 'getAddonHandler':
if len(args) != 0:
print 'getAddonHandler requires 0 args'