OK, these are the results of the tests on a program recorded from Drama:
Apologies for the verbosity.
Program processed manually:
Manual decrypt - TS file OK and plays OK.
Manual shrink - .TS file OK and plays OK.
Manual detectads .TS file OK and plays OK
Program auto-processed:
Turned on auto-decrypt on directory containing the files already manually processed - decrypt, shrink and detectad
auto-processing correctly detected that they were already decrypted and took no action.
Turned on auto-decrypt on directory containing the copied and saved original recording.
According to "Queue" the auto-decrypt failed and was then retried several times.
auto.log shows:
C: 1765 900 decrypt - /mnt/hd2/My Video/Tony Testing/The Bill_20170807_1202.ts
De-queuing 1765 - decrypt - /mnt/hd2/My Video/Tony Testing/The Bill_20170807_1202.ts
decrypt: /mnt/hd2/My Video/Tony Testing/The Bill_20170807_1202.ts - Not yet indexed, trying helper
decrypt: DECRYPT: /mnt/hd2/My Video/Tony Testing/The Bill_20170807_1202
decrypt: DLNA:
http://192.168.1.66:9000/web/media/672.TS
.
.
DEFER - Recording did not decrypt properly
For each attempt at decrypting apart from some entries saying:
decrypt: /mnt/hd2/My Video/Tony Testing/The Bill_20170807_1202.ts - has been indexed.
At this point I turned off auto-processing to stop the looping auto-processing processes.
Checking the unencrypted program the decrypt OPT+ option is greyed out so no manual decryption possible.
I restarted the auto-processing to see if it would finally give up trying to decrypt the program and after over an hour of it running as the only auto process I removed the auto-decrypt flag from the directory containing the program to stop the looping. This didn't work so I had to stop the auto-processing and then decrypt the program manually. The manually decrypted program played OK and the .TS file was OK. On restarting the auto-processing the program was recognised as already decrypted and processing coninued with detectads (even though the auto detectads flag wasn't set).
Don't know why it attempted the auto-decrypt so many times, perhaps there ought to be a counter to abandon the auto-decrypt after a number of retries.
I guess it must have been a timing issue that caused the manual decryption option to be unavailable the first time I tried.
Also don't know why the auto-detectads ran as there was no detectads flag or detectads-recursive flag set at any directory level.
I don't think that this takes us any further forward apart from my understanding of the problem.
I guess someone with the tools and knowledge needs to look at the problem to fix it.