|
|
@ -36,6 +36,8 @@ def store_subtitles(file):
|
|
|
|
languages = []
|
|
|
|
languages = []
|
|
|
|
actual_subtitles = []
|
|
|
|
actual_subtitles = []
|
|
|
|
if os.path.exists(file.encode('utf-8')):
|
|
|
|
if os.path.exists(file.encode('utf-8')):
|
|
|
|
|
|
|
|
print file
|
|
|
|
|
|
|
|
print file.encode('utf-8')
|
|
|
|
if os.path.splitext(file)[1] == '.mkv':
|
|
|
|
if os.path.splitext(file)[1] == '.mkv':
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
with open(file, 'rb') as f:
|
|
|
|
with open(file, 'rb') as f:
|
|
|
|