Use h.viewedAt property for play history
@@ -77,7 +77,7 @@ def inspect_media(id):
print("Play history:")
for h in m.plex_history(device=True, account=True):
- print(f"- {h.lastViewedAt} by {h.account.name} with {h.device.name} on {h.device.platform}")
+ print(f"- {h.viewedAt} by {h.account.name} with {h.device.name} on {h.device.platform}")
@click.command()
