1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-17 23:05:03 -05:00
filebot/website/scripts/src.groovy
Reinhard Pointner 4e20fca248 * clean-up
2012-01-05 05:30:22 +00:00

14 lines
303 B
Groovy

// filebot -script "http://filebot.sf.net/scripts/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() })
}