Any questions? Need some help?
techitch
Posts: 12 Joined: 03 Oct 2016, 04:52
Post
by techitch » 15 Oct 2016, 03:41
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
rednoah
The Source
Posts: 23932 Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:
Post
by rednoah » 15 Oct 2016, 05:54
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.
techitch
Posts: 12 Joined: 03 Oct 2016, 04:52
Post
by techitch » 15 Oct 2016, 06:36
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]
rednoah
The Source
Posts: 23932 Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:
Post
by rednoah » 15 Oct 2016, 08:10
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.
techitch
Posts: 12 Joined: 03 Oct 2016, 04:52
Post
by techitch » 15 Oct 2016, 08:17
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.