Fix missing extension for playlists

This commit is contained in:
angelblue05 2018-02-05 01:52:53 -06:00
parent ef00029ed0
commit b1035f8e69
1 changed files with 1 additions and 1 deletions

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):