Fix encoding error

Remove fake error
This commit is contained in:
angelblue05 2016-10-09 18:09:17 -05:00
parent d5d63263a9
commit 962f5d0a5b
2 changed files with 1 additions and 1 deletions

View file

@ -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:

View file

@ -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")