Stremio - Freedom to Stream
Find a file
Lakshay 467b049ef3 feat(player): add dual subtitle support for language learning (desktop only)
Adds a "Secondary Subtitle" section to the player subtitles menu,
allowing users to select a second subtitle track that renders
simultaneously with the primary one. Gated to desktop only via
platform.shell.active since it relies on mpv's secondary-sid.

- Add setSecondarySubtitlesTrack to useVideo hook
- Add selectSecondaryTrack callback and menuProps in useSubtitles
- Build secondary subtitle section in SubtitlesMenu (appears when
  primary selected + desktop shell active)
- Secondary section has own language list, click handlers, OFF button
- Hollow circle indicator for secondary vs filled for primary
- All existing subtitle selection behavior preserved (no interference)
- Platform guard: invisible on web, mobile, and TV platforms
- Translation: PLAYER_SUBTITLES_SECONDARY key with defaultValue fallback
2026-05-21 21:50:56 +00:00
.github
.well-known
assets
src
tests
.gitignore
.nvmrc
CODE_OF_CONDUCT.md
Dockerfile
eslint.config.mjs
http_server.js
LICENSE.md
manifest.json
package.json
pnpm-lock.yaml
README.md
tsconfig.json
webpack.config.js

Stremio - Freedom to Stream

Build Github Page

Stremio is a modern media center that's a one-stop solution for your video entertainment. You discover, watch and organize video content from easy to install addons.

Build

Prerequisites

  • Node.js 12 or higher
  • pnpm 10 or higher

Install dependencies

pnpm install

Start development server

pnpm start

Production build

pnpm run build

Run with Docker

docker build -t stremio-web .
docker run -p 8080:8080 stremio-web

Screenshots

Board

Board

Discover

Discover

Meta Details

Meta Details

License

Stremio is copyright 2017-2023 Smart code and available under GPLv2 license. See the LICENSE file in the project for more information.