Add libtype to plex watchlist
MODIFY
plextraktsync/plex/PlexApi.py
plextraktsync/plex/PlexApi.py
@@ -235,10 +235,10 @@ def _plex_account(self):
logger.error(f"Error during {plex_username} account access: {e}")
return None
- def watchlist(self) -> Optional[List[Union[Movie, Show]]]:
+ def watchlist(self, libtype=None) -> Optional[List[Union[Movie, Show]]]:
if self.account:
try:
- return self.account.watchlist()
+ return self.account.watchlist(libtype=libtype)
except BadRequest as e:
logger.error(f"Error during {self.account.username} watchlist access: {e}")
return None

Add libtype to plex watchlist