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

14 lines
267 B
Groovy
Raw Normal View History

// filebot -script fn:src <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() })
}