filebot/website/data/shell/mi.groovy

10 lines
338 B
Groovy
Raw Normal View History

2011-11-29 09:00:18 +00:00
// filebot -script "http://filebot.sourceforge.net/data/shell/mi.groovy" <folder>
/*
* Print media info for all video files using given or default format pattern
*/
args.getFiles()
.findAll { it.isVideo() }
.sort { a, b -> a.name.compareTo(b.name) }
2011-11-29 09:00:18 +00:00
.each { println getMediaInfo(file:it, format:"{fn} [{resolution} {af} {vc} {ac}]") }