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

Check if there are multiple parts before requesting them #5416

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

Bond-009
Copy link
Member

If the property exists it should always be larger than 1 so the second check isn't really needed

If the property exists it should always be larger than 1 so the second
check isn't really needed
@Bond-009 Bond-009 requested a review from a team as a code owner April 24, 2024 16:26
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@jellyfin-bot
Copy link
Collaborator

Cloudflare Pages deployment

Latest commit 93f42e3
Status ✅ Deployed!
Preview URL https://af979a77.jellyfin-web.pages.dev
Type 🔀 Preview

View build logs
View bot logs

@nvllsvm nvllsvm self-requested a review April 24, 2024 16:41
Copy link
Member

@nvllsvm nvllsvm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I confirmed this change fixes the large amount of extraneous requests being made at the start of playback. That issue was causing me severe performance problems so I'm good with this being merged.


As a separate, future change - it might make more sense to only fetch the additional parts for the currently playing item rather than all the items at once. My guess is that playWithIntros.

@nvllsvm nvllsvm merged commit 074467e into master Apr 24, 2024
10 checks passed
@nvllsvm nvllsvm deleted the bond-multiparts branch April 24, 2024 17:17
@thornbill thornbill added the enhancement Improve existing functionality or small fixes label Apr 24, 2024
@thornbill thornbill added this to the v10.9.0 milestone Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improve existing functionality or small fixes
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants