@ guest 2
file:echo %1 >> /home/stu/Desktop/files.txt
and the %1 will be the file name
%1
is the full path not simply the filename. Variable for the file name is:
$name
@bvd
Join the
Scripts Я Us channel on Tixati (copy the above dsc: link and paste it to Channels/+Add+/Open Link) and chat with other users there when they are available. You can also "Gather Channels" and join
Scripts Я Us from the resulting list.
xfer:echo filebot -script fn:amc --output "/path/to/media" --action duplicate --conflict skip -non-strict --log-file amc.log --def excludeList=amc.excludes unsorted=y music=y artwork=y "ut_dir=%F" "ut_kind=multi" "ut_title=%N" "ut_label=%L"
I am not seeing any of the possible output variables being sent from Tixati to the filebot command. Tixati supports variables for full path, base path, filename and extension.
In all commands, various placeholders are supported as follows:
Placeholder
%1
is replaced by a
full path to the individual file or transfer folder that has completed, in quotes.
$path
is the exact same as
%1
$basepath
is replaced by the
path to location of the individual file or transfer folder that has completed.
$name
is replaced by the
filename of the individual file that has completed.
$ext
is replaced by the
extension of the individual file that has completed.
The
$path
placeholder is equivalent to
"$basepath$name$ext"
Example usage (auto-convert incoming .avi file to .mp4 format):
.avi:ffmpeg -i %1 "M:\$name.mp4"
When download of any .avi file completes, this command will start ffmpeg with input of the full path to the .avi file to be converted as expanded from
%1
i.e. E:\tixati\incoming\movie101.avi
The .mp4 file output by ffmpeg will be saved on drive M:\ with the original filename (movie101), expanded from the
$name
and adding to it the .mp4 extension, as M:\movie101.mp4
https://support.tixati.com/file%20completion%20shell%20commands?view has some details but is not yet updated.