From 11f636c4b925372c88701c3284ca639adbc0707f Mon Sep 17 00:00:00 2001 From: croneter Date: Fri, 5 Apr 2019 16:32:39 +0200 Subject: [PATCH] Fix UnicodeEncodeError on playback startup --- resources/lib/context_entry.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/lib/context_entry.py b/resources/lib/context_entry.py index e648ea06..211ca709 100644 --- a/resources/lib/context_entry.py +++ b/resources/lib/context_entry.py @@ -148,7 +148,8 @@ class ContextMenu(object): playqueue.clear() app.PLAYSTATE.context_menu_play = True handle = self.api.path(force_first_media=False, force_addon=True) - xbmc.executebuiltin('RunPlugin(%s)' % handle) + handle = 'RunPlugin(%s)' % handle + xbmc.executebuiltin(handle.encode('utf-8')) def _extras(self): """