Revert "Fix playback not starting in some cirrcumstances"
This reverts commit f9037dcbd8
.
This commit is contained in:
parent
368c902458
commit
3d58b93107
1 changed files with 1 additions and 3 deletions
|
@ -2395,11 +2395,9 @@ class API():
|
||||||
log.error('Could not temporarily download subtitle %s' % url)
|
log.error('Could not temporarily download subtitle %s' % url)
|
||||||
return
|
return
|
||||||
else:
|
else:
|
||||||
log.debug('Writing temp subtitle to %s' % path)
|
|
||||||
r.encoding = 'utf-8'
|
r.encoding = 'utf-8'
|
||||||
with open(path, 'wb') as f:
|
with open(path, 'wb') as f:
|
||||||
# r.content does not always seem to be encoded!
|
f.write(r.content)
|
||||||
f.write(tryEncode(r.content))
|
|
||||||
return path
|
return path
|
||||||
|
|
||||||
def GetKodiPremierDate(self):
|
def GetKodiPremierDate(self):
|
||||||
|
|
Loading…
Reference in a new issue