From 50a886d8cdec85e6f651885768403082acc178d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20B=C3=A9tous?= Date: Sun, 25 Apr 2021 23:00:44 +0200 Subject: [PATCH] Fix bug when video name contains non-ascii symbols --- resources/lib/addon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/lib/addon.py b/resources/lib/addon.py index c4061a9..ed71327 100644 --- a/resources/lib/addon.py +++ b/resources/lib/addon.py @@ -392,7 +392,7 @@ class PeerTubeAddon(): kodi.debug( "Received metadata_downloaded signal, will start playing media") self.play = True - self.torrent_file = data["file"] + self.torrent_file = data["file"].encode("utf-8") def _select_instance(self, instance): """