Add TraktList.plex_items_sorted property
MODIFY
plextraktsync/trakt_list_util.py
plextraktsync/trakt_list_util.py
@@ -44,6 +44,11 @@ def __init__(self, username, listname):
]
self.trakt_items = dict(zip(prelist, count(1)))
+ @property
+ def plex_items_sorted(self):
+ _, items = zip(*sorted(dict(reversed(self.plex_items)).items()))
+ return items
+
@staticmethod
def from_trakt_list(listname, trakt_list):
tl = TraktList(None, listname)

Add TraktList.plex_items_sorted property