Possible to selectively write mediainfo using mi.groovy?
Posted: 13 Feb 2020, 17:49
Seeing DevXen's use of text files here: DevXen's Enhanced TV SHOW Perfection Naming Scheme I was wondering what the best way to generate such a .csv (or .tsv) would be. (Not necessarily for name checking, but possibly.)
I know there is the "mi.groovy" script shown here: Media Index TSV, but that contains far more info than I am looking for. I also saw a way to call specific MediaInfo parameters using the bindings as shown here: MediaInfo Inspector
I'm probably blind and/or thick, but is there a way to use but with only certain MediaInfo properties?
Primarily I'm just looking to have a glorified file list, something between a simple output of the file directory and the full "MediaIndex.TSV" above.
Among other possibilities, one use case example: my naming scheme usually includes something like If I have another 720p file, but maybe HDTV, FileBot wouldn't see that as a duplicate. I thought maybe if I had a text file (a la .excludes) to match against that had the attributes I don't want duplicated, say only one HDTV version or only one 720p version, that would be beneficial.
That's just one thing I might want to use it for.
Am I thinking too much/little?
I know there is the "mi.groovy" script shown here: Media Index TSV, but that contains far more info than I am looking for. I also saw a way to call specific MediaInfo parameters using the bindings as shown here: MediaInfo Inspector
I'm probably blind and/or thick, but is there a way to use
Code: Select all
filebot -script fn:mi --output /path/to/MediaIndex.tsv /path/to/media/
Primarily I'm just looking to have a glorified file list, something between a simple output of the file directory and the full "MediaIndex.TSV" above.
Among other possibilities, one use case example: my naming scheme usually includes something like
Code: Select all
Firefly S01E01 Serenity [Internal] [42 Min] [2002.12.20] [WEB-DL] [AVC 720p AAC 2ch]
That's just one thing I might want to use it for.
Am I thinking too much/little?
