Page 1 of 1
[Windows 10] AMC Extracting Problems
Posted: 29 Nov 2016, 07:42
by Sinzah
For some reason I can't get this to work properly.
Code: Select all
set ARG_PATH="%3"
set ARG_NAME="%2"
set ARG_LABEL="N/A"
filebot -script fn:amc --output "D:/Media" --action duplicate --conflict skip -non-strict --log-file amc.log --def unsorted=y music=y artwork=y excludeList="amc.excludes" ut_dir="%ARG_PATH%" ut_kind="multi" ut_title="%ARG_NAME%" ut_label="%ARG_LABEL%" plex=host:"insert pass here"
Right now, I have it set to download to /downloading/ and once it's done to move it to /completed/. For some reason, the script wants to extract EVERYTHING in my /completed/ folder, not just ARG_NAME or %2 or anything with media file. Is there anyway to get it to only extract things with media files in them instead of everything?
Re: [Windows 10] AMC Extracting Problems
Posted: 29 Nov 2016, 17:16
by rednoah
Thanks for the post! Before a real human comes by, please make sure your report has all the following points checked:
- What are you trying to do achieve? What's not working? What have you tried so far?
- Include screenshots, logs or filenames (i.e. demonstrate the issue)
- Include basic information (i.e. sysinfo output)

Please read
How to Request Help and
Fix Problems, Report Bugs, Get Features
Re: [Windows 10] AMC Extracting Problems
Posted: 30 Nov 2016, 04:21
by Sinzah
I am trying to get deluge to run filebot after a completed download, extract the archives, rename the file and place it in my media folder based on movie/tv show, name, season, episode for plex.
The problem I am running in to is that when it goes to extract the archives from said torrent, it starts extracting everything in my completed folder.
My end goal is to have it check the archive to see if theres any media files, if there is, extract, if not, ignore and add it to the excludes list
Re: [Windows 10] AMC Extracting Problems
Posted: 30 Nov 2016, 12:22
by rednoah
Yes, and if it's not working then you need to give me the logs so I can look at the logs and maybe finds some hints as to why it's not working.
1. Provide sysinfo output
2. Provide amc.log file
Archives will only be extracted if there is at least one video file inside, and archives will be added to the exclude list after processing so they won't get extracted again.
Also, files will be extracted to wherever the archive is, unless you set
extractFolder:
Options wrote:--def extractFolder=path Extract archives to this folder
Re: [Windows 10] AMC Extracting Problems
Posted: 30 Nov 2016, 19:25
by Sinzah
Code: Select all
Run script [fn:amc] at [Tue Nov 29 01:31:28 CST 2016]
Parameter: unsorted = n
Parameter: music = y
Parameter: artwork = y
Parameter: excludeList = amc.excludes
Parameter: ut_dir = D:\Completed
Parameter: ut_kind = multi
Parameter: ut_title = %%%%%%%%%
Parameter: ut_label = N/A
Parameter: plex = *****
Parameter: clean = y
Use excludes: D:\Media\amc.excludes (1)
Read archive [@@@@@@.rar] and extract to [D:\Completed\@@@@@\@@@@@@\@@@@@]
Skipped extracting files [D:\Completed\@@@@@\@@@@@\@@@@@@@@@@.mkv]
Read archive [data_input_v3.zip] and extract to [D:\Completed\data_input_v3\Completed]
Ignore disk image: D:\Completed\^^^^^^\^^^^^^.iso
Read archive [*****.rar] and extract to [D:\Completed\*****\*****\*****]
Extracting files [D:\Completed\*****\*****\*****\*****.iso]
As you can see for some reason it skipped @@@@@ even though it has a media file that isn't in the excludes, and it also skipped one of the disk images but not the other one. Excludes file is currently empty.
Re: [Windows 10] AMC Extracting Problems
Posted: 30 Nov 2016, 22:52
by rednoah
1.
The files have already been extracted, so it won't do it again.
--conflict skip => don't extract files that already exist
--conflict auto => don't extract files that already exist if timestamps match
--conflict override => always extract files and override files if necessary
2.
FileBot will not extract files from generic ISO images (e.g. games or any non-video content).
3.
FileBot will only extract ISO images of DVD / BR / etc video disk images.
Re: [Windows 10] AMC Extracting Problems
Posted: 05 Dec 2016, 02:00
by Sinzah
Okay, I decided to drop deluge and use utorrent since I can pull the labels from utorrent. For some reason, I see the cmd prompt open for a split second and then close.
This is the current script I am using and I have tried a few variations. It doesn't list anything in amc.log.
Code: Select all
filebot -script fn:amc --output "D:/Media" --action duplicate --conflict skip -non-strict --log-file amc.log --def unsorted=y music=y artwork=y excludeList=amc.excludes ut_label=%L ut_state=%S ut_title=%N ut_kind=%K ut_file=%F ut_dir=%D plex=host:"" -clean
Code: Select all
filebot -script fn:amc --output "D:/Media" --action duplicate --conflict skip -non-strict --log-file amc.log --def unsorted=y music=y artwork=y excludeList=amc.excludes "ut_label=%L" "ut_state=%S" " ut_title=%N" "ut_kind=%K" "ut_file=%F" "ut_dir=%D" plex=host:"" -clean
Code: Select all
filebot -script fn:amc --output "D:/Media" --action copy --conflict skip -non-strict --log-file amc.log --def unsorted=y music=y artwork=y excludeList=amc.excludes ut_label=%L ut_state=%S ut_title=%N ut_kind=%K ut_file=%F ut_dir=%D plex=host:"" -clean
Code: Select all
filebot -script fn:amc --output "D:/Media" --action copy --conflict skip -non-strict --log-file amc.log --def unsorted=y music=y artwork=y excludeList=amc.excludes "ut_label=%L" "ut_state=%S" " ut_title=%N" "ut_kind=%K" "ut_file=%F" "ut_dir=%D" plex=host:"" -clean
Not exactly sure which action I should be using. In your utorrent command line you have copy, in deluge you have duplicate, not sure if theres a difference or which one should work.
Re: [Windows 10] AMC Extracting Problems
Posted: 05 Dec 2016, 13:21
by rednoah
Read the
Troubleshooting section.
1. Open CMD
2. Run the command yourself
3. Look at the output
Once you see the output the issue should be obvious. If not, post the output here.

Re: [Windows 10] AMC Extracting Problems
Posted: 05 Dec 2016, 17:51
by Sinzah
rednoah wrote:Read the
Troubleshooting section.
1. Open CMD
2. Run the command yourself
3. Look at the output
Once you see the output the issue should be obvious. If not, post the output here.

Ugh. I feel real stupid atm. Thank you!
Add: Is there any difference between -copy and -duplicate?
Re: [Windows 10] AMC Extracting Problems
Posted: 06 Dec 2016, 01:49
by rednoah
copy will always create a physical copy, duplicate will create a physical copy only if necessary and hardlink or reflink instead if possible.