Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect aired episodes in results from /sync/watched/shows/ #446

Open
maxhand opened this issue Mar 9, 2024 · 2 comments
Open

Incorrect aired episodes in results from /sync/watched/shows/ #446

maxhand opened this issue Mar 9, 2024 · 2 comments

Comments

@maxhand
Copy link

maxhand commented Mar 9, 2024

When I make a request to /sync/watched/shows, I'm observing that some shows have an incorrect value for airedEpisodes.

For example, with my own account if I look at all of my watched shows, the show with ID 190799 currently has 8 aired episodes. If I get the amount of aired episodes via https://api.trakt.tv/shows/190799 the value is 10. If I mark a new episode as watched, the number of aired episodes in the request from /sync/watched/shows now contains an accurate aired episode count.

This applies to any show that I've previously watched, hasn't had any episodes since the last time I watched, and then eventually has new aired episodes.

Is this expected behavior, or a bug?

@maxhand maxhand changed the title Incorrect aired episodes in results from /watched/ Incorrect aired episodes in results from /sync/watched/shows/ Mar 9, 2024
@tysonkerridge
Copy link

tysonkerridge commented Mar 9, 2024

More "expected" than "bug". Not really considered accurate enough to rely on solely. Basically due to caching as you've more or less found in the sense that it "updates" (invalidates) if you add something to your history.

This may help:
#17 (comment)

@maxhand
Copy link
Author

maxhand commented Mar 9, 2024

Thank you for the quick response! I think the thread you referred me to may point me in the direction of a better implementation, so thank you for that as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants