Use TVShow.collection_progress() method
from plextraktsync.factory import factory, logger, logging
from plextraktsync.path import pytrakt_file
from plextraktsync.plex_api import PlexGuid, PlexLibraryItem
+from plextraktsync.pytrakt_extensions import ShowProgress
class ScrobblerProxy:
@@ -311,7 +312,8 @@ def remove_from_watchlist(self, m, batch=False):
@rate_limit()
@retry()
def collected(self, tm: TVShow):
- return pytrakt_extensions.collected(tm.trakt)
+ data = tm.collection_progress(specials=True)
+ return ShowProgress(**data)
def find_by_guid(self, guid: PlexGuid):
if guid.type == "episode" and guid.is_episode:
