So the logic would be
Code: Select all
while (check filename for prefix )
{rename the file }
usual matching using movieformat and seriesformat
Code: Select all
while (check filename for prefix )
{rename the file }
usual matching using movieformat and seriesformat
rednoah wrote: ↑31 Jul 2014, 16:40
- Include Screenshots (absolutely required for new topics)
- Include file paths as text when reporting mismatches (press F7 to copy debug information)
This means that you will have to write a custom shell script (in which you can then use any shell script code that you like) and then use that as your top-level entry script. In your custom shell script you can then do multiple filebot calls as needed. (NOTE: you cannot modify the amc script and you don't necessarily need any if-then-else or do-while loops in your custom shell script)rednoah wrote: ↑26 Nov 2022, 16:30You could use Plain File Mode to clean up file names ahead-of-time with one filebot command, and then process files proper with another filebot command.
Code: Select all
$ filebot -rename *.mkv --db file --format "{ fn.removeAll(/www.TamilBlasters.autos.-./) }" --log INFO
[MOVE] from [www.TamilBlasters.autos - Bhoomi Enna Suthuthey (2022) S01EP01.mkv] to [Bhoomi Enna Suthuthey (2022) S01EP01.mkv]
Code: Select all
$ filebot -rename -r *.mkv --format "{plex.name}" --db TheMovieDB::TV --file-filter "fn =~ /Bhoomi.Enna.Suthuthey/" --q 129043 --log INFO
[MOVE] from [www.TamilBlasters.autos - Bhoomi Enna Suthuthey (2022) S01EP01.mkv] to [Kudi Yedamaithe - S01E01 - Him & Her.mkv]