Type 1 Companion Files
If companion files are derived-by-name and thus linked-by-name to the corresponding primary media file, then FileBot will automatically match them to the the same Movie or Episode object and process all of them as a group:
Code: Select all
Avatar.mp4
Avatar-info.xml
Avatar-poster.jpg
Avatar-description.txt
Code: Select all
{ ny }
Code: Select all
Avatar.mp4
Avatar.xml
Avatar.jpg
Avatar.txt

e.g. using a custom format that matches trailing patterns such as -poster from the current file name:
Code: Select all
{ ny }{ '.' + fn.match(/-([a-z].+)$/) }
Code: Select all
Avatar.mp4
Avatar.info.xml
Avatar.poster.jpg
Avatar.description.txt

Type 2 Companion Files
Alternatively, you can also use the Import companion files post-processing feature to simply copy along any files or folders that were left behind in the original folder:

rednoah wrote: ↑14 Sep 2019, 20:35 Copy companion files (e.g. trailers, subtitles, artwork, etc) along from the original folder to the new location:Code: Select all
--apply import

Code: Select all
{ mediaFile.dir }/{ mediaFile.nameWithoutExtension }-{ fn }
Links