If a scan fails on a particular file, it should not be added to the excludeList.
If you're running strict matching, you can often find that amc fails matching a particular file. However, even when it fails, it is added to the excludeList as this seems to happen before the script runs. IMO, the excludelist is to ensure you don't process a file that has already handled. However if a file fails, it still needs processing by the app.
Feature Request -- add entries to excludeList only on success
-
- Posts: 3
- Joined: 13 Nov 2023, 07:47
Re: Feature Request -- add entries to excludeList only on success




-
- Posts: 3
- Joined: 13 Nov 2023, 07:47
Re: Feature Request -- add entries to excludeList only on success
Thanks for the speedy reply!
I have a single directory where I store all media files. I then run filebot against this directory on a regular basis to pickup new files, process them, and hardlink to my Plex media folders. I therefore use excludeList so that I don't process files already scanned. The process is handled automatically so I don't monitor the output to check it was successful.
My plan is to run a manual scan on a less regular basis (eg once per week), where I pick up any files that have not been processed owing to scan failure and then manually fix the match.
Can you suggest an alternate solution?
I have a single directory where I store all media files. I then run filebot against this directory on a regular basis to pickup new files, process them, and hardlink to my Plex media folders. I therefore use excludeList so that I don't process files already scanned. The process is handled automatically so I don't monitor the output to check it was successful.
My plan is to run a manual scan on a less regular basis (eg once per week), where I pick up any files that have not been processed owing to scan failure and then manually fix the match.
Can you suggest an alternate solution?
Re: Feature Request -- add entries to excludeList only on success
I can think of many solutions.
If you hardlink files, then the hardlink count will tell you if a file has been processed already or not. See How do I process only specific kinds of files? › Option 4: Start FileBot with --file-filter from Terminal for ideas.
The existence of xattr metadata or internal history might also allow you to track and find unprocessed files. See How do I process only specific kinds of files? › Option 3: Use Presets with Includes for ideas. You could also use Custom Post-Processing Scripts to somehow mark (e.g. add xattr, create file, add lines to a custom log file, etc) files that have been processed.
The amc script itself also has the --def unsorted option:



-
- Posts: 3
- Joined: 13 Nov 2023, 07:47
Re: Feature Request -- add entries to excludeList only on success
Thanks for your suggestions. I'll experiment with them.