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

fix(tautulli): fetch additional user history as necessary to return 20 unique media #2446

Merged
merged 7 commits into from
Mar 14, 2022

Conversation

TheCatLady
Copy link
Collaborator

Description

Currently, the user "recently watched" results are the result of deduping a single Tautulli get_history API call. This PR changes the behavior to fetch additional results until there are 20 unique media, in case a user watches a lot of TV shows (especially long-running series with many episodes).

Screenshot (if UI-related)

N/A

To-Dos

  • Successful build yarn build

Issues Fixed or Closed

N/A

@TheCatLady TheCatLady requested a review from sct as a code owner January 20, 2022 17:13
server/api/tautulli.ts Outdated Show resolved Hide resolved
server/routes/user/index.ts Outdated Show resolved Hide resolved
@TheCatLady TheCatLady force-pushed the fix/tautulli/user-history branch 3 times, most recently from 57b0d2d to 5e242db Compare January 27, 2022 14:10
@TheCatLady TheCatLady force-pushed the fix/tautulli/user-history branch 2 times, most recently from 743321f to a29b91e Compare March 14, 2022 13:30
@danshilm danshilm merged commit 7d19de6 into develop Mar 14, 2022
@danshilm danshilm deleted the fix/tautulli/user-history branch March 14, 2022 17:31
@github-actions
Copy link

github-actions bot commented Apr 1, 2022

🎉 This PR is included in version 1.29.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

None yet

3 participants