Running FileBot from the console, Groovy scripting, shell scripts, etc
			
		
		
			
				
																			
								Al3x 							 
									
		Posts:  19 Joined:  19 Aug 2014, 19:32 
		
						
					
													
							
						
									
						Post 
					 
								by Al3x  19 Aug 2014, 19:38 
			
			
			
			
			
			I just downloaded every episode of family guy.  They're in *.mp4 format and about ~166+MB each in nested folders by season mostly.
I'm running:
Code: Select all 
filebot -script fn:amc --output "X:/Media" --log-file amc.log --action copy --conflict auto -non-strict "X:/Downloads/Family Guy - All seasons plus extras" --def minFileSize=104857600 music=y subtitles=en artwork=y plex=adesktop storeReport=y deleteAfterExtract=y clean=y unsorted=y "movieFormat=X:/Media/Movies/{n} ({y}) {imdb.rating} {source} {resolution}/{n} ({y}) {imdb.rating} {source} {resolution}" "seriesFormat=X:/Media/TV/{n}/{'Season '+s}/{n} - {s00e00} - {t}"
The output just excludes everything.  Here's a snip:
Exclude: X:\Downloads\Family Guy - All seasons plus extras\Family Guy - All seas
 
		 
				
		
		 
	 
				
		
		
			
				
								rednoah 							 
						The Source 			
		Posts:  24249 Joined:  16 Nov 2011, 08:59Location:  Taipei
				Contact: 
				
			 
				
		 
		
						
					
													
							
						
									
						Post 
					 
								by rednoah  20 Aug 2014, 03:12 
			
			
			
			
			
			There's a few keywords that can't be in the path, for example 
extras 
Here's the code:
Code: Select all 
// ignore clutter files
input = input.findAll{ f -> !(relativeInputPath(f) =~ /(?<=\b|_)(?i:sample|trailer|extras|music.video|scrapbook|behind.the.scenes|extended.scenes|deleted.scenes|s\d{2}c\d{2}|mini.series|NCED|NCOP|(OP|ED)\p{Digit}\p{Alpha}|Formula.1.\d{4})(?=\b|_)/) } 
		 
				
		
		 
	 
				
		
		
			
				
																			
								Al3x 							 
									
		Posts:  19 Joined:  19 Aug 2014, 19:32 
		
						
					
													
							
						
									
						Post 
					 
								by Al3x  20 Aug 2014, 04:09 
			
			
			
			
			
			Ah brilliant.  I'm glad I wasn't losing my mind.  Thank you!