Skip to content

API - Get Currently Loaded Subtitle #840

@bpwhelan

Description

@bpwhelan

Is your feature request related to a problem? Please describe.

There are certain applications that interface with asbplayer, but need to load the subtitle independently to work properly. One such example is https://github.com/mcgrizzz/Yomine

Describe the solution you'd like

A simple http endpoint to grab the currently loaded subtitle. Pretty much the same thing as "Download Subtitles as SRT" option, but via HTTP.

Describe alternatives you've considered

At the moment you can just download via the button, which is fine, an http endpoint would just be a 100% convenience thing.

Additional context

I may or may not work on this if it's even possible in the first place. Should just be an HTTP endpoint and websocket message/reply. Please let me know if this would be denied if PR'd.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions