|
|
|
@ -35,10 +35,8 @@ def list_subtitles(file):
|
|
|
|
|
def store_subtitles(file):
|
|
|
|
|
languages = []
|
|
|
|
|
actual_subtitles = []
|
|
|
|
|
print file
|
|
|
|
|
if os.path.exists(file):
|
|
|
|
|
print "exist"
|
|
|
|
|
if os.path.splitext(file)[1] == '.mkv':
|
|
|
|
|
if os.path.splitext(file)[1] == '.mkv':
|
|
|
|
|
try:
|
|
|
|
|
with open(file, 'rb') as f:
|
|
|
|
|
mkv = enzyme.MKV(f)
|
|
|
|
|