From e84920e508ab9c382b005cf5c8a7c06555b8c04d Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Thu, 28 Sep 2017 21:34:58 -0600 Subject: [PATCH] Add web d/l manager to menu.hjson --- mods/menu.hjson | 58 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/mods/menu.hjson b/mods/menu.hjson index 08202ca6..0dffdcbb 100644 --- a/mods/menu.hjson +++ b/mods/menu.hjson @@ -2934,6 +2934,64 @@ } } + fileBaseWebDownloadManager: { + desc: Web D/L Manager + module: file_base_web_download_manager + config: { + art: { + queueManager: FWDLMGR + batchList: BATDLINF + } + emptyQueueMenu: fileBaseDownloadManagerEmptyQueue + } + form: { + 0: { + mci: { + VM1: { + argName: queueItem + } + HM2: { + focus: true + items: [ "get batch link", "quit", "help" ] + argName: navSelect + } + } + + submit: { + *: [ + { + value: { navSelect: 0 } + action: @method:getBatchLink + } + { + value: { navSelect: 1 } + action: @systemMethod:prevMenu + } + ] + } + + actionKeys: [ + { + keys: [ "b", "shift + b" ] + action: @method:getBatchLink + } + { + keys: [ "delete", "r", "shift + r" ] + action: @method:removeItem + } + { + keys: [ "c", "shift + c" ] + action: @method:clearQueue + } + { + keys: [ "escape", "q", "shift + q" ] + action: @systemMethod:prevMenu + } + ] + } + } + } + fileBaseDownloadManagerEmptyQueue: { desc: Empty Download Queue art: FEMPTYQ