Commit Graph
100 Commits
Author SHA1 Message Date
tcely f0e63c5cd3 Set the variables earlier 2026-02-20 02:06:56 -05:00
tcely d4f649f27d Add and use a get_fallback_id function 2026-02-20 02:06:52 -05:00
tcely 44e2d4bb31 Add ENGLISH_LANGUAGE_CODE_ORDER setting 2026-02-19 23:51:11 -05:00
tcely 1a829830f2 Expand the fallback strategies 2026-02-19 23:40:57 -05:00
tcely 00771ac84a Also filter old metadata in tables 2026-02-19 03:58:00 -05:00
tcely 3d408df4cc Add control socket settings to gunicorn.py 2026-02-18 16:28:07 -05:00
tcely c1b6091169 Merge pull request #1386 from meeb/tcely-patch-1
Improve `get_histories_from_huey_ids`
2026-02-11 09:09:19 -05:00
tcely eacf641afc Revise syntax and types
Use more universally accepted syntax and tighten the types.
2026-02-11 08:51:34 -05:00
tcely 73b8526267 Short-circuit the empty case 2026-02-11 07:21:12 -05:00
tcely 297273a563 Adjust for RawSQL 2026-02-11 06:54:12 -05:00
tcely d7d35cc221 Add and use get_histories_from_huey_ids 2026-02-11 06:42:45 -05:00
tcely 070894c927 Add a tip about expanded logging to README.md
Also fix a typo because I noticed it as I was reviewing this section.
2026-02-10 17:29:44 -05:00
tcely b188dcb2a0 Merge pull request #1379 from viharm/patch-1
Fix typo
2026-02-03 17:41:17 -05:00
tcely 2cc201dd14 Update the related comment in views.py 2026-02-03 15:32:17 -05:00
tcely fd1a88f608 Match the updated URL in views.py 2026-02-03 14:34:33 -05:00
tcely 10864eaf5c Use a more user-friendly word in urls.py 2026-02-02 17:09:53 -05:00
tcely 22463155b6 Update restart_services.sh
Restarting a service that was already down should not wait forever.
2026-02-01 00:59:53 -05:00
tcely f149714f1b Improve /app/restart_services.sh 2026-01-31 23:29:29 -05:00
tcely 358cc165e7 Use a test tag for test-* branches 2026-01-31 18:16:32 -05:00
tcely e76021ffe4 Implement revoke-task feature 2026-01-31 15:37:04 -05:00
tcely f80350c89b Map refresh_formats tasks 2026-01-31 14:35:42 -05:00
tcely 1bb6915c16 Expand selected_choices 2026-01-31 00:12:14 -05:00
tcely 4741d8cd2e Upgrade s6-overlay to v3.2.2.0 2026-01-30 06:51:48 -05:00
tcely 7b9616feee Release for 2026-002 2026-01-29 20:05:34 -05:00
tcely 054a957a47 Set raise_incomplete_data to cause task retries
https://github.com/yt-dlp/yt-dlp/blob/27afb31edc492cb079f9bce9773498d08e568ff3/yt_dlp/extractor/youtube/_base.py#L1257
2026-01-14 22:51:27 -05:00
tcely 1170329e3e Run from a parallel directory 2026-01-12 07:42:22 -05:00
tcely 363449cbc8 Comment about disqualification of AI-upscaled formats 2026-01-12 02:50:02 -05:00
tcely 7410d71b80 Add concurrency settings to CI workflow 2026-01-12 02:40:56 -05:00
tcely 9b8fb01c6e Use jq to add the dependencies from ejs 2026-01-12 02:29:22 -05:00
tcely 45b523f33f Add tubesync-init dependency to yt-cipher 2026-01-11 23:31:24 -05:00
tcely 82c2e6c2e2 Run the patching script as long as it exists 2026-01-11 09:04:02 -05:00
tcely b07adff363 Extract yt-dlp/ejs for yt-cipher to use 2026-01-11 08:52:27 -05:00
tcely f1902ed998 Add the yt-cipher service 2026-01-11 08:06:45 -05:00
tcely 0edaa571d3 Save the latest yt-cipher source in the image 2026-01-11 07:26:54 -05:00
tcely 93381f4cf9 Merge branch 'main' into patch-4 2026-01-11 06:31:49 -05:00
tcely c3d4e9bb30 Include cipher_server.conf and add its variables 2026-01-11 06:27:33 -05:00
tcely 3111639e1b Create cipher_server.conf 2026-01-11 06:06:31 -05:00
tcely 05bb8188dc Exclude formats with '-sr' from video selection
Skip formats with '-sr' in their ID when matching video formats.
2026-01-10 13:29:28 -05:00
tcely 14b9e3589a Mention that we bundle openresty
I am no longer trying to ensure `nginx` works in the container.

It should still work without the `token_server.conf` included.
2025-12-31 07:15:22 -05:00
tcely fc8b6ca767 Release for 2026-001 2025-12-31 06:47:13 -05:00
tcely 7b8e02a8de Use balancer_by_lua_block in token_server.conf
* Remove `YT_POT_BGUTIL_BASE_URL`

* Prioritize the linked container details
2025-12-31 06:29:25 -05:00
tcely e69a065659 Remove duplication of qjs in the final stage 2025-12-30 08:28:46 -05:00
tcely e6e24dff7f Improve the node wrapper
When `node` has no arguments, it uses a read-execute-print loop so copy
that behavior.

Only require that HOME must be set for shell, then let the cryptic error
from `deno` handle a foolishly empty/null HOME variable.
2025-12-30 05:47:38 -05:00
tcely 958441514f Add a variable used by the node wrapper 2025-12-27 12:28:51 -05:00
tcely ef312be76a Use a HOME on /cache when bundling deno 2025-12-27 08:37:04 -05:00
tcely 9f4d19de51 Make and remove a temporary directory 2025-12-27 08:16:20 -05:00
tcely 0b965b52ed Fix errors when starting bgutil-ytdlp-pot-provider-build
- `tubesync-init` changed the permissions of `node` before us
- `npm` really likes to write to "${HOME}"
- use the correct way to run `typescript/tsc`
2025-12-27 07:41:07 -05:00
tcely 7c6f4e000d Store actually empty files 2025-12-27 06:26:37 -05:00
tcely faa5464075 Run the token web server with deno 2025-12-27 05:59:51 -05:00
tcely d8a9bb2a85 Merge branch 'meeb:main' into tcely-asfald 2025-12-23 23:31:41 -05:00
tcely 7cd5eea296 Use asfald-latest to download ffmpeg files 2025-12-23 11:14:47 -05:00
tcely 78aca2b018 Tweak ffmpeg downloading 2025-12-23 11:01:53 -05:00
tcely b6d83dd099 Use asfald to download quickjs files 2025-12-23 10:34:16 -05:00
tcely e032d28aa1 Work around rename limitations by overriding TMPDIR 2025-12-23 10:34:13 -05:00
tcely 141e21fa99 Also install the latest asfald version 2025-12-23 10:34:10 -05:00
tcely 0683c03ea3 Use asfald to download s6_overlay files
- Pin to `v0.6.0` to use the `--hash` flag
2025-12-23 10:34:07 -05:00
tcely 6618816eab Add asfald download tool 2025-12-23 06:01:58 -05:00
tcely 3b56565e8c Find deno in PATH or default to ./deno 2025-12-23 02:11:41 -05:00
tcely 7f701fa63e Use /app/install_deno.sh --only-record-version 2025-12-23 01:32:01 -05:00
tcely fa2438e5d5 Add --only-record-version flag to install_deno.sh 2025-12-23 00:31:51 -05:00
tcely 146be62b67 Use bind mount for deno and uv 2025-12-23 00:07:44 -05:00
tcely 9700460d53 Include the latest yt-dlp 2025-12-15 00:00:29 -05:00
tcely c0550dd419 Release for 2025-012 2025-11-25 21:14:03 -05:00
tcely d95954a55a Add yt-dlp-remote-cipher plugin 2025-11-24 20:41:09 -05:00
tcely fb7d120f81 Eliminate duplicate ensure_connection calls 2025-11-23 14:19:39 -05:00
tcely 56774d292f Testing showed that two minutes is enough 2025-11-23 00:01:47 -05:00
tcely 5bfc27febd Merge branch 'main' into patch-2 2025-11-20 22:59:21 -05:00
tcely 63a3e88188 Add YOUTUBE_INFO_SLEEP_REQUESTS setting 2025-11-20 21:57:26 -05:00
tcely fe1ea3cf0f Replace hardcoded sleep interval with configurable setting 2025-11-20 21:54:49 -05:00
tcely c0a0fb862c Add sleep_interval_requests to settings.py 2025-11-20 21:39:32 -05:00
tcely 02e0cc3cc8 Remove sleep_interval_requests from download options 2025-11-20 21:37:19 -05:00
tcely acee3dfb58 Sleep before subtitle downloads 2025-11-20 21:11:41 -05:00
tcely 85677e4274 Use curl URL globbing support 2025-11-16 16:40:05 -05:00
tcely d285c63472 Pass the explicit file name and path to the functions 2025-11-16 14:12:52 -05:00
tcely 182a444dc0 Remove deno bundling from Dockerfile 2025-11-16 11:47:55 -05:00
tcely 8766de3905 Change the default deno_version to 'not bundled' 2025-11-16 11:44:04 -05:00
tcely f461ea5bc2 Extract to the specified directory 2025-11-16 11:34:54 -05:00
tcely bc9d43dea9 Execute uname once 2025-11-16 11:24:15 -05:00
tcely 8b0a2d17eb Executable bit for install_deno.sh 2025-11-16 11:09:01 -05:00
tcely e00d31cd53 Create install_deno.sh 2025-11-16 11:06:09 -05:00
tcely 31f9406b96 Add --mtime option to yt-dlp config 2025-11-16 09:34:37 -05:00
tcely 9f48a5f1c9 Update and rename config/root/etc/yt-dlp.conf to config/root/etc/yt-dlp/config.txt 2025-11-16 09:33:14 -05:00
tcely fd7cf73315 Create yt-dlp.conf 2025-11-16 09:21:47 -05:00
tcely 384cd5fd13 Stop bundling deno in the image 2025-11-16 09:04:36 -05:00
tcely 104ae916e6 Record the QuickJS version output 2025-11-14 11:18:11 -05:00
tcely 8e94a78d2d Check for the expected output from qjs --help
The return code was 1, not 0 for the `--help` flag.
2025-11-14 11:10:33 -05:00
tcely 33a4a47e7a Merge branch 'meeb:main' into patch-2 2025-11-14 10:12:20 -05:00
tcely ca9e23dee8 Show qjs --help output
There is not a separate `--version` flag,
but the help output does include the version.
2025-11-14 10:09:50 -05:00
tcely 4277195c8f Enable deno and quickjs runtimes by default 2025-11-14 10:03:10 -05:00
tcely 9dc85f7e97 Integrate QuickJS with checksum validation
Added QuickJS support and checksum verification in Dockerfile.
2025-11-14 09:53:11 -05:00
tcely bdc82e10ae Adjust combined formats matching
Collect combined formats that match and prioritize the marked default format.
Failing that, try to use the English audio formats.
2025-11-14 02:53:58 -05:00
tcely 92026ce66b Reduce the work in the nested for loop 2025-11-13 22:14:53 -05:00
tcely dcb3c93340 Use the appropriate key for Media.iter_formats 2025-11-13 22:03:01 -05:00
tcely 3a718ca9b2 Use Media.iter_formats for matched formats 2025-11-13 22:00:31 -05:00
tcely 3d30877e08 Display language codes for matched formats 2025-11-13 21:33:20 -05:00
tcely ff733ebe4c Add format dictionaries to context 2025-11-13 21:04:22 -05:00
tcely 7de84a2bda Refresh formats before manually downloading again 2025-11-13 18:34:15 -05:00
tcely 88f6053184 Fix Dockerfile syntax 2025-11-13 02:43:41 -05:00
tcely 21b2bf841c Provide a default for deno_version 2025-11-12 15:17:01 -05:00
tcely 22d6a42b64 Add deno_version to context 2025-11-12 15:13:14 -05:00