1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-14 05:15:03 -05:00
filebot/website/data/shell/src.groovy

11 lines
309 B
Groovy
Raw Normal View History

// filebot -script "http://filebot.sourceforge.net/data/shell/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() })
}