Added check for empty playlist
MODIFY
trakt_list_util.py
trakt_list_util.py
@@ -30,6 +30,7 @@ def updatePlexList(self, plex):
except (NotFound, BadRequest):
logging.error("Playlist %s not found, so it could not be deleted. Actual playlists: %s" % (self.name, plex.playlists()))
pass
+ if len(self.plex_movies) > 0:
plex.createPlaylist(self.name, items=self.plex_movies)

Added check for empty playlist