mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-14 18:47:09 -07:00
add subliminal for subtitle download. #253
This commit is contained in:
parent
47289c903a
commit
c3889c01b1
149 changed files with 34173 additions and 33 deletions
10
tests/general.py
Normal file → Executable file
10
tests/general.py
Normal file → Executable 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')
|
Loading…
Add table
Add a link
Reference in a new issue