Search subtitles
Asks the shared retrieval service what subtitles exist for a file, ranked under its library's policy, with what the nightly pass last decided.
Required scopes: xmb:user:read
Authorization
BearerAuth An access token issued by the xeonr identity provider.
In: header
Header Parameters
Define the version of the Connect protocol
Define the timeout, in ms
Request Body
application/json
1 <= length <= 128uuidLanguages to ask for, best first. Empty means the library's policy.
items <= 16Show every kind of track regardless of the library's flags — a person browsing may want the hearing-impaired one the policy hides.
Response Body
application/json
application/json
curl -X POST "https://xmb.gg/xmb.api.v1.LibraryService/SearchSubtitles" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"candidates": [
"map[cached:false downloads:48211 fileId:7351284 forced:false fromTrusted:true hashMatch:true hearingImpaired:false language:en machineTranslated:false provider:opensubtitles providerName:OpenSubtitles rating:8.5 release:Severance.S01E01.1080p.ATVP.WEB-DL.DDP5.1.H.264-NTb score:0.94 uploadedAt:2022-02-18T07:41:09Z]"
],
"skipped": [
"map[provider:podnapisi reason:not_configured]"
],
"suggested": "map[cached:false downloads:48211 fileId:7351284 forced:false fromTrusted:true hashMatch:true hearingImpaired:false language:en machineTranslated:false provider:opensubtitles providerName:OpenSubtitles rating:8.5 release:Severance.S01E01.1080p.ATVP.WEB-DL.DDP5.1.H.264-NTb score:0.94 uploadedAt:2022-02-18T07:41:09Z]",
"appliedProvider": "opensubtitles",
"appliedFileId": "7351284",
"appliedBy": "user:3"
}Search metadata POST
Searches the configured metadata providers, for choosing what an unidentified item is. **Required scopes:** `xmb:admin`
Set media file marker POST
Pins an intro or credits range on a file by hand. A manual marker outranks every automated source and is never overwritten by a later pass. **Required scopes:** `xmb:admin`