mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-12-26 02:36:10 +00:00
Fix unicode error
For deleting playlists
This commit is contained in:
parent
441e05695a
commit
26c3bbf088
1 changed files with 1 additions and 1 deletions
|
@ -442,7 +442,7 @@ class Playlist(object):
|
||||||
dirs, files = xbmcvfs.listdir(path)
|
dirs, files = xbmcvfs.listdir(path)
|
||||||
for file in files:
|
for file in files:
|
||||||
if file.decode('utf-8').startswith('Emby'):
|
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):
|
class VideoNodes(object):
|
||||||
|
|
Loading…
Reference in a new issue