mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2024-11-24 22:10:19 +00:00
Fix unicode error
For deleting playlists
This commit is contained in:
parent
441e05695a
commit
26c3bbf088
@ -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 New Issue
Block a user