1.
Create a single folder with a single file for testing. So you can rapidly test what's working and what's not working, before running your solution on the entire set of files.
e.g.
Code: Select all
$ filebot -rename *.mp4 --db TheTVDB --order Absolute --format {order.airdate.plex} -non-strict --action TEST
Rename episodes using [TheTVDB]
Auto-detected query: [One Piece]
Fetching episode data for [One Piece]
Fetching episode data for [None Piece]
[TEST] from [One.Piece.501.mp4] to [TV Shows/One Piece/Season 14/One Piece - S14E20 - The Flames Are Lit - The Gray Terminal's Crisis.mp4]
Processed 1 files
2.
If you revert files to their original names after renaming them incorrectly, then you also need to clear xattr metadata, otherwise files will most likely be matched with whatever the previous match was:
viewtopic.php?f=4&t=5#p5394

That's why you never use
--action move but instead use
--action hardlink because that'll allow you to have each file twice but with separate file paths and xattr metadata, meaning you can easily delete badly processed destination files and process them again with the same input, without having to manually revert the file names.