Commit graph

30 commits

Author SHA1 Message Date
Jesse Bannon
57fd6901e4
[DEV] Linter: Use ruff over black and isort (#1445)
Will eventually replace pylint with ruff
2026-03-09 11:39:01 -07:00
Jesse Bannon
a758a8870d
[DOCS] Overhaul configuration file getting started guide (#1172)
Updates the configuration file's docs to be cleaner. Removes sphinx autodocs entirely in favor of our custom-built one.
2026-03-09 10:18:50 -07:00
Jesse Bannon
1abe2a44f5
[BACKEND] Refactor validation, preparation for subscription dissect (#1398)
Completely rewrite how subscription validation is performed. Optimizes it quite a bit while also adding backend support for the upcoming `dissect` sub-command, where you can resolve any subscription into its 'raw' form for easier debugging when making scripting changes.
2025-12-30 17:03:59 -08:00
Jesse Bannon
191fa3c1bb
[DOCS] Add warning for auto-generated docs (#1285) 2025-08-17 07:07:25 -07:00
Jesse Bannon
fc2da4d525
[FEATURE] square_thumbnail plugin (#1244)
Adds the ability to make thumbnails square, both file and embedded. Usage:

```
my_preset:
  square_thumbnail: True
```

Will soon enable this by default for all music-based presets with a toggle to disable.
Huge thanks to @Kentaro1043 for crafting the ffmpeg command for this!

Closes https://github.com/jmbannon/ytdl-sub/issues/383
2025-06-18 22:37:06 -07:00
Jesse Bannon
79ba60021c
[BACKEND] Proper functions with docstrings (#1061)
Reimplement some of the 'hidden' functions, including `%regex_capture_many`, as standard functions with docstrings
2024-09-25 23:24:49 -07:00
Jesse Bannon
5866c12104
[BUGFIX] Do not run all branches of if functions in scripts (#999)
Will only run branch script code of `if` statements if the condition evaluates to that branch
2024-06-03 15:02:59 -07:00
Jesse Bannon
caad4598fc
[DEV] Regen function doc strings on make docs (#977)
* [DEV] Regen docs with `make docs`

* default 0
2024-04-27 14:06:16 -07:00
Jesse Bannon
4d0123c8b0
[BACKEND] Optimize memory usage (#872)
Reduce memory usage significantly when pulling large channels all at once by
- Not loading entry script until it is being processed
- Deleting the entry memory once fully processed
- Disable yt-dlp from keeping entry info in memory since ytdl-sub reads it from file
2024-01-05 13:04:01 -08:00
Jesse Bannon
b3d298b664
[DOCS] Advanced scripting usage, rename Overrides to Static (#866) 2024-01-01 00:01:46 -08:00
Jesse Bannon
f2d55fdb23
[REFACTOR] Organize variable definitions (#860) 2023-12-29 14:39:19 -08:00
Jesse Bannon
731d4e444c
[DOCS] Tooling to auto-generate custom sphinx docs (#849)
Tooling + updating docs
2023-12-28 22:39:59 -08:00
Jesse Bannon
e92b1cd12a
[BACKEND][HUGE] Function Support in variable syntax (#838)
A complete gutting of the internals of ytdl-sub to support functions in our variable syntax, in addition to being able to access a yt-dlp entry's .info.json fields using functions. Functionally, ytdl-sub should still look and behave the same from a user-perspective.

With so many lines of code changed (+8927, -2708), no doubt there will be new issues. Please make a GH issue or reach out on Discord if your config/subscriptions break in any way/shape/form.

Details on how to use function support will come soon in the form of proper documentation in our readthedocs.
2023-12-18 16:08:15 -08:00
Jesse Bannon
21eb36774b
[DOCKER] Use alpine-3.16, update ffmpeg (attempt 2) (#332)
* Revert "Revert "[DOCKER] Use alpine-3.16, update ffmpeg (#330)" (#331)"

This reverts commit 1fa3aa5967.

* update mediafile

* lots of changes

* remove setup py
2022-11-15 13:34:47 -08:00
Jesse Bannon
b9ba5ab901
codecov io test coverage (#21) 2022-05-06 22:49:55 -07:00
Jesse Bannon
905151e64e
Add channel as kodi tv show e2e test (#15) 2022-04-29 11:09:32 -07:00
jbannon
761a42e580 bash fix 2022-04-29 08:08:58 +00:00
jbannon
a24cbbf709 no coverage :/ 2022-04-29 08:01:47 +00:00
jbannon
367aa5967e try lcov 2022-04-29 07:45:41 +00:00
jbannon
2ce413272e try xml 2022-04-29 07:33:52 +00:00
jbannon
653a4f22a9 test 2022-04-29 06:52:10 +00:00
jbannon
c05bf2fa4d linter should be working 2022-04-29 06:44:47 +00:00
jbannon
ba86733e5e 10/10 2022-04-29 06:28:54 +00:00
jbannon
86d629cef0 test 2022-04-29 04:21:48 +00:00
jbannon
cc7664e838 update other things with new src layout 2022-04-26 07:23:01 +00:00
jbannon
3e29a33968 get doc layout started 2022-04-24 04:30:35 +00:00
jbannon
279de00c2b cleanup source docs 2022-04-17 05:30:25 +00:00
jbannon
c78d31118f sphinx working 2022-04-13 07:47:33 +00:00
jbannon
beb48ac5aa python3.10 better generics 2022-04-12 23:45:10 +00:00
jbannon
5969cd0268 add scripts to run tests and linter 2022-04-12 05:57:58 +00:00