mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-05 07:49:58 +00:00
fixes
This commit is contained in:
parent
e50f5eed34
commit
6698ed3b46
3 changed files with 13 additions and 7 deletions
|
@ -26,7 +26,7 @@ Response Body Type: ``application/json``
|
|||
| isTTFullAudio | boolean | ``true / false`` | ``false`` | Enables download of original sound used in a TikTok video. |
|
||||
| isAudioMuted | boolean | ``true / false`` | ``false`` | Disables audio track in video downloads. |
|
||||
| dubLang | boolean | ``true / false`` | ``false`` | Backend uses Accept-Language for YouTube video audio tracks when ``true``. |
|
||||
| disableMetadata | boolean | ``true / false`` | ``false`` | Does not add metadata to the downloaded audio/video |
|
||||
| disableMetadata | boolean | ``true / false`` | ``false`` | Disables file metadata when set to ``true``. |
|
||||
|
||||
### Response Body Variables
|
||||
| key | type | variables |
|
||||
|
|
|
@ -18,7 +18,14 @@ const switchers = {
|
|||
"vimeoDash": ["false", "true"],
|
||||
"audioMode": ["false", "true"]
|
||||
};
|
||||
const checkboxes = ["disableTikTokWatermark", "fullTikTokAudio", "muteAudio", "reduceTransparency", "disableAnimations", "disableMetadata"];
|
||||
const checkboxes = [
|
||||
"disableTikTokWatermark",
|
||||
"fullTikTokAudio",
|
||||
"muteAudio",
|
||||
"reduceTransparency",
|
||||
"disableAnimations",
|
||||
"disableMetadata"
|
||||
];
|
||||
const exceptions = { // used for mobile devices
|
||||
"vQuality": "720"
|
||||
};
|
||||
|
|
|
@ -440,16 +440,15 @@ export default function(obj) {
|
|||
name: "miscellaneous",
|
||||
title: t('Miscellaneous'),
|
||||
body: checkbox([{
|
||||
action: "disableChangelog",
|
||||
name: t("SettingsDisableNotifications")
|
||||
}, {
|
||||
action: "downloadPopup",
|
||||
name: t("SettingsEnableDownloadPopup"),
|
||||
padding: "no-margin",
|
||||
aria: t("AccessibilityEnableDownloadPopup")
|
||||
}, {
|
||||
action: "disableMetadata",
|
||||
name: t("SettingsDisableMetadata"),
|
||||
name: t("SettingsDisableMetadata")
|
||||
}, {
|
||||
action: "disableChangelog",
|
||||
name: t("SettingsDisableNotifications"),
|
||||
padding: "no-margin"
|
||||
}])
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue