1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-11-17 06:45:06 -05:00
filebot/website/scripts/src.groovy
Reinhard Pointner 6d341807d4 * simplify syntax for passing in script variables
=> changed -Xa=x -Xb=y... to --def a=x b=y ...
2012-07-28 21:17:29 +00:00

14 lines
267 B
Groovy

// filebot -script fn:src <folder>
/*
* Fetch subtitles, rename and calculate checksums for all video files
*/
args.eachMediaFolder {
getMissingSubtitles(folder:it)
def renamedFiles = rename(folder:it)
compute(file:renamedFiles.findAll{ it.isVideo() })
}