I know it is "excluded" because it is a trailer. Dont I have any chance to rename this automatically? I am happy for any answer

This is not correct, no matter the filesize using AMC
Code: Select all
if (f.name =~ /(?<=\b|_)(?i:Sample|Trailer|...)(?=\b|_)/) {
log.finest "Ignore extra: $f"
return false
}
Code: Select all
if (f.name =~ /(?<=\b|_)(?i:Sample|-Trailer|...)(?=\b|_)/) {
log.finest "Ignore extra: $f"
return false
}
Code: Select all
// ignore trailer videos
if (f.name =~ /(?<=\b|_)(?i:Trailer)(?=\b|_) && f.length() < 300MB && any{ getMediaInfo(f, '{minutes}').toLong() * 60 * 1000L < 5 min.}{ false /* default if MediaInfo fails */ }) {
log.fine "Skip short trailer video: $f"
return false
}
rednoah wrote: ↑01 Apr 2022, 11:48 The amc script will ignore clutter files with extreme prejudice (e.g. any file path that contains the "trailer" keyword) so we can pick those out ahead of time and process them separately:Code: Select all
filebot -rename -r /input --output /output --format "{plex}" --db TheMovieDB::TV --order Airdate --file-filter "fn =~ /Trailer.Park.Boys/" --q 03796