From 3a6386c2d26918d93814f7fdc272b5f792ebb37b Mon Sep 17 00:00:00 2001 From: hummypkg Date: Sun, 18 Oct 2015 10:50:02 +0000 Subject: [PATCH] comment fixes, ignore leading spaces in harness --- CONTROL/control | 2 +- webif/plugin/sweeper/harness.jim | 2 +- webif/plugin/sweeper/schema.js | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CONTROL/control b/CONTROL/control index e91c075..291351d 100644 --- a/CONTROL/control +++ b/CONTROL/control @@ -1,7 +1,7 @@ Package: sweeper Priority: optional Section: misc -Version: 2.0.13 +Version: 2.0.13-1 Architecture: mipsel Maintainer: af123@hummypkg.org.uk Depends: webif(>=1.2.5) diff --git a/webif/plugin/sweeper/harness.jim b/webif/plugin/sweeper/harness.jim index 11357af..72bba39 100755 --- a/webif/plugin/sweeper/harness.jim +++ b/webif/plugin/sweeper/harness.jim @@ -28,7 +28,7 @@ proc register {args} {} proc scan_run {dir flag callback} { global dustbin - if {[string match {\[*} [file tail $dir]]} return + if {[string match {\[*} [string trimleft [file tail $dir]]]} return if {[file exists "$dir/.$flag"]} { $callback $dir } diff --git a/webif/plugin/sweeper/schema.js b/webif/plugin/sweeper/schema.js index 7bc2887..6e89650 100644 --- a/webif/plugin/sweeper/schema.js +++ b/webif/plugin/sweeper/schema.js @@ -304,13 +304,13 @@ var schema = { lock: { 'class': 'all', argtype: 'none', - desc: 'Lock recordings', + desc: 'Lock recording', continues: true }, unlock: { 'class': 'all', argtype: 'none', - desc: 'Unlock recordings', + desc: 'Unlock recording', continues: true }, flag: { @@ -328,7 +328,7 @@ var schema = { 'delete': { 'class': 'all', argtype: 'none', - desc: 'Delete recordings', + desc: 'Delete recording', continues: false } }