API Specificationxmb.api.v1.LibraryService
Apply subtitle
Has the retrieval service cache one candidate and the hub write it beside the file, then re-probes the file so the track is playable at once.
Required scopes: xmb:user:read
Authorization
BearerAuth AuthorizationBearer <token>
An access token issued by the xeonr identity provider.
In: header
Header Parameters
Connect-Protocol-Version?number
Define the version of the Connect protocol
Connect-Timeout-Ms?number
Define the timeout, in ms
Request Body
application/json
serverSlug?string
Length
1 <= length <= 128mediaFileUuid?string
Format
uuidprovider?string
Length
1 <= length <= 64fileId?string
Length
1 <= length <= 128[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://xmb.gg/xmb.api.v1.LibraryService/ApplySubtitle" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"path": "TV/Severance/Season 01/Severance - S01E01.en.srt",
"language": "en",
"alreadyPresent": "false",
"subtitleTrackId": "x48-nceSeason01Severance-S01E01ensrt"
}