Fix missing extension for playlists

This commit is contained in:
angelblue05 2018-02-05 01:52:53 -06:00
parent ef00029ed0
commit b1035f8e69

View file

@ -387,7 +387,7 @@ class Playlist(object):
xsp_path = os.path.join(path, "Emby %s - %s.xsp" % (view_id, media_type)) xsp_path = os.path.join(path, "Emby %s - %s.xsp" % (view_id, media_type))
else: else:
playlist_name = tag playlist_name = tag
xsp_path = os.path.join(path, "Emby %s" % view_id) xsp_path = os.path.join(path, "Emby %s.xsp" % view_id)
# Only add the playlist if it doesn't exist # Only add the playlist if it doesn't exist
if xbmcvfs.exists(xsp_path): if xbmcvfs.exists(xsp_path):