Add method to retrieve play history
@@ -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()
