Search found 4 matches

by stork
30 Jul 2013, 14:01
Forum: Scripting and Automation
Topic: exclude some files before processing
Replies: 3
Views: 3485

Re: exclude some files before processing

Sure, but I'm a bit overwhelmed in regard to groovy. is "files" a predefined list or can I do something like

def subs = files{
!(it =~ /(?i:Futurama.)/) \
&& !(it =~ /(?i:Family Guy.)/) \
}

// fetch subtitles
subs += getSubtitles(file:subs)


rename(file:subs, db:'TVRage', format ...
by stork
26 Jul 2013, 09:37
Forum: Scripting and Automation
Topic: exclude some files before processing
Replies: 3
Views: 3485

exclude some files before processing

hi,

I use this script: http://www.filebot.net/scripts/sorty.groovy and would like to exclude some files before


// fetch subtitles
files += getSubtitles(file:files)


Essentially moving them immediately with


rename(file:files, db:'TVRage', format:episodeFormat, strict:false)


before ...
by stork
26 Jul 2013, 09:25
Forum: Episode / Movie Naming Scheme
Topic: slashes in titles create subdirs when renaming
Replies: 4
Views: 5824

slashes in titles create subdirs when renaming

hi,

I use the this script http://www.filebot.net/scripts/sorty.groovy for renaming tv series.

when the title of the episode contains slashes (like http://tv-series.me/switched-at-birth-s2-e6-humanneeddesire/) the rename doesn't sanitizes the slashes by converting them to something safe but blindly ...