no duplicate in plex playlists creation (issue
MODIFY
trakt_list_util.py
trakt_list_util.py
@@ -39,7 +39,7 @@ def updatePlexList(self, plex):
logging.error("Playlist %s not found, so it could not be deleted. Actual playlists: %s" % (self.name, plex.playlists()))
pass
if len(self.plex_items) > 0:
- _, plex_items_sorted = zip(*sorted(self.plex_items))
+ _, plex_items_sorted = zip(*sorted(dict(reversed(self.plex_items)).items()))
plex.createPlaylist(self.name, items=plex_items_sorted)

no duplicate in plex playlists creation (issue #74)