Trev
The Dumb One
I have another problem with a 'runaway' sweeper rule I think.
The various dumps appear a bit disjointed because the log puts the latest at the top, but I have reversed the 'running order in chunks.
Here is my sweeper code. I have #ed out the "The" rules as it seemed to be them that was the prob. I have indicated between the code boxes where I made that amendment. Hope someone can make sense of it all.
I left the box on all night and there are no log entries after 1281.
Sweeper rules:
Auto.log:In which it seems to be screwing up the Titanic Title
The actual Titanic name name now from CF Media list: _media_My Video_ media My Video media My Video media My Video media My Video media My Video media My Video Titanic The New Evidence 01-01-17 1959 ts ts ts ts ts ts_ts.ts (2.61 GiB). So I renamedf it to "Titanic The New Evidence 01-01-17 1959.ts" and it has remained as that. (See below)
At this point I deleted The Apprentice_ your fired" and "#" out the sweeper that was handling the "The", as it seems that it was that that was causing the problem as in my sweeper dump above. (See below for the problem)
Repeating those 12 lines every 20 mins. (see below)
It seems like, from line 1, that the "The" rule is working OK, but see later satrting line 11 where it appears not to be working.
The various dumps appear a bit disjointed because the log puts the latest at the top, but I have reversed the 'running order in chunks.
Here is my sweeper code. I have #ed out the "The" rules as it seemed to be them that was the prob. I have indicated between the code boxes where I made that amendment. Hope someone can make sense of it all.
I left the box on all night and there are no log entries after 1281.
Sweeper rules:
Code:
# Remove Title New: prefix
recurse 1 title New: action {settitle {%orig%replace,New: ,,}}
# Remove Filename New: prefix
recurse 1 filename New_ action {renamefile {%orig%replace,New_ ,,}}
# File Datestamp DD MMM YY
recurse 1 filename *20[0-9][0-9][0-9][0-9][0-9][0-9]_* action {renamefile {%title %2digitdate-%2digitmonth-%2digityear %hhmm}}
# Remove "_" in Filename
recurse 1 filename _ action {renamefile {%filename%replace,_, ,}}
# Remove Title "The " prefix
#recurse 1 title {The *} action {settitle {%orig%replace,The ,,}}
# Remove "The " in Filename
#recurse 1 filename {The *} action {renamefile {%orig%replace,The ,,}}
Auto.log:In which it seems to be screwing up the Titanic Title
Code:
1281 02/01/2017 00:38:23 - Renaming /media/My Video/The Real Marigold on Tour/The Real Marigold on Tour_20170101_2332.ts to The Real Marigold on Tour 01-01-17 2332
1280 02/01/2017 00:37:40 - autotrigger[23780]: Done...
1279 02/01/2017 00:37:40 - autotrigger[23780]: Processed in: 0.16s
1278 02/01/2017 00:37:40 - autotrigger[23780]: Recording was not padded, cannot process.
1277 02/01/2017 00:37:40 - autotrigger[23780]: ARBOOKMARK: /media/My Video/The Real Marigold on Tour/The Real Marigold on Tour_20170101_2332
1276 02/01/2017 00:37:40 - autotrigger[23780]: Done... 2.66 GiB in 282.609 seconds - 9.63 MiB/s
1275 02/01/2017 00:37:39 - autotrigger[23780]: Removing/binning old copy.
1274 02/01/2017 00:32:58 - autotrigger[23780]: DLNA: http://192.168.0.200:9000/web/media/3798.TS
1273 02/01/2017 00:32:58 - autotrigger[23780]: DECRYPT: /media/My Video/The Real Marigold on Tour/The Real Marigold on Tour_20170101_2332
Code:
1272 01/01/2017 23:09:12 - Renaming /media/My Video/_media_My Video_ media My Video media My Video media My Video media My Video media My Video media My Video Titanic The New Evidence 01-01-17 1959 ts ts ts ts ts ts_ts.ts to _media_My Video_ media My Video media My Video media My Video media My Video media My Video media My Video media My Video Titanic The New Evidence 01-01-17 1959 ts ts ts ts ts ts ts_ts
1271 01/01/2017 22:48:08 - Renaming /media/My Video/_media_My Video_ media My Video media My Video media My Video media My Video media My Video Titanic The New Evidence 01-01-17 1959 ts ts ts ts ts_ts.ts to _media_My Video_ media My Video media My Video media My Video media My Video media My Video media My Video Titanic The New Evidence 01-01-17 1959 ts ts ts ts ts ts_ts
1270 01/01/2017 22:27:05 - Renaming /media/My Video/_media_My Video_ media My Video media My Video media My Video media My Video Titanic The New Evidence 01-01-17 1959 ts ts ts ts_ts.ts to _media_My Video_ media My Video media My Video media My Video media My Video media My Video Titanic The New Evidence 01-01-17 1959 ts ts ts ts ts_ts
1269 01/01/2017 22:06:09 - Renaming /media/My Video/_media_My Video_ media My Video media My Video media My Video Titanic The New Evidence 01-01-17 1959 ts ts ts_ts.ts to _media_My Video_ media My Video media My Video media My Video media My Video Titanic The New Evidence 01-01-17 1959 ts ts ts ts_ts
1268 01/01/2017 21:45:06 - Renaming /media/My Video/_media_My Video_ media My Video media My Video Titanic The New Evidence 01-01-17 1959 ts ts_ts.ts to _media_My Video_ media My Video media My Video media My Video Titanic The New Evidence 01-01-17 1959 ts ts ts_ts
1267 01/01/2017 21:24:50 - Renaming /media/My Video/Dragons' Den/Dragons' Den_20170101_2001.ts to Dragons' Den 01-01-17 2001
1266 01/01/2017 21:24:34 - Renaming /media/My Video/_media_My Video_ media My Video Titanic The New Evidence 01-01-17 1959 ts_ts.ts to _media_My Video_ media My Video media My Video Titanic The New Evidence 01-01-17 1959 ts ts_ts
1265 01/01/2017 21:24:28 - Done...
1264 01/01/2017 21:24:28 - Processed in: 0.31s
1263 01/01/2017 21:24:28 - Recording was not padded, cannot process.
1262 01/01/2017 21:24:28 - ARBOOKMARK: /media/My Video/Dragons' Den/Dragons' Den_20170101_2001
1261 01/01/2017 21:24:28 - Done... 2.03 GiB in 201.744 seconds - 10.29 MiB/s
1260 01/01/2017 21:24:27 - Removing/binning old copy.
1259 01/01/2017 21:21:06 - DLNA: http://192.168.0.200:9000/web/media/3798.TS
1258 01/01/2017 21:21:06 - DECRYPT: /media/My Video/Dragons' Den/Dragons' Den_20170101_2001
1257 01/01/2017 21:00:58 - autotrigger[9882]: Renaming /media/My Video/_media_My Video_Titanic The New Evidence 01-01-17 1959_ts.ts to _media_My Video_ media My Video Titanic The New Evidence 01-01-17 1959 ts_ts
1256 01/01/2017 21:00:23 - Renaming /media/My Video/Titanic_ The New Evidence 01-01-17 1959.ts to _media_My Video_Titanic The New Evidence 01-01-17 1959_ts
1255 01/01/2017 21:00:22 - Renaming /media/My Video/Titanic_ The New Evidence_20170101_1959.ts to Titanic_ The New Evidence 01-01-17 1959
At this point I deleted The Apprentice_ your fired" and "#" out the sweeper that was handling the "The", as it seems that it was that that was causing the problem as in my sweeper dump above. (See below for the problem)
Code:
1254 01/01/2017 18:54:20 - @ /mod/webif/lib/bin/auto:::sweeper::scan:243
1253 01/01/2017 18:54:20 - @ /mod/webif/plugin/sweeper/auto.hook:::sweeper::apply:1194
1252 01/01/2017 18:54:20 - @ /mod/webif/plugin/sweeper/auto.hook:::sweeper::apply_rules:1171
1251 01/01/2017 18:54:20 - @ /mod/webif/plugin/sweeper/auto.hook:::sweeper::apply_rules:1139
1250 01/01/2017 18:54:20 - @ /mod/webif/plugin/sweeper/auto.hook:::sweeper::runrule:1122
1249 01/01/2017 18:54:20 - @ /mod/webif/plugin/sweeper/auto.hook:::sweeper::clause:998
1248 01/01/2017 18:54:20 - @ /mod/webif/plugin/sweeper/auto.hook:::sweeper::action:978
1247 01/01/2017 18:54:20 - @ /mod/webif/plugin/sweeper/auto.hook:::sweeper::action_renamefile:929
1246 01/01/2017 18:54:20 - @ /mod/webif/plugin/sweeper/auto.hook:ts:776
1245 01/01/2017 18:54:20 - @ /mod/webif/lib/ts.class:file:379
1244 01/01/2017 18:54:20 - Plugin error: mv: can't stat '/media/My Video/The Apprentice_ You're Fired/_media_My Video_The Apprentice You're Fired_ media My Video The Apprentice You're Fired media My Video The Apprentice You're Fired media My Video The Apprentice You're Fired media My Video The Apprentice You're Fired The Apprentice You're Hired 23-12-16 0231 ts ts ts ts_ts.ts': File name too long
1243 01/01/2017 18:54:20 - Renaming /media/My Video/The Apprentice_ You're Fired/_media_My Video_The Apprentice You're Fired_ media My Video The Apprentice You're Fired media My Video The Apprentice You're Fired media My Video The Apprentice You're Fired The Apprentice You're Hired 23-12-16 0231 ts ts ts_ts.ts to _media_My Video_The Apprentice You're Fired_ media My Video The Apprentice You're Fired media My Video The Apprentice You're Fired media My Video The Apprentice You're Fired media My Video The Apprentice You're Fired The Apprentice You're Hired 23-12-16 0231 ts ts ts ts_ts
Repeating those 12 lines every 20 mins. (see below)
Code:
66 24/12/2016 20:25:16 - @ /mod/webif/lib/bin/auto:::sweeper::scan:123
65 24/12/2016 20:25:16 - @ /mod/webif/plugin/sweeper/auto.hook:::sweeper::apply:1166
64 24/12/2016 20:25:16 - @ /mod/webif/plugin/sweeper/auto.hook:::sweeper::apply_rules:1143
63 24/12/2016 20:25:16 - @ /mod/webif/plugin/sweeper/auto.hook:::sweeper::apply_rules:1111
62 24/12/2016 20:25:16 - @ /mod/webif/plugin/sweeper/auto.hook:::sweeper::runrule:1094
61 24/12/2016 20:25:16 - @ /mod/webif/plugin/sweeper/auto.hook:::sweeper::clause:970
60 24/12/2016 20:25:16 - @ /mod/webif/plugin/sweeper/auto.hook:::sweeper::action:950
59 24/12/2016 20:25:16 - @ /mod/webif/plugin/sweeper/auto.hook:::sweeper::action_renamefile:901
58 24/12/2016 20:25:16 - @ /mod/webif/plugin/sweeper/auto.hook:ts:768
57 24/12/2016 20:25:16 - @ /mod/webif/lib/ts.class:file:379
56 24/12/2016 20:25:16 - Plugin error: mv: can't stat '/media/My Video/The Apprentice_ You're Fired/_media_My Video_The Apprentice You're Fired_ media My Video The Apprentice You're Fired media My Video The Apprentice You're Fired media My Video The Apprentice You're Fired media My Video The Apprentice You're Fired The Apprentice You're Hired 23-12-16 0231 ts ts ts ts_ts.ts': File name too long
55 24/12/2016 20:25:16 - Renaming /media/My Video/The Apprentice_ You're Fired/_media_My Video_The Apprentice You're Fired_ media My Video The Apprentice You're Fired media My Video The Apprentice You're Fired media My Video The Apprentice You're Fired The Apprentice You're Hired 23-12-16 0231 ts ts ts_ts.ts to _media_My Video_The Apprentice You're Fired_ media My Video The Apprentice You're Fired media My Video The Apprentice You're Fired media My Video The Apprentice You're Fired media My Video The Apprentice You're Fired The Apprentice You're Hired 23-12-16 0231 ts ts ts ts_ts
54 24/12/2016 20:05:19 - @ /mod/webif/lib/bin/auto:::sweeper::scan:123
53 24/12/2016 20:05:19 - @ /mod/webif/plugin/sweeper/auto.hook:::sweeper::apply:1166
52 24/12/2016 20:05:19 - @ /mod/webif/plugin/sweeper/auto.hook:::sweeper::apply_rules:1143
51 24/12/2016 20:05:19 - @ /mod/webif/plugin/sweeper/auto.hook:::sweeper::apply_rules:1111
50 24/12/2016 20:05:19 - @ /mod/webif/plugin/sweeper/auto.hook:::sweeper::runrule:1094
49 24/12/2016 20:05:19 - @ /mod/webif/plugin/sweeper/auto.hook:::sweeper::clause:970
48 24/12/2016 20:05:19 - @ /mod/webif/plugin/sweeper/auto.hook:::sweeper::action:950
47 24/12/2016 20:05:19 - @ /mod/webif/plugin/sweeper/auto.hook:::sweeper::action_renamefile:901
46 24/12/2016 20:05:19 - @ /mod/webif/plugin/sweeper/auto.hook:ts:768
45 24/12/2016 20:05:19 - @ /mod/webif/lib/ts.class:file:379
44 24/12/2016 20:05:19 - Plugin error: mv: can't stat '/media/My Video/The Apprentice_ You're Fired/_media_My Video_The Apprentice You're Fired_ media My Video The Apprentice You're Fired media My Video The Apprentice You're Fired media My Video The Apprentice You're Fired media My Video The Apprentice You're Fired The Apprentice You're Hired 23-12-16 0231 ts ts ts ts_ts.ts': File name too long
43 24/12/2016 20:05:19 - Renaming /media/My Video/The Apprentice_ You're Fired/_media_My Video_The Apprentice You're Fired_ media My Video The Apprentice You're Fired media My Video The Apprentice You're Fired media My Video The Apprentice You're Fired The Apprentice You're Hired 23-12-16 0231 ts ts ts_ts.ts to _media_My Video_The Apprentice You're Fired_ media My Video The Apprentice You're Fired media My Video The Apprentice You're Fired media My Video The Apprentice You're Fired media My Video The Apprentice You're Fired The Apprentice You're Hired 23-12-16 0231 ts ts ts ts_ts
42 24/12/2016 20:05:07 - Renaming /media/My Video/We're Going on a Bear Hunt_20161224_1929.ts to We're Going on a Bear Hunt 24-12-16 1929
41 24/12/2016 20:00:22 - autotrigger[3179]: Renaming /media/My Video/The Apprentice_ You're Fired/_media_My Video_The Apprentice You're Fired_ media My Video The Apprentice You're Fired media My Video The Apprentice You're Fired The Apprentice You're Hired 23-12-16 0231 ts ts_ts.ts to _media_My Video_The Apprentice You're Fired_ media My Video The Apprentice You're Fired media My Video The Apprentice You're Fired media My Video The Apprentice You're Fired The Apprentice You're Hired 23-12-16 0231 ts ts ts_ts
40 24/12/2016 19:45:29 - Renaming /media/My Video/The Apprentice_ You're Fired/_media_My Video_The Apprentice You're Fired_ media My Video The Apprentice You're Fired The Apprentice You're Hired 23-12-16 0231 ts_ts.ts to _media_My Video_The Apprentice You're Fired_ media My Video The Apprentice You're Fired media My Video The Apprentice You're Fired The Apprentice You're Hired 23-12-16 0231 ts ts_ts
39 24/12/2016 04:25:21 - Renaming /media/My Video/The Apprentice_ You're Fired/_media_My Video_The Apprentice You're Fired_The Apprentice You're Hired 23-12-16 0231_ts.ts to _media_My Video_The Apprentice You're Fired_ media My Video The Apprentice You're Fired The Apprentice You're Hired 23-12-16 0231 ts_ts
38 23/12/2016 04:28:14 - Setting title for /media/My Video/The Apprentice_ You're Fired/_media_My Video_The Apprentice You're Fired_The Apprentice You're Hired 23-12-16 0231_ts.ts to Apprentice: You're Hired
37 23/12/2016 04:28:14 - Renaming /media/My Video/The Apprentice_ You're Fired/The Apprentice_ You're Hired 23-12-16 0231.ts to _media_My Video_The Apprentice You're Fired_The Apprentice You're Hired 23-12-16 0231_ts
36 23/12/2016 04:28:13 - Renaming /media/My Video/The Apprentice_ You're Fired/The Apprentice_ You're Hired_20161223_0231.ts to The Apprentice_ You're Hired 23-12-16 0231
35 23/12/2016 04:27:57 - Done...
34 23/12/2016 04:27:57 - Processed in: 0.14s
33 23/12/2016 04:27:57 - Recording was not padded, cannot process.
32 23/12/2016 04:27:56 - ARBOOKMARK: /media/My Video/The Apprentice_ You're Fired/The Apprentice_ You're Hired_20161223_0231
31 23/12/2016 04:27:56 - Done... 1.76 GiB in 170.639 seconds - 10.55 MiB/s
30 23/12/2016 04:27:55 - Removing/binning old copy.
29 23/12/2016 04:25:06 - DLNA: http://127.0.0.1:9000/web/media/7687.TS
28 23/12/2016 04:25:06 - DECRYPT: /media/My Video/The Apprentice_ You're Fired/The Apprentice_ You're Hired_20161223_0231
27 22/12/2016 22:28:10 - Renaming /media/My Video/Close to the Enemy/Close to the Enemy_20161222_2101.ts to Close to the Enemy 22-12-16 2101
26 22/12/2016 22:27:59 - Done...
25 22/12/2016 22:27:59 - Processed in: 0.29s
24 22/12/2016 22:27:59 - Recording was not padded, cannot process.
23 22/12/2016 22:27:59 - ARBOOKMARK: /media/My Video/Close to the Enemy/Close to the Enemy_20161222_2101
22 22/12/2016 22:27:59 - Done... 1.79 GiB in 174.379 seconds - 10.53 MiB/s
21 22/12/2016 22:27:58 - Removing/binning old copy.
20 22/12/2016 22:25:04 - DLNA: http://127.0.0.1:9000/web/media/7684.TS
19 22/12/2016 22:25:04 - DECRYPT: /media/My Video/Close to the Enemy/Close to the Enemy_20161222_2101
18 22/12/2016 22:12:16 - autotrigger[10036]: /media/My Video/Close to the Enemy/Close to the Enemy_20161222_2101.ts - File did not decrypt properly.
17 22/12/2016 22:02:13 - autotrigger[10036]: DLNA: http://127.0.0.1:9000/web/media/7684.TS
16 22/12/2016 22:02:13 - autotrigger[10036]: DECRYPT: /media/My Video/Close to the Enemy/Close to the Enemy_20161222_2101
15 22/12/2016 21:45:08 - Renaming /media/My Video/The Secret Life of the Zoo/_media_My Video_The Secret Life of the Zoo_ media My Video The Secret Life of the Zoo The Secret Life of the Zoo at -Decrypt 22-12-16 1959 ts_ts.ts to _media_My Video_The Secret Life of the Zoo_ media My Video The Secret Life of the Zoo media My Video The Secret Life of the Zoo The Secret Life of the Zoo at -Decrypt 22-12-16 1959 ts ts_ts
14 22/12/2016 21:25:08 - Renaming /media/My Video/The Secret Life of the Zoo/_media_My Video_The Secret Life of the Zoo_The Secret Life of the Zoo at -Decrypt 22-12-16 1959_ts.ts to _media_My Video_The Secret Life of the Zoo_ media My Video The Secret Life of the Zoo The Secret Life of the Zoo at -Decrypt 22-12-16 1959 ts_ts
13 22/12/2016 21:05:12 - Setting title for /media/My Video/The Secret Life of the Zoo/_media_My Video_The Secret Life of the Zoo_The Secret Life of the Zoo at -Decrypt 22-12-16 1959_ts.ts to Secret Life of the Zoo at... -Decrypt
12 22/12/2016 21:05:12 - Renaming /media/My Video/The Secret Life of the Zoo/The Secret Life of the Zoo at___ -Decrypt 22-12-16 1959.ts to _media_My Video_The Secret Life of the Zoo_The Secret Life of the Zoo at -Decrypt 22-12-16 1959_ts
11 22/12/2016 21:05:11 - Renaming /media/My Video/The Secret Life of the Zoo/The Secret Life of the Zoo at____20161222_1959-dec.ts to The Secret Life of the Zoo at___ -Decrypt 22-12-16 1959
10 21/12/2016 22:09:00 - Renaming /media/My Video/Watchdog/Watchdog_20161221_2001.ts to Watchdog 21-12-16 2001
9 21/12/2016 22:08:46 - Done...
8 21/12/2016 22:08:46 - Processed in: 0.38s
7 21/12/2016 22:08:46 - Recording was not padded, cannot process.
6 21/12/2016 22:08:45 - ARBOOKMARK: /media/My Video/Watchdog/Watchdog_20161221_2001
5 21/12/2016 22:08:45 - Done... 2.2 GiB in 222.032 seconds - 10.14 MiB/s
4 21/12/2016 22:08:44 - Removing/binning old copy.
3 21/12/2016 22:05:03 - DLNA: http://127.0.0.1:9000/web/media/7677.TS
2 21/12/2016 22:05:03 - DECRYPT: /media/My Video/Watchdog/Watchdog_20161221_2001
1 21/12/2016 11:25:07 - Renaming /media/My Video/The World's Weirdest Weather 26-11-16 2147.ts to World's Weirdest Weather 26-11-16 2147
It seems like, from line 1, that the "The" rule is working OK, but see later satrting line 11 where it appears not to be working.
Last edited: