Commit Graph

3176 Commits

Author SHA1 Message Date
wukko
d70180b23c api/core: merge isApiKey and isSession into authType
cuz they can't be true at the same time
2025-06-28 17:05:18 +06:00
wukko
bc8c16f469 web/env: accept 1 as bool value 2025-06-28 16:59:00 +06:00
wukko
3d2473d8ef web/audio-sub-language: refactor to avoid code duplication 2025-06-28 16:44:28 +06:00
wukko
c16444126e api/env: backwards compatibility with SESSION_RATELIMIT 2025-06-28 16:37:54 +06:00
wukko
7298082bd5 api: refactor two static arrays to set 2025-06-28 16:31:39 +06:00
wukko
9d818300f4 api/twitter: add subtitle extraction
closes #1219
2025-06-28 16:19:41 +06:00
wukko
fffb31dbf0 web/i18n/error/api: fix a typo in fetch.short_link 2025-06-28 14:46:03 +06:00
wukko
51c5d055ec api/service-patterns/tiktok: allow longer shortLink
tiktok is a/b testing a new shortLink format that's ±19 characters long but behaves the same way as old format
2025-06-28 14:45:04 +06:00
wukko
900c6f27ca api/tests/vimeo: allow mature video tests to fail 2025-06-27 21:47:21 +06:00
wukko
8feaf5c636 api/api-keys: replace .find() with .some() in allowedServices
& also a little refactor
2025-06-26 22:32:39 +06:00
wukko
dce9eb30c1 docs/protect-an-instance: add info about allowedServices in api keys 2025-06-26 22:23:25 +06:00
wukko
3243564f77 api/api-keys: add allowedServices to limit or extend access
it's useful for limiting access to services per key, or for overriding default list of enabled services with "all"
2025-06-26 22:20:09 +06:00
wukko
d69100c68d api/tiktok: validate that redirected link is still tiktok 2025-06-26 21:32:31 +06:00
wukko
81a0d5e154 web/queue: scale cropped covers to 720x720
instead of 800x800 because usually thumbnails that need to be cropped are 1280x720
2025-06-26 18:11:02 +06:00
wukko
bfb23c86f9 web/queue: add cover only to mp3 files 2025-06-26 18:09:04 +06:00
wukko
84aa80e2d3 api/match-action: don't add cover if metadata is disabled 2025-06-26 17:45:01 +06:00
wukko
655e7a53a2 docs/api: add info about cover & cropCover 2025-06-26 17:39:05 +06:00
wukko
e4ce873b56 web/queue: add audio covers & crop them when needed 2025-06-26 17:36:55 +06:00
wukko
164ea8aeb9 api: return covers from soundcloud and youtube
& refactor createProxyTunnels() in stream/manage a little
2025-06-26 17:36:26 +06:00
wukko
4ff4766bda docs/api: add info about subtitle bool in local processing response 2025-06-26 15:59:38 +06:00
wukko
f7e5951410 web/lib/device: enable local processing on all ios devices 2025-06-25 23:19:24 +06:00
wukko
f4637b746c api/rutube: add subtitles 2025-06-25 20:12:30 +06:00
wukko
3dae5b2eb0 api/ffmpeg: move stream type + url count check to remux()
& fix it cuz i broke it in last commit
2025-06-25 19:57:23 +06:00
wukko
52695cbd0f api/service-config: replace static arrays with sets 2025-06-25 19:33:16 +06:00
wukko
fcdf5da73e api/ffmpeg: refactor even more 2025-06-25 19:32:36 +06:00
wukko
d3793c7a54 api/ffmpeg: map video and audio in remux() with one main input
cuz otherwise if a video has subtitles, then only subtitles get mapped to the output file
2025-06-24 20:46:14 +06:00
wukko
4f4478a21d api/ffmpeg: fix audio codec args in remux() 2025-06-24 20:24:53 +06:00
wukko
14657e51d3 api/stream: split types.js into proxy.js and ffmpeg.js 2025-06-24 20:09:41 +06:00
wukko
aa376d76f6 api/stream/types: huge refactor & simplification of code
- created render() which handles ffmpeg & piping stuff
- merged remux() and merge() into one function
- simplified and cleaned up arguments
- removed headers since they're handled by internal streams now
- removed outdated arguments
2025-06-24 19:55:50 +06:00
wukko
28b85380c9 api/vk: allow auto generated subs & pick explicitly vtt
i couldn't find a single video that had any subtitles other than auto generated ones, so i think this is better than nothing at all
2025-06-24 17:56:04 +06:00
wukko
75691d4bac api/tests/facebook: replace a dead link 2025-06-24 17:28:05 +06:00
wukko
ff06a10b5c api/processing/url: improve vk url parsing 2025-06-24 17:21:32 +06:00
wukko
997b06ed0e api/vk: add support for subtitles 2025-06-24 17:06:19 +06:00
wukko
44f4ea32c6 api/stream/internal: stream vk videos in chunks 2025-06-24 17:04:43 +06:00
wukko
599ec9dd92 web/UpdateNotification: update margin & font size
this also fixes position in rtl layout
2025-06-22 20:56:05 +06:00
wukko
b384dc81cd web/error/api: add missing "the" to fetch.critical.core 2025-06-22 20:12:36 +06:00
wukko
6d62bce92d api/match-action: don't force local-processing response for pickers
cuz that won't work, at least for now
2025-06-22 20:12:22 +06:00
wukko
21c4a1ebbc api/match: set alwaysProxy to true if local processing is forced 2025-06-22 20:09:48 +06:00
wukko
0fca9c440c api/schema: remove deprecated variables 2025-06-22 20:07:37 +06:00
wukko
05fb1601c8 api/match: update forcing local processing via env 2025-06-22 20:06:28 +06:00
wukko
f883887e4a web/queue: don't try to add a remux task if response type is proxy 2025-06-22 16:33:00 +06:00
wukko
61e0862b10 web/types/api: add proxy local processing type 2025-06-22 16:31:09 +06:00
wukko
885398955f web/settings/local: transform the media processing setting to a switcher 2025-06-22 16:29:47 +06:00
wukko
a4d5f5b380 web/settings: migrate boolean localProcessing to enum 2025-06-22 16:28:18 +06:00
wukko
ac85ce86c0 api/processing/request: backwards compat with boolean localProcessing 2025-06-22 16:21:55 +06:00
wukko
28ab2747ce api/match-action: support forced local processing 2025-06-22 16:21:37 +06:00
wukko
a6b599a828 api/schema: transform localProcessing to enum 2025-06-22 16:20:27 +06:00
wukko
a998a5720c web/queue: refactor media icon selection 2025-06-22 15:35:04 +06:00
wukko
2c0a1b6990 web/i18n/settings: update subtitles description 2025-06-20 20:35:23 +06:00
wukko
630e4a6e0d api/tiktok: add support for subtitles 2025-06-20 20:07:50 +06:00