Fix UnicodeEncodeError on playback startup

This commit is contained in:
croneter 2019-04-05 16:32:39 +02:00
parent d92ce36890
commit 11f636c4b9

View file

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