filebot/website/data/shell/src.groovy

11 lines
285 B
Groovy

// filebot -script "http://filebot.sourceforge.net/data/shell/src.groovy" <folder>
/*
* Fetch subtitles, rename and calculate checksums for all video files
*/
args.eachMediaFolder {
getSubtitles(folder:it)
rename(folder:it)
compute(file:it.listFiles().findAll{ it.isVideo() })
}