Page 1 of 1
Using --def ignore
Posted: 15 Oct 2016, 03:41
by techitch
Hi Guys
Having issues using the ignore function in my arguments file
Am I able to just specify a dirname as the regex and anything within that folder will be skipped? What syntax should I use to make this work? I have the below currently and it does not skip that folder
Re: using -def ignore
Posted: 15 Oct 2016, 05:54
by rednoah
Yes. This will ignore any file that has dirname anywhere in the file path.
If you what to know what is and isn't happening, check the logs. If you want anyone to help you, post the logs.
Re: Using --def ignore
Posted: 15 Oct 2016, 06:36
by techitch
Thanks so it appears i have it set correctly.
When i run the first thing the script does is try to extract a folder from that path.. log is below
Code: Select all
Run script [fn:amc] at [Sat Oct 15 08:32:19 CEST 2016]
Parameter: movieFormat = /home/media/movies/{n.space('.')}.{y}.{vf}.{source}/{n.space('.')}.{y}.{vf}.{source}
Parameter: seriesFormat = /home/media/tv/{n}/{n.space('.')}.{s00e00.lower()}
Parameter: musicFormat = /home/media/music/{artist.space('_').upperInitial()}-{album.space('_').upperInitial()}-{y}/{pi.pad(3)}-{artist.space('_').low$
Parameter: music = y
Parameter: artwork = n
Parameter: clean = y
Parameter: excludeList = /home/user/.exclude
Parameter: ignore = dirname
Argument: /home/incoming
Using excludes: /home/user/.exclude (217)
Read archive [12345.rar] and extract to [/home/incoming/dirname/12345/12345/12345]
Extracting files [/home/incoming/dirname/12345/12345/12345/12345.mkv]
Re: Using --def ignore
Posted: 15 Oct 2016, 08:10
by rednoah
Ignore refers to auto-detection. It doesn't keep files from being extracted, just from being processed as episode/movie files.
I might change the ignore behaviour in future revisions though if that's what makes sense for the typical user.
Re: Using --def ignore
Posted: 15 Oct 2016, 08:17
by techitch
thanks, it probably makes alot of sense to not do any processing actions on the folders in ignore.
I'm struggling to think of a scenario where someone would want to partially process files using an 'ignore' function.