* utorrent-postprocess anime-mode: If it has a Japanese audio track and an Advanced Substation Alpha subtitle track one can be pretty sure it's Anime. Gonna add it this way to utorrent-postprocess.

This commit is contained in:
Reinhard Pointner 2013-01-28 07:12:52 +00:00
parent e08539b264
commit eb0027d691
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ def forceSeries(f) {
}
def forceAnime(f) {
tryQuietly{ ut_label } =~ /^(?i:Anime)/
tryQuietly{ ut_label } =~ /^(?i:Anime)/ || (f.isVideo() && (f.name =~ "[\\(\\[]\\p{XDigit}{8}[\\]\\)]" || getMediaInfo(file:f, format:'''{media.AudioLanguageList} {media.TextCodecList}''').tokenize().containsAll(['Japanese', 'ASS'])))
}
def forceIgnore(f) {