cloudstream icon indicating copy to clipboard operation
cloudstream copied to clipboard

Accept raw subtitle text in newSubtitleFile

Open Kraptor123 opened this issue 1 month ago • 1 comments

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

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

Kraptor123 avatar Dec 15 '25 15:12 Kraptor123

Yes, I agree. While we support zip files, it is only for the dedicated SubtitleAPI.

fire-light42 avatar Dec 16 '25 21:12 fire-light42