Cleanup unused TraktList updatePlexList
from trakt.utils import extract_ids, slugify
from plextraktsync.factory import logger
-from plextraktsync.plex_api import PlexApi
class LazyUserList(UserList):
@@ -64,12 +63,6 @@ def addPlexItem(self, trakt_item, plex_item):
else:
logger.info(f"Added to list {self.name}: {plex_item}")
- def updatePlexList(self, plex: PlexApi):
- plex.delete_playlist(self.name)
-
- if len(self.plex_items) > 0:
- plex.create_playlist(self.name, self.plex_items)
-
class TraktListUtil:
def __init__(self):
