Commit Graph

3167 Commits

Author SHA1 Message Date
wukko
8feaf5c636
api/api-keys: replace .find() with .some() in allowedServices
Some checks are pending
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
Run service tests / test service functionality (push) Waiting to run
Run service tests / test service: ${{ matrix.service }} (push) Blocked by required conditions
Run tests / web sanity check (push) Waiting to run
Run tests / api sanity check (push) Waiting to run
Run tests / check lockfile correctness (push) Waiting to run
& 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
Some checks are pending
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
Run tests / api sanity check (push) Waiting to run
Run tests / check lockfile correctness (push) Waiting to run
Run tests / web sanity check (push) Waiting to run
2025-06-25 23:19:24 +06:00
wukko
f4637b746c
api/rutube: add subtitles
Some checks are pending
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
Run service tests / test service functionality (push) Waiting to run
Run service tests / test service: ${{ matrix.service }} (push) Blocked by required conditions
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
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
Some checks are pending
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
Run service tests / test service functionality (push) Waiting to run
Run service tests / test service: ${{ matrix.service }} (push) Blocked by required conditions
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
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
Some checks failed
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
Run tests / check lockfile correctness (push) Has been cancelled
Run tests / web sanity check (push) Has been cancelled
Run tests / api sanity check (push) Has been cancelled
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
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
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
Some checks failed
Run tests / api sanity check (push) Has been cancelled
Run tests / web sanity check (push) Has been cancelled
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Has been cancelled
Run service tests / test service functionality (push) Has been cancelled
Run tests / check lockfile correctness (push) Has been cancelled
Run service tests / test service: ${{ matrix.service }} (push) Has been cancelled
2025-06-20 20:35:23 +06:00
wukko
630e4a6e0d
api/tiktok: add support for subtitles 2025-06-20 20:07:50 +06:00
wukko
aff2d22edc
api/language-codes: add reverse lookup (2 to 1) 2025-06-20 20:05:17 +06:00
wukko
d18b22e7ed
api/processing/request: return a unique error code 2025-06-20 19:53:01 +06:00
wukko
ab526c234e
api/loom: add transcription subtitles
Some checks are pending
CodeQL / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
Run service tests / test service functionality (push) Waiting to run
Run service tests / test service: ${{ matrix.service }} (push) Blocked by required conditions
Run tests / api sanity check (push) Waiting to run
Run tests / check lockfile correctness (push) Waiting to run
Run tests / web sanity check (push) Waiting to run
since there's no language selection (at all), we just add the only transcription if a user wants subtitles
2025-06-20 18:59:35 +06:00
wukko
17ab8dd709
web/queue: add subtitles independently from remux type
so that you can have a mute video with subtitles
2025-06-20 18:30:39 +06:00
wukko
a44bea6b50
api/vimeo: add subtitle parsing from the mobile api 2025-06-20 18:21:00 +06:00
wukko
a5838f3c05
api/stream/types: add subtitles & metadata to remux 2025-06-20 18:16:32 +06:00
wukko
254ad961d3
web/queue: add subtitle args when output has subtitles
not when there are 3 tunnels, that was dumb of me, my bad
2025-06-20 17:41:20 +06:00
wukko
337edfc984
api/request/local-processing: return subtitles boolean 2025-06-20 17:38:49 +06:00
wukko
0b0f0d65ef
web/queue: add subtitle codec args 2025-06-20 17:32:53 +06:00