Ensure plex server is accessed with cache disabled
MODIFY
plex_trakt_sync/commands/sync.py
plex_trakt_sync/commands/sync.py
import click
+from plex_trakt_sync.requests_cache import requests_cache
from plex_trakt_sync.main import get_plex_server
from plex_trakt_sync.config import CONFIG
from plex_trakt_sync.decorators import measure_time
def sync_all():
+ with requests_cache.disabled():
server = get_plex_server()
listutil = TraktListUtil()
plex = PlexApi(server)
@@ -30,6 +32,7 @@ def sync_all():
for lst in trakt_liked_lists:
listutil.addList(lst['username'], lst['listname'])
+ with requests_cache.disabled():
logging.info("Server version {} updated at: {}".format(server.version, server.updatedAt))
logging.info("Recently added: {}".format(server.library.recentlyAdded()[:5]))

Ensure plex server is accessed with cache disabled