add subliminal for subtitle download. #253

This commit is contained in:
clinton-hall 2014-06-27 17:04:44 +09:30
commit c3889c01b1
149 changed files with 34173 additions and 33 deletions

10
tests/general.py Normal file → Executable file
View file

@ -1,3 +1,4 @@
#! /usr/bin/env python2
import os
import datetime
import re
@ -10,4 +11,11 @@ nzbtomedia.initialize()
test = nzbtomedia.CFG['SickBeard','NzbDrone']['tv'].isenabled()
section = nzbtomedia.CFG.findsection('tv').isenabled()
print section
print section
from babelfish import Language
print Language('eng')
import subliminal
subliminal.cache_region.configure('dogpile.cache.memory')