Find media files by searching in the metadata
- Node 8 or newer
- mediainfo executable in
Supported media mime-types
The current list of supported mime-types is
However, as Mediainfo is utilised for reading the metadata, it should be fairly simple to expand that to include both
$ npm install -g media-inspector
$ media-inspector --read <path/to/directory> --filter <path/to/filter>
examples folder for examples of filters.
$ media-inspector --read <path/to/directory> --filter examples/filter-default.json --include-auxiliary --verbose
How filters work
filter is a list of
rule is a prioritised list of
rule is considered satisfied when all its
conditions are satisfied.
When a media file satisfies all the
conditions of any
rule, that media-file is considered a match.