[Plain File Mode] How to rename only TV shows in a folder containing shows and movies
Posted: 18 Jul 2021, 06:58
Hi there
I'm not very experienced in the use of Filebot, so please bear with me!
I currently have a filebot command working to create TV show folder structures in an output folder based on filenames of files in the input folder:
This seems to execute OK.
However, the problem is that the input folder contains a mix of movies and TV shows and so I get folder structures in the output folder for both. Since I only what the TV shows, I thought of using --file-filter in the command with a conditional expression "s !== 0" on the assumption that the Season Number would not be set when Filebot parsed a movie file name. So this is how I changed the command:
Unfortunately this does not seem to be working. Filebot generates the following messages:
Would anyone be able to help me understand what I am doing wrong?
I'm not very experienced in the use of Filebot, so please bear with me!
I currently have a filebot command working to create TV show folder structures in an output folder based on filenames of files in the input folder:
Code: Select all
filebot -rename "C:\Users\xxxx\xxxx\STRM SAMPLE" --action copy --db file --format "C:\Users\xxxx\xxxx\TV SHOWS /{fn.before(/S\d+/)/fn.before(/S\d+/)} S{fn.match(/S(\d+)/).pad(2)}E{fn.match(/E(\d+)/).pad(2)}"
However, the problem is that the input folder contains a mix of movies and TV shows and so I get folder structures in the output folder for both. Since I only what the TV shows, I thought of using --file-filter in the command with a conditional expression "s !== 0" on the assumption that the Season Number would not be set when Filebot parsed a movie file name. So this is how I changed the command:
Code: Select all
filebot -rename "C:\users\xxxx\xxxx\STRM SAMPLE" --file-filter "s !== 0" --action copy --db file --format "C:\Users\xxxx\xxxx\TV SHOWS /{fn.before(/S\d+/)/fn.before(/S\d+/)} S{fn.match(/S(\d+)/).pad(2)}E{fn.match(/E(\d+)/).pad(2)}"
Code: Select all
"No files selected: [C:\Users\xxxx\xxxx\STRM SAMPLE]
* Consider using -r to process folders recursively
* Consider using --file-filter "true" to disable your file filter
Rename files using [Plain File]
Failed to identify or process any files".