Add add_to_collection proxy method
The proxy method to handle rate limit and no cache
MODIFY
plex_trakt_sync/trakt_api.py
plex_trakt_sync/trakt_api.py
@@ -132,6 +132,11 @@ def rate(self, m, rating):
def mark_watched(self, m, time):
m.mark_as_seen(time)
+ @nocache
+ @rate_limit(delay=TRAKT_POST_DELAY)
+ def add_to_collection(self, m):
+ m.add_to_library()
+
@rate_limit()
def find_movie(self, movie):
try:

Add add_to_collection proxy method

The proxy method to handle rate limit and no cache