Add method to retrieve play history
MODIFY
plex_trakt_sync/plex_api.py
plex_trakt_sync/plex_api.py
@@ -501,6 +501,10 @@ def delete_playlist(self, name: str):
except (NotFound, BadRequest):
logger.debug(f"Playlist '{name}' not found, so it could not be deleted")
+ @nocache
+ def history(self, m):
+ yield from m.history()
+
@nocache
def mark_watched(self, m):
m.markWatched()

Add method to retrieve play history