mirror of
https://github.com/imputnet/cobalt.git
synced 2025-06-30 02:18:29 +00:00
docs/api: add subtitleLang, sublanguage, and update localProcessing
Some checks failed
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
Run tests / check lockfile correctness (push) Waiting to run
Run tests / web sanity check (push) Waiting to run
Run tests / api sanity check (push) Waiting to run
Run service tests / test service functionality (push) Has been cancelled
Run service tests / test service: ${{ matrix.service }} (push) Has been cancelled
Some checks failed
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
Run tests / check lockfile correctness (push) Waiting to run
Run tests / web sanity check (push) Waiting to run
Run tests / api sanity check (push) Waiting to run
Run service tests / test service functionality (push) Has been cancelled
Run service tests / test service: ${{ matrix.service }} (push) Has been cancelled
This commit is contained in:
parent
a60e94d628
commit
214af73a1e
@ -69,7 +69,7 @@ all keys except for `url` are optional. value options are separated by `/`.
|
||||
|
||||
#### general
|
||||
| key | type | description/value | default |
|
||||
|:-----------------------|:----------|:----------------------------------------------------------------|:-----------|
|
||||
|:------------------|:----------|:----------------------------------------------------------------|:-----------|
|
||||
| `url` | `string` | source URL | *required* |
|
||||
| `audioBitrate` | `string` | `320 / 256 / 128 / 96 / 64 / 8` (kbps) | `128` |
|
||||
| `audioFormat` | `string` | `best / mp3 / ogg / wav / opus` | `mp3` |
|
||||
@ -78,7 +78,8 @@ all keys except for `url` are optional. value options are separated by `/`.
|
||||
| `videoQuality` | `string` | `max / 4320 / 2160 / 1440 / 1080 / 720 / 480 / 360 / 240 / 144` | `1080` |
|
||||
| `disableMetadata` | `boolean` | title, artist, and other info will not be added to the file | `false` |
|
||||
| `alwaysProxy` | `boolean` | always tunnel all files, even when not necessary | `false` |
|
||||
| `localProcessing` | `boolean` | remux/transcode files locally instead of the server | `false` |
|
||||
| `localProcessing` | `string` | `disabled / preferred / forced` | `disabled` |
|
||||
| `subtitleLang` | `string` | any valid language code, such as: `en` or `zh-CN` | *none* |
|
||||
|
||||
#### service-specific options
|
||||
| key | type | description/value | default |
|
||||
@ -142,6 +143,7 @@ all keys in this table are optional.
|
||||
| `album_artist` | `string` | album's artist or creator name |
|
||||
| `track` | `string` | track number or position in album |
|
||||
| `date` | `string` | release date or creation date |
|
||||
| `sublanguage` | `string` | subtitle language code (ISO 639-2) |
|
||||
|
||||
#### audio object
|
||||
| key | type | value |
|
||||
|
Loading…
Reference in New Issue
Block a user