Incorrect File Path Being Passed

Any questions? Need some help?
Post Reply
GamerKingFaiz
Posts: 6
Joined: 16 May 2016, 03:42

Incorrect File Path Being Passed

Post by GamerKingFaiz »

Hello,

Today I upgraded both qBitTorrent (v3.3.4 now) and FileBot (v 4.7 now).

Previously I had been using the following command with qBitTorrents "Run External Program" feature.

Code: Select all

"C:\Program Files\FileBot\filebot.launcher.exe" -script fn:amc --output "\\diskstation\Torrents\Media" --log-file amc.log --action move --conflict override -non-strict --def music=y subtitles=en artwork=y excludeList=amc.txt "%f"
However tonight I got the following error in the log.

Code: Select all

Run script [fn:amc] at [Sun May 15 19:40:45 PDT 2016]
Parameter: music = y
Parameter: subtitles = en
Parameter: artwork = y
Parameter: excludeList = amc.txt
[b]Argument: C:\Program Files (x86)\qBittorrent\%f
File not found: C:\Program Files (x86)\qBittorrent\%f[/b]
Failure (°_°)
I've bolded the most interesting part. Why is it passing in the qBitTorrent install directory and appending "%f" after it? I can't figure this out for the life of me.
I tested running the command manually (i.e. manually putting in the directory of the input instead of having qBitTorrent pass it to Filebot) and Filebot did the job like normal.

Here is my sysinfo.

Code: Select all

C:\Users\Faiz>filebot -script fn:sysinfo
FileBot 4.7 (r3923)
JNA Native: 4.0.1
MediaInfo: MediaInfoLib - v0.7.78
7-Zip-JBinding: 9.20
Chromaprint: fpcalc version 1.1.0 (C:\Program Files\FileBot\fpcalc.exe)
Extended Attributes: OK
Groovy Engine: 2.4.6
JRE: Java(TM) SE Runtime Environment 1.8.0_91
JVM: 64-bit Java HotSpot(TM) 64-Bit Server VM
CPU/MEM: 4 Core / 3 GB Max Memory / 24 MB Used Memory
OS: Windows 10 (amd64)
Package: MSI
Data: C:\Users\Faiz\AppData\Roaming\FileBot
Done ?(?????)?
Any idea what's going on?

EDIT: Apparently the "%f" argument is now case sensitive according to this post.

I changed it to "%F" and it worked like normal.
Post Reply