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-05 00:29:59 +00:00
/*
* Fetch subtitles, rename and calculate checksums for all video files
*/
args.eachMediaFolder {
2012-01-05 05:30:22 +00:00
getMissingSubtitles(folder:it)
2012-01-05 05:30:22 +00:00
2011-11-29 09:00:18 +00:00
def renamedFiles = rename(folder:it)
2012-01-05 05:30:22 +00:00
2011-11-29 09:00:18 +00:00
compute(file:renamedFiles.findAll{ it.isVideo() })
}