recloudstream / recloudstream/cloudstream

Accept raw subtitle text in newSubtitleFile

Open
#2,336 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

api enhancement
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

  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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.