recloudstream / recloudstream/cloudstream
Accept raw subtitle text in newSubtitleFile
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
Currently, newSubtitleFile only accepts subtitle files via URL. However, subtitles often come packaged inside ZIP files or other archives. After extraction, developers need to set up a local proxy or temporary server just to provide a URL for the subtitle content.
Proposed Enhancement:
Allow newSubtitleFile to accept raw subtitle text directly as a string parameter, in addition to the existing URL option.
Use Case:
When extracting subtitles from archives, developers could pass the text content directly instead of creating workarounds to serve it via URL.
This would significantly improve developer experience when working with archived or dynamically generated subtitle content.
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 by locating the newSubtitleFile entry point and reading how it currently accepts and loads subtitle URLs. Trace the subtitle handling path to determine where raw text can be accepted alongside a URL, then inspect the existing tests or add coverage for both input forms. Done means archived subtitle text can be passed directly without a proxy while URL input continues to work.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100