Trouble using CLI Automation with uTorrent

Any questions? Need some help?
Post Reply
talonzme
Posts: 7
Joined: 06 Dec 2014, 22:29

Trouble using CLI Automation with uTorrent

Post by talonzme »

I have used the normal GUI method for renaming.....very slick. I converted from WildRenamer to this with very little learning curve.
I have now started trying to integrate with uTorrent using the Run Program when torrent finishes. Here is the script I am using in the uTorrent "Run this program when torrent finishes input"

Code: Select all

filebot.launcher.exe -script fn:amc --output "G:/ServerFolders/TV/{n}/{n} - {s00e00}" --log-file "G:/ServerFolders/TV/File_Bot_Transfers.log" --action copy --conflict override -non-strict --def music=y subtitles=en artwork=y "ut_label=%L" "ut_state=%S" "ut_title=%N" "ut_kind=%K" "ut_file=%F" "ut_dir=%D"
This is the error log from FileBot:
Parameter: music = y
Parameter: subtitles = en
Parameter: artwork = y
Parameter: ut_label =
Parameter: ut_state = 5
Parameter: ut_title = Adventure.Time.S06E19.Is.That.You.HDTV.x264-W4F.mp4
Parameter: ut_kind = single
Parameter: ut_file = Adventure.Time.S06E19.Is.That.You.HDTV.x264-W4F.mp4
Parameter: ut_dir = G:\ServerFolders\Holding
Exclude: G:\ServerFolders\Holding\Adventure.Time.S06E19.Is.That.You.HDTV.x264-W4F.mp4
No files selected for processing
Failure (°_°)
I am not sure if I am getting Java errors or not. There is no pop-up but I have been seeing files like "hs_err_pid15044.log" show up.

System Info
Windows Home Server 2011
Files are being moved to and from the same Raid Array (G:)
Java 1.8 64bit
User avatar
rednoah
The Source
Posts: 23931
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Trouble using CLI Automation with uTorrent

Post by rednoah »

There is no error. That file is excluded for some reason. There are many many reasons why a file might be excluded. Most likely the file is too small or video duration is too short. See options for details.
:idea: Please read the FAQ and How to Request Help.
talonzme
Posts: 7
Joined: 06 Dec 2014, 22:29

Re: Trouble using CLI Automation with uTorrent

Post by talonzme »

Using the above referenced script it moved the tv shows to the folder "G:/ServerFolders/TV/{n}/{n} - {s00e00}" then broke them down. How do I script in the FileBot variables for {n} (show name) so that it finds the existing folder for the show? Would it be something like:

Code: Select all

G:/ServerFolders/TV/ & {n} & / & {n} - {s00e00}
. Ultimately the show should be moved, using the CLI input to uTorrent to G:/ServerFolders/TV/ShowName/ShowName - S01E01 etc.
User avatar
rednoah
The Source
Posts: 23931
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Trouble using CLI Automation with uTorrent

Post by rednoah »

This format:

Code: Select all

G:/ServerFolders/TV/{n}/{n} - {s00e00}
Will organize files to something like this:

Code: Select all

G:/ServerFolders/TV/ShowName/ShowName - S01E01
So what's your question? G:/ServerFolders/TV/{n} is a folder, that may or may not exist. If it doesn't, it will be created.
:idea: Please read the FAQ and How to Request Help.
talonzme
Posts: 7
Joined: 06 Dec 2014, 22:29

Re: Trouble using CLI Automation with uTorrent

Post by talonzme »

Well it actually made a folder named {n} instead of the show name. Granted, I had that entire strong closed in quotes. Should those be left off? How should the path string be formatted if there are spaces in the path.
User avatar
rednoah
The Source
Posts: 23931
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Trouble using CLI Automation with uTorrent

Post by rednoah »

I see.

Where did you pick this up? :D

Code: Select all

--output "G:/ServerFolders/TV/{n}/{n} - {s00e00}"
That's just wrong. The --output option is for setting the output folder, not the format.

See all the other examples in the docs and carefully read the section called Change how files will be organized and renamed.
:idea: Please read the FAQ and How to Request Help.
talonzme
Posts: 7
Joined: 06 Dec 2014, 22:29

Re: Trouble using CLI Automation with uTorrent

Post by talonzme »

Thank you. I will study up some more.
Post Reply