|
|
@ -36,7 +36,6 @@ def store_subtitles(file):
|
|
|
|
languages = []
|
|
|
|
languages = []
|
|
|
|
actual_subtitles = []
|
|
|
|
actual_subtitles = []
|
|
|
|
print file
|
|
|
|
print file
|
|
|
|
print file.encode('utf-8')
|
|
|
|
|
|
|
|
if os.path.exists(file):
|
|
|
|
if os.path.exists(file):
|
|
|
|
if os.path.splitext(file)[1] == '.mkv':
|
|
|
|
if os.path.splitext(file)[1] == '.mkv':
|
|
|
|
try:
|
|
|
|
try:
|
|
|
@ -116,7 +115,7 @@ def series_scan_subtitles(no):
|
|
|
|
c_db.close()
|
|
|
|
c_db.close()
|
|
|
|
|
|
|
|
|
|
|
|
for episode in episodes:
|
|
|
|
for episode in episodes:
|
|
|
|
store_subtitles(path_replace(episode[0]).encode('utf-8'))
|
|
|
|
store_subtitles(path_replace(episode[0].encode('utf-8')))
|
|
|
|
|
|
|
|
|
|
|
|
list_missing_subtitles(no)
|
|
|
|
list_missing_subtitles(no)
|
|
|
|
|
|
|
|
|
|
|
@ -127,4 +126,4 @@ def new_scan_subtitles():
|
|
|
|
c_db.close()
|
|
|
|
c_db.close()
|
|
|
|
|
|
|
|
|
|
|
|
for episode in episodes:
|
|
|
|
for episode in episodes:
|
|
|
|
store_subtitles(path_replace(episode[0]).encode('utf-8'))
|
|
|
|
store_subtitles(path_replace(episode[0].encode('utf-8')))
|