1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-10 19:35:15 -05:00
filebot/website/scripts/src.groovy

14 lines
303 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 {
2012-01-05 00:30:22 -05:00
getMissingSubtitles(folder:it)
2012-01-05 00:30:22 -05:00
2011-11-29 04:00:18 -05:00
def renamedFiles = rename(folder:it)
2012-01-05 00:30:22 -05:00
2011-11-29 04:00:18 -05:00
compute(file:renamedFiles.findAll{ it.isVideo() })
}