recloudstream / recloudstream/cloudstream
Add DubStatus selection for Movies and TV Series
Nobody has claimed this yet.
- 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:
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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