Environment:
- PC base:
Asrock D1800-B ITX
Windows 8.1 64bit - HDDs:
Source (torrent downloads go here): HGST 7200rpm 500GB notebook hard drive (don't know the exact type from the top of my head)
Target (Filebot copies the completed downloads here): USB 3.0 external - Seagate Expansion Desk 2TB - Typical files:
1+ GB .mkv movies.
- The files copied over by Filebot cmd that is invoked by qBitTorrent actually do get copied and are there, BUT if you try to access them they completely freeze the external hard drive. It cannot read the files and also locks up as if the files were corrupted beyond reason.
- Trying to access such corrupted files from the network can cause extreme issues in the Windows Explorer of the remote computer (that tries to read the shared file), causing it to hang so much even the start menu disappears.
- Not all Filebot copied files get f'ed up, only about 75% of them.
Code: Select all
filebot.launcher.exe -script fn:amc --output "TARGET_PATH" --log-file amc.log --action copy --conflict override -non-strict --def music=n subtitles=en artwork=n exludeList=amc.txt "%f/%n"
I think that when Filebot is invoked by qBitTorrent the download isn't exactly finished yet. It may have theoretically reached 100% but I think that all portions of the file are not yet written on the HDD, which causes Filebot to start copying a file that is missing some bits here and there...
Fix:
1. Create a bat file containing the following:
Code: Select all
timeout 60
filebot.launcher.exe -script fn:amc --output "TARGET_PATH" --log-file amc.log --action copy --conflict override -non-strict --def music=n subtitles=en artwork=n exludeList=amc.txt %1
Code: Select all
BAT_FILE_WITH_PATH "%f/%n"
Lesson:
I think the reason behind this is Java, but Filebot can create some seriously f'ed up files... this is not nice.
Cheers