345 Commits

Author SHA1 Message Date
wukko
d4a2fe507f
web: add support for "remux" type of local processing
it's currently used for fixing a very specific set of twitter videos, but will be used for remuxing HLS videos in the future
2025-05-29 00:23:56 +06:00
wukko
c2d76010c5
api/core: remove durationLimit from server info
it's not used, no clue why it was here in the first place
2025-05-27 17:12:58 +06:00
wukko
7d84b74e9e
web/device: allow default local processing on desktop & android firefox 2025-05-25 00:24:30 +06:00
wukko
bb8acc8b98
web/run-worker: add brackets around the case block with a const 2025-05-24 14:40:41 +06:00
wukko
2f6196f6e3
web/queue: remove final file from results without swapping for a dummy 2025-05-24 14:27:30 +06:00
jj
9c16efd3b1
web/lib/download: delay revoking object URL for 10s
just to be safe
2025-05-23 17:50:24 +00:00
jj
892c055d6a
web/queue: replace pipelineResults array with object 2025-05-23 17:44:47 +00:00
jj
17bcfa3a03
web/queue: more uuid refactoring 2025-05-23 17:37:04 +00:00
jj
47683cecec
web/types: create uuid alias for worker ids 2025-05-23 17:05:31 +00:00
jj
c647e191f3
web/workers/fetch: rename totalBytes to expectedSize 2025-05-23 15:55:29 +00:00
wukko
add0ab4adf
web/lib/api: wait for turnstile solution, refactor
now cobalt waits for turnstile for 15 seconds before showing an assistive dialog, instead of showing the dialog right away. much better ux!
2025-05-23 20:37:47 +06:00
wukko
98cd4dfc0d
web/queue: in-place queue task retrying
no more duplicate tasks
2025-05-19 22:49:54 +06:00
wukko
46c5e2e2b5
web/download: use shareFile or openFile depending on file size on ios 2025-05-19 20:35:42 +06:00
wukko
566194d8a6
web/lib/download: allow opening file object url on ios
sharing a big file crashes ios safari, but opening it works perfectly fine. will revert if this causes even more issues than before
2025-05-19 17:39:51 +06:00
wukko
5e1e083ff3
web/lib/download: don't wrap a file inside a file when sharing
wtf
2025-05-19 17:03:06 +06:00
wukko
b6693cd4b2
web/queue: fix total progress
the issue was caused by currentTasks state dependence in ProcessingQueue, now it's properly updated just like before :3
2025-05-19 16:32:48 +06:00
jj
398681857b
web: parallel queue item processing 2025-05-17 18:18:19 +00:00
jj
426c073d5f
web/queue: move error() out of createSavePipeline closure 2025-05-16 14:58:30 +00:00
jj
3d92a85ba2
web/queue: decompose ffmpeg construction in createSavePipeline 2025-05-16 14:50:57 +00:00
wukko
9cf40549e3
web/workers/fetch: retry only when needed & reduce attempts to 3 2025-05-14 21:16:38 +06:00
wukko
68554c5b53
web/remux: add imported files to queue automatically & filter by type 2025-05-14 16:08:13 +06:00
wukko
b1b5f3bba2
web/types/queue: remove obsolete todo comment 2025-05-14 15:37:54 +06:00
wukko
345df13647
web/workers/ffmpeg: error codes, better error handling, remove logs 2025-05-14 15:37:31 +06:00
wukko
8139e77b66
web/workers/fetch: proper error codes, remove debug logging 2025-05-14 15:36:02 +06:00
wukko
50746be9bf
web/task-manager/scheduler: proper error code 2025-05-14 15:35:06 +06:00
wukko
4a6f159e06
web/task-manager/runner: proper error codes, remove debug logging 2025-05-14 15:34:40 +06:00
wukko
9d129bc865
web/task-manager/run-worker: error if ffmpeg args are missing
instead of just hanging
2025-05-14 15:33:30 +06:00
wukko
eeda4beb25
web/task-manager/queue: show a dialog on error 2025-05-14 15:29:19 +06:00
wukko
700067c4ec
web/saving-handler: refactor error dialog handling
& remove debug logging for local processing
2025-05-14 15:26:39 +06:00
jj
bb177d8c81
web/migrate/v5: initialize settings subobjects if they are missing 2025-05-14 08:03:34 +00:00
jj
42b7a6ae60
lib/opfs: move getting dir into remove() try catch 2025-05-04 19:18:27 +00:00
jj
d83d448190
web/opfs: make removeFromFileStorage() more robust 2025-05-04 19:05:32 +00:00
jj
b6a207a9b0
web/workers: append type to outputted files 2025-05-04 19:01:37 +00:00
jj
f655432376
lib/storage: always return files 2025-05-04 19:01:37 +00:00
jj
1ef8391639
web: simplify CobaltFileReference type 2025-05-03 13:23:05 +00:00
jj
95ab81eb10
web: use AbstractStorage everywhere 2025-05-03 12:21:21 +00:00
jj
ce4ded64a2
web/storage: add memory storage and init() function 2025-05-03 12:21:21 +00:00
jj
be4e7e2d7d
lib/storage: drop read() method, widen res() to Blob
we don't use it anywhere, we only use res()
2025-05-03 12:21:21 +00:00
jj
dd507e1dcd
lib/storage: add abstract storage class 2025-05-03 12:21:21 +00:00
jj
e0ced00806
lib/storage: move opfs to subdirectory 2025-05-03 12:21:21 +00:00
jj
1058014c96
web/storage: make opfs check more robust 2025-05-03 12:21:21 +00:00
jj
893c6edde7
web/storage: remove getStorageQuota()
not used anymore
2025-05-03 12:21:21 +00:00
jj
b3f151f3cb
web/storage: move clearCacheStorage() logic to clear button 2025-05-03 12:21:21 +00:00
jj
54ec1645fe
web/opfs: capitalize processing dir constant 2025-05-03 12:21:21 +00:00
wukko
a22e4c3cf9
web/settings: add an option to hide the remux tab on mobile 2025-05-01 00:25:03 +06:00
wukko
931a815c29
web/queue: add gif pipeline & proper media type icons 2025-04-30 22:02:00 +06:00
wukko
a95f87ebfb
api & web: make "basic" the default filename style 2025-04-30 21:33:36 +06:00
jj
6b11e49d4a
web/workers: rename remux() function to ffmpeg() 2025-04-30 15:09:00 +00:00
jj
54408b159e
web/taskmgr: flip gif todo condition 2025-04-30 14:53:52 +00:00
jj
72857e64a8
web/queue: add support for "remux" task type 2025-04-30 14:49:04 +00:00