Using --def ignore

Any questions? Need some help?
Post Reply
techitch
Posts: 12
Joined: 03 Oct 2016, 04:52

Using --def ignore

Post 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

Code: Select all

ignore=dirname
User avatar
rednoah
The Source
Posts: 23932
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: using -def ignore

Post 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.
:idea: Please read the FAQ and How to Request Help.
techitch
Posts: 12
Joined: 03 Oct 2016, 04:52

Re: Using --def ignore

Post 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]
User avatar
rednoah
The Source
Posts: 23932
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Using --def ignore

Post 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.
:idea: Please read the FAQ and How to Request Help.
techitch
Posts: 12
Joined: 03 Oct 2016, 04:52

Re: Using --def ignore

Post 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.
Post Reply