Hi all,
I am trying for automate the processing for completed downloads using the amc script but I am having an issue which I'm hoping there is a workaround for.
The problem been the cli application will not throw an error but it will not output to the folder I specify rather it will open to the folder where the command is been run from. I do not have the full script but I know it works as if I point it to a different folder it works, just not with the output folder as per below.
The input directory is I:/downloads/complete
The output is I:/ (where a to shows and movies, etc folders sit)
Is this working the way it is because the output could contain the input and a workaround would be to make a I:/media folder?
Anyone else seen this beforehand?
Thankyou
Paul
Amc script and folder paths
Re: Amc script and folder paths
For confirmation the script (from batch file) I am running is:
The output of this command is (file name replaced).
You can see above that it creates the file structure in the location as the logs (where the script is run from) rather than I: (I have tested I: and I:/ neither work); on the other hand if I tell it to go to I:/media it works as expected.
Thankyou
Paul
Code: Select all
Echo off
call filebot -script fn:amc --output "I:" --log-file "I:\DL\2.Completed\!.1.Scripts\test.log.txt" --action move --conflict auto -non-strict "I:\DL\2.Completed\!.2.ToSort" --def excludeList=I:\DL\2.Completed\!.1.Scripts\test.exclude.txt deleteAfterExtract=y clean=y subtitles=en unsorted=y
Code: Select all
I:\DL\2.Completed\!.1.Scripts>Echo off
Locking I:\DL\2.Completed\!.1.Scripts\test.log.txt
Parameter: excludeList = I:\DL\2.Completed\!.1.Scripts\test.exclude.txt
Parameter: deleteAfterExtract = y
Parameter: clean = y
Parameter: subtitles = en
Parameter: unsorted = y
Argument: I:\DL\2.Completed\!.2.ToSort
Input: I:\DL\2.Completed\!.2.ToSort\ep.xxx.S01E05\ep.xxx.S01E05.avi
Exclude: I:\DL\2.Completed\!.2.ToSort\ep.xxx.S01E05\ep.xxx.S01E05.nfo
Group: [tvs:12 monkeys] => [12.Monkeys.S01E05.HDTV.XviD-iFT.avi]
Get [English] subtitles for 1 files
Looking up subtitles by hash via OpenSubtitles
No matching subtitles found: I:\DL\2.Completed\!.2.ToSort\ep.xxx.S01E05\ep.xxx.S01E05.avi
Rename episodes using [TheTVDB]
Auto-detected query: [12 Monkeys]
Fetching episode data for [12 Monkeys]
[MOVE] Rename [I:\DL\2.Completed\!.2.ToSort\ep.xxx.S01E05\ep.xxx.S01E05.avi] to [I:\DL\2.Completed\!.1.Scripts\TV Shows\xxx\Season 01\xxx - S01E05.avi]
Processed 1 files
Clean clutter files and empty folders
Delete I:\DL\2.Completed\!.2.ToSort\ep.xxx.S01E05\ep.xxx.S01E05.avi
Delete I:\DL\2.Completed\!.2.ToSort\ep.xxx.S01E05
Done Òâ¥(´╝áÔîÆÒâ╝ÔîÆ´╝á)ÒâÄ
Thankyou
Paul
Re: Amc script and folder paths
I recommend using I:/Media then. Windows drive folders are special and odd, so something might be interfering with path resolution.
Re: Amc script and folder paths
Will do, just thought I would ask first.
Waiting for my synology to arrive then I can set it up properly
Thankyou for your work on this project.
Paul
Waiting for my synology to arrive then I can set it up properly

Thankyou for your work on this project.
Paul