File tree Expand file tree Collapse file tree 2 files changed +20
-4
lines changed
client-extjs/app/view/task Expand file tree Collapse file tree 2 files changed +20
-4
lines changed Original file line number Diff line number Diff line change @@ -110,7 +110,8 @@ Ext.define('FileBot.view.task.Task', {
110110 xtype : 'checkboxfield' ,
111111 name : 'strict' ,
112112 fieldLabel : 'Strict Mode' ,
113- boxLabel : 'enabled' ,
113+ boxLabel : 'use strict mode' ,
114+ inputValue : 'no' ,
114115 checked : false
115116 } , {
116117 xtype : 'combobox' ,
@@ -282,7 +283,6 @@ Ext.define('FileBot.view.task.Task', {
282283 fieldLabel : 'Exclude Link' ,
283284 labelStyle : 'white-space: nowrap; width: 120px;' ,
284285 boxLabel : 'skip superfluous links' ,
285- inputValue : 'no' ,
286286 checked : false
287287 } , {
288288 xtype : 'textfield' ,
@@ -439,6 +439,20 @@ Ext.define('FileBot.view.task.Task', {
439439 type : 'log-levels'
440440 } ,
441441 editable : false
442+ } , {
443+ xtype : 'checkboxfield' ,
444+ name : 'probe' ,
445+ fieldLabel : 'Media Parser' ,
446+ boxLabel : 'disable media parser' ,
447+ inputValue : 'no' ,
448+ checked : false
449+ } , {
450+ xtype : 'checkboxfield' ,
451+ name : 'index' ,
452+ fieldLabel : 'Media Index' ,
453+ boxLabel : 'disable media index' ,
454+ inputValue : 'no' ,
455+ checked : false
442456 } ]
443457 } ] ,
444458
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ function getCommandArguments(options) {
9898 args . push ( options . output )
9999 args . push ( '--action' )
100100 args . push ( options . action )
101- if ( options . strict != 'on ' ) {
101+ if ( options . strict != 'no ' ) {
102102 args . push ( '-non-strict' )
103103 }
104104 if ( options . order ) {
@@ -129,10 +129,10 @@ function getCommandArguments(options) {
129129 if ( options . label ) args . push ( 'ut_label=' + options . label )
130130 if ( options . music != 'no' ) args . push ( 'music=y' )
131131 if ( options . unsorted != 'no' ) args . push ( 'unsorted=y' )
132+ if ( options . excludeLink == 'on' ) args . push ( 'excludeLink=y' )
132133 if ( options . artwork == 'on' ) args . push ( 'artwork=y' )
133134 if ( options . subtitles ) args . push ( 'subtitles=' + options . subtitles )
134135 if ( options . clean == 'on' ) args . push ( 'clean=y' )
135- if ( options . excludeLink == 'on' ) args . push ( 'excludeLink=y' )
136136 if ( options . archives == 'skip' ) {
137137 args . push ( 'skipExtract=y' )
138138 } else if ( options . archives == 'extract-delete' ) {
@@ -156,6 +156,8 @@ function getCommandArguments(options) {
156156 if ( options . excludeList ) args . push ( 'excludeList=' + options . excludeList )
157157 args . push ( '--apply' )
158158 args . push ( 'refresh' )
159+ if ( options . probe == 'no' ) args . push ( '-no-probe' )
160+ if ( options . index == 'no' ) args . push ( '-no-index' )
159161 args . push ( '--log' )
160162 args . push ( options . log )
161163 } else if ( options . fn == 'license' && options . license ) {
You can’t perform that action at this time.
0 commit comments