summaryrefslogtreecommitdiffstats
path: root/pyload/web/app/scripts/utils
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-07-21 21:42:43 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-07-21 21:42:43 +0200
commit6172180c95695cae84e71484b4c60af4166ebf89 (patch)
tree17f4d63cca0b8407bb556911929725532bcede26 /pyload/web/app/scripts/utils
parentReplace rule Hook -> Addon (diff)
downloadpyload-6172180c95695cae84e71484b4c60af4166ebf89.tar.xz
guess media types by name
Diffstat (limited to 'pyload/web/app/scripts/utils')
-rw-r--r--pyload/web/app/scripts/utils/apitypes.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyload/web/app/scripts/utils/apitypes.js b/pyload/web/app/scripts/utils/apitypes.js
index 342f61f68..23d87def0 100644
--- a/pyload/web/app/scripts/utils/apitypes.js
+++ b/pyload/web/app/scripts/utils/apitypes.js
@@ -8,7 +8,7 @@ define([], function() {
FileStatus: {'Remote': 2, 'Ok': 0, 'Missing': 1},
InputType: {'PluginList': 13, 'Multiple': 11, 'Int': 2, 'NA': 0, 'Time': 7, 'List': 12, 'Bool': 8, 'File': 3, 'Text': 1, 'Table': 14, 'Folder': 4, 'Password': 6, 'Click': 9, 'Select': 10, 'Textbox': 5},
Interaction: {'Captcha': 2, 'All': 0, 'Query': 4, 'Notification': 1},
- MediaType: {'All': 0, 'Audio': 2, 'Image': 4, 'Other': 1, 'Video': 8, 'Document': 16, 'Archive': 32},
+ MediaType: {'All': 0, 'Audio': 2, 'Image': 4, 'Executable': 64, 'Other': 1, 'Video': 8, 'Document': 16, 'Archive': 32},
PackageStatus: {'Paused': 1, 'Remote': 3, 'Folder': 2, 'Ok': 0},
Permission: {'All': 0, 'Interaction': 32, 'Modify': 4, 'Add': 1, 'Accounts': 16, 'Plugins': 64, 'Download': 8, 'Delete': 2},
Role: {'Admin': 0, 'User': 1},