api/schema: tiktokH265 -> allowH265, twitterGif -> convertGif

h265 param is already used for more than tiktok, and gif param will be used for bluesky gifs in the future
This commit is contained in:
wukko
2025-01-29 15:37:58 +06:00
parent a43e7a629b
commit e7d4b72c8c
3 changed files with 9 additions and 8 deletions

View File

@@ -15,7 +15,7 @@ export default function({
isAudioMuted,
disableMetadata,
filenameStyle,
twitterGif,
convertGif,
requestIP,
audioBitrate,
alwaysProxy,
@@ -37,7 +37,7 @@ export default function({
if (r.isPhoto) action = "photo";
else if (r.picker) action = "picker"
else if (r.isGif && twitterGif) action = "gif";
else if (r.isGif && convertGif) action = "gif";
else if (isAudioOnly) action = "audio";
else if (isAudioMuted) action = "muteVideo";
else if (r.isHLS) action = "hls";