recloudstream / recloudstream/cloudstream

Add DubStatus selection for Movies and TV Series

Open
#1,546 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Kotlin
Stars
10.7k
Forks
1.1k
Avg merge
1d 23h
Merged PRs (30d)
15

Description

Describe your suggested feature

As far as i know there is no way to show DubStatus selection in the UI for TvSeriesLoadResponse and MovieLoadResponse. AnimeLoadResponse has this feature var episodes: MutableMap<DubStatus, List<Episode>> = mutableMapOf() though the Dub/Sub selection only appears if the type of the show is Series and not movies (ResultViewModel2.kt:2003): _selectedDubStatus.postValue(if (isMovie || currentDubStatus.size <= 1) null else)

It is not uncommon to see the same movie or tv series episode in two different video file for non-english languages, well at least for turkish.
They encode the subtitles in the video files.

Here is a demo PR for this feature (it probably needs a complete rework): #1545

Dub/Sub selection appears on the movie page with the PR:
Image

Other details

No response

Acknowledgements
  • My suggestion is NOT about adding a new provider
  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with ResultViewModel2.kt around line 2003 and compare the existing AnimeLoadResponse episode grouping with the MovieLoadResponse and TvSeriesLoadResponse types. Review demo PR #1545 and verify that Dub/Sub selection is available on movie and TV-series pages when multiple statuses exist, while remaining absent when there is only one.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.