From 26c3bbf0886421aa59548cb7540b47e200380400 Mon Sep 17 00:00:00 2001
From: angelblue05 <tamara.angel05@gmail.com>
Date: Sun, 24 Jun 2018 10:57:59 -0500
Subject: [PATCH] Fix unicode error

For deleting playlists
---
 resources/lib/views.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/resources/lib/views.py b/resources/lib/views.py
index 61d47986..cec43b61 100644
--- a/resources/lib/views.py
+++ b/resources/lib/views.py
@@ -442,7 +442,7 @@ class Playlist(object):
         dirs, files = xbmcvfs.listdir(path)
         for file in files:
             if file.decode('utf-8').startswith('Emby'):
-                self._delete_playlist(os.path.join(path, file))
+                self._delete_playlist(os.path.join(path, file.decode('utf-8')))
 
 
 class VideoNodes(object):