Skip to content

Accept raw subtitle text in newSubtitleFile #2336

@Kraptor123

Description

@Kraptor123

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    apiNeeds updated mainapienhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions