Running FileBot from the console, Groovy scripting, shell scripts, etc
			
		
		
			
				
																			
								Arctic0ne 							 
									
		Posts:  1 Joined:  29 Feb 2016, 23:39 
		
						
					
													
							
						
									
						Post 
					 
								by Arctic0ne  29 Feb 2016, 23:58 
			
			
			
			
			
			I finally got my script working the way I want, except for some reason it is ignoring my defined format settings for movies and TV shows and just doing the default "{n} S{s}E{e} - {t}" for TV and "{n} - ({y}/{n} ({y})" for movies.
Here is my script:
Code: Select all 
"C:\Program Files\FileBot\filebot.exe" -script fn:amc --output "D:/" --log-file amcbt.log --conflict override --action copy -non-strict --def excludelist=amc.txt "ut_dir=D:/Unsorted" "ut_kind=multi" --def SeriesFormat="D:/TV Shows/{n}/Season {s}/E{e.pad(2)}.{t}" --def movieformat="D:/Movies/{n} ({y})"
And 
here is my log file .
 
		 
				
		
		 
	 
				
		
		
			
				
								rednoah 							 
						The Source 			
		Posts:  24238 Joined:  16 Nov 2011, 08:59Location:  Taipei
				Contact: 
				
			 
				
		 
		
						
					
													
							
						
									
						Post 
					 
								by rednoah  01 Mar 2016, 03:46 
			
			
			
			
			
			Have you tried copy and pasting the example, and see if that works?
Code: Select all 
--def "seriesFormat=S:/TV/{n}/{'S'+s}/{fn}" "animeFormat=T:/Anime/{n}/{fn}" "movieFormat=M:/Movies/{ny}/{fn}" "musicFormat=N:/Music/{n}/{fn}"
Try that, confirm that it works, and then figure out what you're doing different. 
Hint: case matters.