And: Stop processing rules.
That is a courtesy reminder that you can only perform one action on a recording within one
sweeper run. It was not originally envisaged to do very complicated things, it was meant to just move things to specific folders based on simple rules but has grown a bit.
That is where I'm puzzled, as every rule is a seperate episode, based on episode name, [ %epname ], a series with say twenty episodes will have a rule entry for every episode, each episode being processed individually
So? An auto-processing run triggers (every 10 minutes if you haven't altered that), starts
sweeper in its turn, then
sweeper scans for candidate recordings. For each one it finds, the rule set is applied. If/when it finds a condition match, the associated action is applied.
Conditions are exclusive - only the first one that matches has its action applied. That means you can create a hierarchy of conditions with the most exclusive one at the top, and then a final "catch all" condition at the bottom to handle everything that hasn't been weeded out further up:
1. Afternoons
2. Wednesdays
3. All
Something recorded on a Wednesday morning matches rule 2 (not 1 nor 3), something recorded on a Wednesday afternoon matches 1 (not 2 nor 3), something recorded on a Thursday matches 3 (not 1 nor 2).
So your conditions isolate an individual episode, and each individual episode is processed individually... within the same
sweeper run. I don't know how many ways you want me to say the same thing:
Get recording, process rules on it until end or stop. Get next recording, process rules on it until end or stop. Repeat until no more recordings, do it all again next auto-process run.
Having done the action, be aware the recording will be scanned again in 10 minutes. Hopefully you have ensured it can't match a condition after it has already been processed (when used to simply re-file recordings, the destination folder is usually not in the scan path - which guarantees the recording won't be scanned again).
What you are doing goes way beyond any intention of
sweeper, or anything that seems sensible "just for telly". Which is OK if you are obsessive and/or bored, but definitely not mainstream. For once-off manipulations, it is more efficient to do it manually than write code which does it once and is then redundant.