1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-13 21:05:01 -05:00
filebot/website/data/shell/src.groovy
2011-11-29 09:00:18 +00:00

11 lines
309 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 {
getMissingSubtitles(folder:it)
def renamedFiles = rename(folder:it)
compute(file:renamedFiles.findAll{ it.isVideo() })
}