Segrigating One Genre
Segrigating One Genre
I have my setup into four different folders: Movies, TV Shows, Kids TV Shows, Kids Movies. I would like filebot to put only Kids and Family genres into the Kids Folders and allow everything else to go into the Movies and TV shows folders. I have found separate genres into genre specific folders on the forums, but I do not want to necessarily mention the genre in folders, I just want that to determine if its a kids movie or not. Can someone please help. I'm OK with java and scripting. This is also being run by utorrent.
Re: Segrigating One Genre
Yes?
Code: Select all
{genres =~ /Kids|Family/ ? 'Kids Folder' : 'Everything Else Folder'}
Re: Segrigating One Genre
Thank you so much red noah, I've been playing with this for a couple of hours now, and I cannot figure out where to put the code. Can you help me get on the correct track. I guess I failed to mention that Movies, TV Shows, Kids TV Shows, Kids Movies are all separate folders in the same directory, I'll go ahead and leave the code so far. Please help.
filebot -script fn:amc --output "Q:\Library\Video\{genres =~ /Kids|Family/ ? 'Kids Movies|Kids TV Shows' : 'Movies|TV Shows'}" --log-file amc.log --action move --conflict override -non-strict --def music=n subtitles=en artwork=n clean=y "ut_label=%L" "ut_state=%S" "ut_title=%N" "ut_kind=%K" "ut_file=%F" "ut_dir=%D" "seriesFormat=Q:/Library/Video/TV Shows/{n}/{'Season '+s}/ {n} - {sxe} - {t}" "movieFormat=Q:/Library/Video/Movies/{n} ({y})/ {n} ({y})"
filebot -script fn:amc --output "Q:\Library\Video\{genres =~ /Kids|Family/ ? 'Kids Movies|Kids TV Shows' : 'Movies|TV Shows'}" --log-file amc.log --action move --conflict override -non-strict --def music=n subtitles=en artwork=n clean=y "ut_label=%L" "ut_state=%S" "ut_title=%N" "ut_kind=%K" "ut_file=%F" "ut_dir=%D" "seriesFormat=Q:/Library/Video/TV Shows/{n}/{'Season '+s}/ {n} - {sxe} - {t}" "movieFormat=Q:/Library/Video/Movies/{n} ({y})/ {n} ({y})"
Re: Segrigating One Genre
Use the Format Editor in the GUI to experiment with the format. What's the issue? The snipped I gave you is pretty much copy and paste. Obviously this has to be part of the format. In your case --output is completely ignored since you specify absolute paths in the format anyway.
Code: Select all
Q:/Library/Video/{genres =~ /Kids|Family/ ? 'Kids Shows' : 'TV Shows'}/{n}/{'Season '+s}/ {n} - {sxe} - {t}