1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-25 17:28:51 -05:00
filebot/website/scripts/src.groovy

11 lines
297 B
Groovy
Raw Normal View History

// filebot -script "http://filebot.sf.net/scripts/src.groovy" <folder>
2011-11-04 20:29:59 -04:00
/*
* Fetch subtitles, rename and calculate checksums for all video files
*/
args.eachMediaFolder {
getMissingSubtitles(folder:it)
2011-11-29 04:00:18 -05:00
def renamedFiles = rename(folder:it)
compute(file:renamedFiles.findAll{ it.isVideo() })
}