Dispatcharr/frontend
nemesbak 5fbe38f8d2 fix(vod): respect relation_id when switching providers in SeriesModal/VODModal
The provider-info endpoints for both series and movies always returned
data from the highest-priority relation, ignoring the provider the user
had selected in the dropdown. Switching sources in the UI produced no
change in the episode list or movie details.

Root cause: the endpoints had no support for a relation_id query param,
and the frontend never passed one when the user changed the selection.

Fix (backend):
- series provider-info: accept ?relation_id=<id> and query that specific
  M3USeriesRelation; fall back to highest-priority when omitted
- movie provider-info: same treatment for M3UMovieRelation

Fix (frontend):
- api.getSeriesInfo / api.getMovieProviderInfo accept an optional
  relationId argument and append it to the query string
- useVODStore.fetchSeriesInfo / fetchMovieDetailsFromProvider forward
  the argument to the API layer
- SeriesModal.onChangeSelectedProvider re-fetches series info (episodes
  included) with the newly selected relation's id
- VODModal.onChangeSelectedProvider re-fetches movie details with the
  newly selected relation's id

Fixes #1250

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-28 13:39:04 +02:00
..
public Switch to LF line endings and apply prettier formatting. 2026-02-09 17:01:35 -06:00
src fix(vod): respect relation_id when switching providers in SeriesModal/VODModal 2026-05-28 13:39:04 +02:00
.gitignore full mantine refactor 2025-03-11 17:43:16 -04:00
eslint.config.js Switch to LF line endings and apply prettier formatting. 2026-02-09 17:01:35 -06:00
index.html Switch to LF line endings and apply prettier formatting. 2026-02-09 17:01:35 -06:00
package-lock.json Update @xmldom/xmldom to version 0.8.13 and postcss to version 8.5.13 in package-lock.json 2026-05-01 21:08:56 -05:00
package.json Security: Update npm dependencies to resolve vulnerabilities. 2026-02-21 16:11:06 -06:00
prettier.config.js Switch to LF line endings and apply prettier formatting. 2026-02-09 17:01:35 -06:00
README.md full mantine refactor 2025-03-11 17:43:16 -04:00
vite.config.js Add TV guide utility tests and vitest setup 2025-09-21 10:00:15 -05:00

React + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

Expanding the ESLint configuration

If you are developing a production application, we recommend using TypeScript and enable type-aware lint rules. Check out the TS template to integrate TypeScript and typescript-eslint in your project.