Page 2 of 2

Re: Auto Rename and Move each file to each folder

Posted: 05 Jan 2018, 20:18
by kim
maybe:
"/path/to/input"
or
Illegal usage: output folder [B:\Videos\Torrents\Completed] must be separate from input arguments ["/path/to/input"]
Failure (°_°)

Re: Auto Rename and Move each file to each folder

Posted: 06 Jan 2018, 08:21
by BigSteve84
OK what do I need to do to fix it?

Re: Auto Rename and Move each file to each folder

Posted: 06 Jan 2018, 09:34
by rednoah
/path/to/input indicates that you need to replace it with the actual path to your input files. You can create a new folder somewhere for testing, and then use that folder as input path.

Re: Auto Rename and Move each file to each folder

Posted: 06 Jan 2018, 22:21
by BigSteve84
I've made the changes and still not working, I've noticed that the first word that comes up in the cmd window is Locking ?
filebot -script fn:amc --output "B:/Videos/Torrents/Completed" --action copy -non-strict "B:/Videos/Torrents/Completed/2" --log-file amc.log --def excludeList=amc.txt --def movieFormat="M:/Movies/{ny}/{fn}" seriesFormat="B:/Videos/TV Shows/{genres =~ /Children/ ? 'Kids Shows' : genres =~ /Animation/ ? 'Our Animated Shows' : genres =~ /Documentary/? 'Documentaries': 'Our Shows'}/ {n}/{'Season' +s}/{n} - {s00e00}" animeFormat="T:/Anime/{n}/{fn}" musicFormat="N:/Music/{n}/{fn}"

Re: Auto Rename and Move each file to each folder

Posted: 07 Jan 2018, 11:06
by rednoah
So you're saying it just says "Locking ..." and nothing else? And the process ends without printing anything else?

:arrow: Since that's fairly impossible, I'd like to see a screenshot of that happening please. So I can see what's really going on. ;)

Re: Auto Rename and Move each file to each folder

Posted: 08 Jan 2018, 06:02
by BigSteve84
I'm trying to mate but the cmd windows close's as fast as it opens, that's why I could literally only make out the word "locking" but there are more words after and its not just saying locking

Re: Auto Rename and Move each file to each folder

Posted: 08 Jan 2018, 16:36
by rednoah
What exactly are you doing or clicking?

Here's how it works:
1. Run CMD
2. Type your command. Hit ENTER to run your command.
3. Look at the output

:arrow: There will be exactly one CMD window and it won't close until you close it.

If you're using a .bat file that you're double clicking, or have other tools such as utorrent run the command, then you're on the wrong path.

Re: Auto Rename and Move each file to each folder

Posted: 09 Jan 2018, 14:47
by BigSteve84
Image hope this is ok

Re: Auto Rename and Move each file to each folder

Posted: 09 Jan 2018, 16:51
by rednoah
Based on the log output, the folder B:/Videos/Torrents/Completed/2 doesn't contain any files.

Re: Auto Rename and Move each file to each folder

Posted: 10 Jan 2018, 08:58
by BigSteve84
OK so my utorrent directories are this, my put new downloads in this is... B:\Videos\Torrents\1st and my move finished downloads is B:\Videos\Torrents\Completed . Now within the script I'm using where do I add these directories ?

Re: Auto Rename and Move each file to each folder

Posted: 10 Jan 2018, 20:23
by rednoah
e.g. to make it easy, i'll just make a very simply call:

Code: Select all

filebot -script fn:amc B:\Videos\Torrents\1st
This mean you're passing B:\Videos\Torrents\1st as argument and the amc script will use that argument as input folder and process all files within that folder.

All the other options after that are just configuration to make it work the way you want. It's just harder to see once you have dozens of options. Any argument that is not an option will be interpreted as input folder, and there can be many input folders.

This is for manual testing. If you're using utorrent, then the input path will be passed in via the ut_dir / ut_file options.

Re: Auto Rename and Move each file to each folder

Posted: 11 Jan 2018, 19:33
by BigSteve84
Ok so ive finally got them moving to the correct folders but for some strange reason the naming is off. For example instead going into Season 5 its Season5 and instead renaming the show Blue Bloods - S08E01 - Cutting Losses its named Blue Bloods - S08E01 ?

Re: Auto Rename and Move each file to each folder

Posted: 11 Jan 2018, 21:45
by rednoah
That's exactly what your custom format specifies:

Code: Select all

{'Season' +s}/{n} - {s00e00}
I recommend using the default, which is {plex}, unless otherwise specified by you via the --def seriesFormat option.

Re: Auto Rename and Move each file to each folder

Posted: 16 Jan 2018, 04:52
by BigSteve84
Got it working a dream now, thanks a lot for your help and patience.