Keeps Creating Subfolders and Format Naming Issue
Posted: 09 Jun 2013, 18:51
Hi FileBot Community,
I am going gray over this - it all started because I wished to add [<genre list] to the name of the files so I copied all my collection to "_To Sort" folder and run the following command on it:
The movieFormat is taken directly from the "http://www.filebot.net/scripts/amc.groovy" script. This results in two problems one is that CD$pi and $lang are not subsitituded ( I assume you need this bit so that multi boot cd files would show CD1, CD2 appended as needed) and two which is so puzzling is that the input folder is duplicated. I'll explain with an example:
If input file was: 'H:/Media Library/_To Sort/Foo Movie 2011/Foo Movie 2011.avi' the out becomes 'H:/Media Library/Movies/Foo Movie 2011/Foo Movie 2011 [genre, genre]/Foo Movie 2011 [genre, genre].avi'
I am at a loss what to do here! Obviously I don't want the containing folder of the movie copied! The second part is how do I specify the {\" CD$pi\"}{\".$lang\"}" bit correctly.
I am going gray over this - it all started because I wished to add [<genre list] to the name of the files so I copied all my collection to "_To Sort" folder and run the following command on it:
Code: Select all
_FileBot Portable\filebot.cmd" -script fn:amc "H:/Media Library/_To Sort" --output "H:/Media Library" --log-file "H:/Media Library/_Run FileBot on _To Sort.log" --action copy --conflict override -non-strict --def music=y subtitles=en artwork=y clean=y "movieFormat=Movies/{n} ({y})/{n} ({y}){\" CD$pi\"}{\".$lang\"}"
If input file was: 'H:/Media Library/_To Sort/Foo Movie 2011/Foo Movie 2011.avi' the out becomes 'H:/Media Library/Movies/Foo Movie 2011/Foo Movie 2011 [genre, genre]/Foo Movie 2011 [genre, genre].avi'
I am at a loss what to do here! Obviously I don't want the containing folder of the movie copied! The second part is how do I specify the {\" CD$pi\"}{\".$lang\"}" bit correctly.