From 962f5d0a5b09502ec2391c3a7cfb9e55c99e990b Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Sun, 9 Oct 2016 18:09:17 -0500 Subject: [PATCH 1/2] Fix encoding error Remove fake error --- resources/lib/librarysync.py | 1 - resources/lib/playutils.py | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/librarysync.py b/resources/lib/librarysync.py index e66cd6fb..5d8857f1 100644 --- a/resources/lib/librarysync.py +++ b/resources/lib/librarysync.py @@ -968,7 +968,6 @@ class LibrarySync(threading.Thread): def run(self): try: - val = 1/0 self.run_internal() except Warning as e: if "restricted" in e: diff --git a/resources/lib/playutils.py b/resources/lib/playutils.py index 907d4d21..e7b65af9 100644 --- a/resources/lib/playutils.py +++ b/resources/lib/playutils.py @@ -92,6 +92,7 @@ class PlayUtils(): log.info("File is direct streaming.") playurl = self.directStream() + playurl = playurl.encode('utf-8') # Set playmethod property window('emby_%s.playmethod' % playurl, value="DirectStream") From 5475ae449a403a19984329cbe8f6c5bdb0b82a09 Mon Sep 17 00:00:00 2001 From: angelblue05 Date: Sun, 9 Oct 2016 18:13:01 -0500 Subject: [PATCH 2/2] Version bump 2.2.42 --- addon.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addon.xml b/addon.xml index 78fb95da..69497e71 100644 --- a/addon.xml +++ b/addon.xml @@ -1,7 +1,7 @@