mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-25 18:26:15 +00:00
Fix encoding error
Remove fake error
This commit is contained in:
parent
d5d63263a9
commit
962f5d0a5b
2 changed files with 1 additions and 1 deletions
|
@ -968,7 +968,6 @@ class LibrarySync(threading.Thread):
|
||||||
def run(self):
|
def run(self):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
val = 1/0
|
|
||||||
self.run_internal()
|
self.run_internal()
|
||||||
except Warning as e:
|
except Warning as e:
|
||||||
if "restricted" in e:
|
if "restricted" in e:
|
||||||
|
|
|
@ -92,6 +92,7 @@ class PlayUtils():
|
||||||
|
|
||||||
log.info("File is direct streaming.")
|
log.info("File is direct streaming.")
|
||||||
playurl = self.directStream()
|
playurl = self.directStream()
|
||||||
|
playurl = playurl.encode('utf-8')
|
||||||
# Set playmethod property
|
# Set playmethod property
|
||||||
window('emby_%s.playmethod' % playurl, value="DirectStream")
|
window('emby_%s.playmethod' % playurl, value="DirectStream")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue