Used as a response for defineSubtitlesHandler
id - required - string, unique identifier for each subtitle, if you have more than one subtitle with the same language, the id will differentiate them
url - required - string, url to the subtitle file
lang - required - string, language code for the subtitle, if a valid ISO 639-2 code is not sent, the text of this value will be used instead
label - optional - string, label shown in the subtitle picker instead of the language name; useful when providing multiple subtitles for the same language (e.g. "English [CC]", "eng #1 [opensubtitles] 1080p.BluRay"); if omitted, the language name derived from lang is displayed
url response to http://127.0.0.1:11470/subtitles.vtt?from= followed by the URL to the subtitle file, this will force the local streaming server to guess the subtitle encoding when loading ithttp://127.0.0.1:11470/6366e0a6d44d49c8fa09c04669375c024e42bf7e/3, where 6366e0a6d44d49c8fa09c04669375c024e42bf7e is the torrent infohash, and 3 is the file index of the subtitle file in the torrent. When linking to subtitle files inside torrents it is recommended to use the subtitles property from the Stream Object.ass or .ssa extension in the url, or make sure the file starts with the standard ASS sections (e.g. [Script Info]). When the user enables “Style ASS subtitles” in the player settings, Stremio renders the file with its own fonts, colours and positioning. Do not wrap ASS files in the subtitles.vtt?from= URL above, as converting them to VTT drops the styling