Hi there,
I was trying to use -media info to check if my movies all had at least a two audio lines... but it also wrote out all the audio lines for .nfo files... which I don't need in my info.
So I used --filter "ext != /nfo/" to filter it out... which did not work...
Is is possible that --filter does not work with -mediainfo?
Cheers
Automator
--filter option not applying with -mediainfo?
Re: --filter option not applying with -mediainfo?
--filter indeed does not work for -mediainfo
--filter is used for -rename and amc script calls where it is used to filter metadata. It can't be used to filter input files. You can use find | xargs for that.
--filter is used for -rename and amc script calls where it is used to filter metadata. It can't be used to filter input files. You can use find | xargs for that.
Re: --filter option not applying with -mediainfo?
For all the people who are not master of find and xargs here is a sample:
Code: Select all
find /path/where/you/want/to/search/ -name "*.mkv" -print0 | xargs -0 filebot -mediainfo --format "{fn}.{ext}:{media.AudioCount}"
Re: --filter option not applying with -mediainfo?
-mediainfo --filter supported with r3160