Skip to content

fix: align episode streams modal provider sorting with streams screen#759

Open
AbdelilahOu wants to merge 1 commit intoNuvioMedia:mainfrom
AbdelilahOu:fix/episode-streams-modal-provider-order
Open

fix: align episode streams modal provider sorting with streams screen#759
AbdelilahOu wants to merge 1 commit intoNuvioMedia:mainfrom
AbdelilahOu:fix/episode-streams-modal-provider-order

Conversation

@AbdelilahOu
Copy link
Copy Markdown

@AbdelilahOu AbdelilahOu commented Apr 6, 2026

Summary

Align episode stream provider ordering in the player modal with the main Streams screen logic.

EpisodeStreamsModal now sorts providers using the same rules as useStreamsScreen:

  • Installed addons first, in installation order
  • Plugin providers after addons, ordered by addonResponseOrder (response order)

Also passes addonResponseOrder from both player implementations into the modal
(AndroidVideoPlayer and KSPlayerCore) so sorting is consistent on both platforms.

PR type

  • Bug fix

Why

Provider ordering in the episode streams modal could differ from the main Streams screen,
which caused inconsistent source ordering for the same content.
This change makes provider ordering consistent across both entry points.

Policy check

  • This PR is not cosmetic only.
  • This PR does not add a new major feature without prior approval.
  • This PR is small in scope and focused on one problem.
  • If this is a larger or directional change, I linked the issue where it was approved.

Testing

  • iOS tested
  • Android tested

Manual testing:

  • Open episodic content in player
  • Open Episode Streams modal
  • Verify installed addons appear first in installation order
  • Verify plugin providers are ordered by response order
  • Verify ordering matches Streams screen behavior

Automated:

  • npx tsc --noEmit passed

Screenshots / Video (UI changes only)

None (behavioral/sorting fix only)

Breaking changes

None

Linked issues

N/A

@AbdelilahOu
Copy link
Copy Markdown
Author

I have been using this app, for the past month and its been great honestly, switched from stremio becouse of the better tracking and UI, i have more add-ons installed than the official http add-on for streams and when i wanna watch the next episode i have to scroll down to find the http streams even if its set as the first one in settings, so I created this pr to fix that

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

Successfully merging this pull request may close these issues.

1 participant