Commit graph

915 commits

Author SHA1 Message Date
Jesse Bannon
c421a9fa8e Merge branch 'master' into j/resolution-level 2026-01-27 13:27:39 -08:00
Jesse Bannon
d6eda27371
[BACKEND] Less string casting behind the scenes (#1425)
Simplifies internal scripts by not casting things to String when unnecessary.
2026-01-27 10:15:32 -08:00
Jesse Bannon
d37945db7e
[HOTFIX] Fix StringFormattingException regarding keep_max_files (#1427)
Closes this issue from last release: https://github.com/jmbannon/ytdl-sub/issues/1426
2026-01-26 17:30:44 -08:00
Jesse Bannon
3693dd6bb6 Merge branch 'master' into j/resolution-level 2026-01-26 10:53:45 -08:00
Jesse Bannon
a097c6a476
[BACKEND][v2] More flexible formatter post_process (#1424)
Makes the underlying formatting process better handle native (non-string) types in a more flexible way. 2nd attempt since the last one got reverted due to breaking changes.
2026-01-25 22:35:51 -08:00
Jesse Bannon
97ecae79db
[DEV] More tests around passed-in ytdl-options (#1423) 2026-01-25 09:55:26 -08:00
Jesse Bannon
c1431c8d55
Revert "[BACKEND] More flexible formatter post_process (#1421)" (#1422)
This reverts commit 60cdbad8c7.

Caused a breaking change to ytdl_options
2026-01-24 00:22:18 -08:00
Jesse Bannon
4b03e6b452 fix last test 2026-01-23 20:01:12 -08:00
Jesse Bannon
5f246b419c updated fixtures 2026-01-23 19:41:37 -08:00
Jesse Bannon
dd28780030 Merge branch 'master' into j/resolution-level 2026-01-23 19:27:59 -08:00
Jesse Bannon
60cdbad8c7
[BACKEND] More flexible formatter post_process (#1421)
Makes the underlying formatting process better handle native (non-string) types in a more flexible way.
2026-01-23 16:36:17 -08:00
Jesse Bannon
fba97aa5f4 test 2026-01-23 11:45:55 -08:00
Jesse Bannon
95a1b9f4f9 optionally resolve entry formatters 2026-01-23 11:39:27 -08:00
Jesse Bannon
667b8073a1 plz work. TODO: tests, no partial resolve in typical validation 2026-01-23 11:32:47 -08:00
Jesse Bannon
f79e687678 fix pathing 2026-01-23 11:25:25 -08:00
Jesse Bannon
6b4a9bc157 fix pathing for windows 2026-01-23 11:03:48 -08:00
Jesse Bannon
9c2a187778 Merge branch 'master' into j/resolution-level 2026-01-23 10:59:14 -08:00
Jesse Bannon
264e458c1c
[BACKEND] Cache cycle checks (#1420)
Small speedup to make cycle validation faster.
2026-01-23 10:58:14 -08:00
Jesse Bannon
51bec34b31 fix test to only test download 2026-01-23 10:25:23 -08:00
Jesse Bannon
97da1a651a fix variables not getting filled with resolved 2026-01-23 10:15:13 -08:00
Jesse Bannon
8c46304db2 total cleanup. TODO: other preset tests regarding resolution level and unit tests 2026-01-23 09:52:36 -08:00
Jesse Bannon
a30faa1e4a Merge branch 'master' into j/resolution-level 2026-01-23 09:25:36 -08:00
Jesse Bannon
c4e112e8d5
[BUGFIX] Fix soundcloud not downloading tracks (#1419)
The /tracks URL is currently broken in yt-dlp. Now uses the input URL which will download the entire artists' page instead to get non-album tracks.
2026-01-23 09:23:34 -08:00
Jesse Bannon
db41c8b11d finally good? 2026-01-23 00:18:43 -08:00
Jesse Bannon
219c0204dd do not resolve sanitizied using filter 2026-01-23 00:02:52 -08:00
Jesse Bannon
004b45b6f1 do not replace variables with unresolved counterparts 2026-01-22 23:29:24 -08:00
Jesse Bannon
356f278be9 do not double evaluate dependent single variaibles 2026-01-22 22:50:53 -08:00
Jesse Bannon
44705b622b do checks first 2026-01-22 21:45:42 -08:00
Jesse Bannon
53b112ff3e emtpy syntax tree case 2026-01-22 15:56:16 -08:00
Jesse Bannon
ed408a352f update internals after partial resolve 2026-01-22 15:33:41 -08:00
Jesse Bannon
6156a263f0 fix 2026-01-22 15:03:26 -08:00
Jesse Bannon
82dc29b0d5 do not over complicate 2026-01-19 12:26:03 -08:00
Jesse Bannon
71f43e37b7 all-in on partial resolution 2026-01-19 11:56:23 -08:00
Jesse Bannon
6ecd04619e test setup 2026-01-19 11:15:08 -08:00
Jesse Bannon
bca397cd7b closer; 2026-01-16 15:01:22 -08:00
Jesse Bannon
28487c67f8 Merge branch 'j/tmp1' into j/resolution-level 2026-01-16 14:27:37 -08:00
Jesse Bannon
21643a2d7b clean var val 2026-01-16 14:26:26 -08:00
Jesse Bannon
0632fe170c Merge branch 'master' into j/resolution-level 2026-01-16 13:53:18 -08:00
Jesse Bannon
97df4dac1d
[BACKEND] Preserve dict formatter value (#1416)
Do not modify the original definition of dict validators.
2026-01-16 13:51:33 -08:00
Jesse Bannon
942c983f60
[BACKEND] Sorted video tags (#1417)
For reproducibility in tests.
2026-01-16 13:42:22 -08:00
Jesse Bannon
9c2fc05d41 a mess 2026-01-16 12:15:38 -08:00
Jesse Bannon
b76182eba1 ENTER configurable resolution level when validating. Needs work including setting unresolved variables 2026-01-15 21:04:26 -08:00
Jesse Bannon
530d2f7666
[BACKEND] Partial resolve support for Scripts (#1410)
Adds the mechanism to partially resolve an entire script (aka every underlying variable in ytdl-sub). This will be used in the upcoming `inspect` sub-command where it will dump a subscription's raw contents at multiple levels of resolution.

Potentially useful to optimize script execution as well.
2026-01-12 17:34:34 -08:00
Jesse Bannon
41a5bf60aa
[BACKEND] Remove cast and legacy_bracket_safety usage (#1414)
Removes unused casts and calls to the legacy_bracket_safety function.
2026-01-11 15:47:50 -08:00
dependabot[bot]
3a07d058aa
[DOCS] Update sphinx requirement from <9,>=7 to >=7,<10 (#1411)
Updates the requirements on [sphinx](https://github.com/sphinx-doc/sphinx) to permit the latest version.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES.rst)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v7.0.0...v9.1.0)

---
updated-dependencies:
- dependency-name: sphinx
  dependency-version: 9.1.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-01-06 12:59:22 -08:00
Jesse Bannon
6b99c31e45
[BACKEND] Simplify script quote generation (#1409)
Internal script -> string generation used triple-quotes redundantly. Try to use them less to make it more human-readable.
2026-01-06 12:58:37 -08:00
Jesse Bannon
b2056bec5d
[BACKEND] Array support for URLs (#1406)
Allows for the `download` plugin to take in a script-based array of URLs. Prebuilt presets are now greatly reduced in size by constructing urls as an array versus 100+ separate URL variables.

Eventually, we can completely remove the limit of the number of URLs in a subscription.
2025-12-31 15:24:44 -08:00
Jesse Bannon
c46de048ca
[FEATURE] %range function (#1405)
Add `%range` function, equivalent to Python's `range`.
2025-12-31 09:06:08 -08:00
Jesse Bannon
869fc0b836
[BUGFIX] Fix custom function lambda cycle detection (#1404)
Cycles detection did not take into account custom functions' variable usage. This is now fixed.
2025-12-31 08:22:26 -08:00
Jesse Bannon
7ac525f875
[BUGFIX] Fix custom function lambda variable dependency issue, part 2 (#1403)
Part two of https://github.com/jmbannon/ytdl-sub/pull/1402 which actually completes the fix.
2025-12-30 23:46:07 -08:00