1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-26 01:38:57 -05:00
filebot/website/data/shell/src.groovy
2011-11-05 00:29:59 +00:00

11 lines
285 B
Groovy

// filebot -script "http://filebot.sourceforge.net/data/shell/src.groovy" <folder>
/*
* Fetch subtitles, rename and calculate checksums for all video files
*/
args.eachMediaFolder {
getSubtitles(folder:it)
rename(folder:it)
compute(file:it.listFiles().findAll{ it.isVideo() })
}