mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-10 04:06:11 +00:00
Fix HTTP subtitles encoding
This commit is contained in:
parent
106def9014
commit
2d1f1841a5
1 changed files with 1 additions and 0 deletions
|
@ -298,6 +298,7 @@ class PlaybackUtils():
|
|||
|
||||
try:
|
||||
response = requests.get(src, stream=True)
|
||||
response.encoding = 'utf-8'
|
||||
response.raise_for_status()
|
||||
except Exception as e:
|
||||
del response
|
||||
|
|
Loading…
Reference in a new issue