This commit is contained in:
angelblue05 2016-02-24 18:39:21 -06:00
parent 60a178165d
commit dc7473bfae
1 changed files with 10 additions and 9 deletions

View File

@ -493,6 +493,7 @@ class LibrarySync(threading.Thread):
current_tagid, tagid, item[0], current_viewtype[:-1]) current_tagid, tagid, item[0], current_viewtype[:-1])
else: else:
# Validate the playlist exists or recreate it # Validate the playlist exists or recreate it
if mediatype != "music":
if (foldername not in playlists and if (foldername not in playlists and
mediatype in ('movies', 'tvshows', 'musicvideos')): mediatype in ('movies', 'tvshows', 'musicvideos')):
utils.playlistXSP(mediatype, foldername, folderid, viewtype) utils.playlistXSP(mediatype, foldername, folderid, viewtype)