Hi,
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 . Thank you so much
No autorenaming of "Trailer Park Boys"?
Re: No autorenaming of "Trailer Park Boys"?
If you click on the datasource to fetch data before you add any files it'll just fetch data and not perform any matching.
So:
1. Fetch data
2. Drop files
3. Align manually
4. Rename
So:
1. Fetch data
2. Drop files
3. Align manually
4. Rename
Please read the FAQ and How to Request Help.
Re: No autorenaming of "Trailer Park Boys"?
thanks rednoah, worked perfectly!
Re: No autorenaming of "Trailer Park Boys"?
FYI why Sample/Trailer files will not be excluded under any circumstance if the file size is 256 MB or more.
Are you just testing this case with a 0-byte file?
Are you just testing this case with a 0-byte file?
Please read the FAQ and How to Request Help.
Re: No autorenaming of "Trailer Park Boys"?
This is not correct, no matter the filesize using AMC
"Parameter: ut_label = Movie
Ignore extra: D:\test\movies\Trailer.Park.Boys.2014.mkv
No files selected for processing"
Now:
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
}
maybe a combo like this:
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
}
btw:
https://www.themoviedb.org/search?query=trailer
EDIT: I tested with "-Trailer" in AMC with a 0 byte file "Trailer.Park.Boys.S01E01.avi"
in strict mode it deletes the file:
"FROM amc - Parameter: minFileSize = 0
FROM amc - Parameter: minLengthMS = 0
FROM amc - Argument[0]: D:\test\tv
FROM amc - Input: D:\test\tv\Trailer.Park.Boys.S01E01.avi
Group: [tvs:trailer park boys] => [Trailer.Park.Boys.S01E01.avi]
..
Rank [Trailer Park Boys] => [Trailer Park Boys, Trailer Park Boys Podcast, Trailer Park Boys: Out of the Park]
CmdlineException: Multiple options: Advanced auto-selection requires -non-strict matching: [Trailer Park Boys, Trailer Park Boys Podcast, Trailer Park Boys: Out of the Park]
Clean clutter files and empty folders
Delete D:\test\tv\Trailer.Park.Boys.S01E01.avi
Finished without processing any files
Failure (°_°)"
so "cleaner.groovy" need to be updated to
EDIT EDIT:
Plex uses the trailer files:
https://support.plex.tv/hc/en-us/articl ... ets-Movies
https://support.plex.tv/hc/en-us/articl ... ers-Extras
Re: No autorenaming of "Trailer Park Boys"?
The amc script is more strict than FileBot when it comes to filtering out files before processing. You won't be able to process this one particular show with the amc script.
Please read the FAQ and How to Request Help.
Re: No autorenaming of "Trailer Park Boys"?
Sorry for resurrecting this old thread, but it seems that "Trailerpark Boys" works okay.
Re: No autorenaming of "Trailer Park Boys"?
"Trailer Park" doesn't work, because "Trailer" appears as distinct keyword.
"Trailerpark" works because it's a distinct word not on the blacklist.
"Trailerpark" works because it's a distinct word not on the blacklist.
Please read the FAQ and How to Request Help.
Re: No autorenaming of "Trailer Park Boys"?
[DOCS] How do I process specific files with specific command-line options?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
Please read the FAQ and How to Request Help.