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
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
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
4d9a30779c
[BUGFIX] Use proper extractor key for download archive ( #840 )
...
For less popular sites, ytdl-sub's custom download archive was not working. This was because we weren't using the right extraction key (though it still worked for YouTube, Bandcamp, Soundcloud, and others). This bugfix should now exactly match yt-dlp's and never be a problem again.
Huge thanks to @Svagtlys for root-causing this 🤝
2023-12-14 17:04:03 -08:00
Jesse Bannon
557854fc83
[FEATURE] release_date source variables ( #638 )
...
* [FEATURE] `release_date` source variables
* lint
2023-06-24 23:01:18 -07:00
Benjamin Hsieh
14c7865165
[FEATURE] channel_id source variable ( #575 )
2023-03-31 21:25:13 -07:00
Benjamin Hsieh
e1f2e37858
[FEATURE] creator_sanitized source variable ( #574 )
2023-03-31 20:47:44 -07:00
Jesse Bannon
fa6eae7423
[FEATURE] creator source variable ( #572 )
2023-03-31 15:37:06 -07:00
Jesse Bannon
73094e79bb
[FEATURE] Plex sanitized title and uid. Add into prebuilt preset ( #449 )
...
* [FEATURE] Plex sanitized title and uid. Add into prebuilt preset
* update fixtures, add fixture test
* lint
2023-02-20 10:19:44 -08:00
Jesse Bannon
30c77565bc
[BACKEND] Add playlist_uploader_sanitized var ( #414 )
2023-01-13 10:47:43 -08:00
Jesse Bannon
5b8ee7f2de
[FEATURE] download_index source variable, new tv presets ( #271 )
2022-10-05 12:08:43 -07:00
Jesse Bannon
6d52177104
[BACKEND] upload_date_index source variables ( #261 )
...
* [BACKEND] `upload_date_index` source variables
* len
2022-09-30 22:41:06 -07:00
Jesse Bannon
cd9a094e2c
[BACKEND] epoch and playlist_index_reversed variables ( #257 )
2022-09-29 15:39:53 -07:00
Jesse Bannon
7d29b72010
[BACKEND] uid_sanitized variable ( #256 )
2022-09-29 00:33:57 -07:00
Jesse Bannon
ebdd6c8aec
[BACKEND] Only have single entry type ( #248 )
2022-09-27 20:17:10 -07:00
Jesse Bannon
32577bbad5
[BACKEND] Expose raw playlist_index and playlist_count to all download strategies ( #245 )
2022-09-27 17:17:56 -07:00
Jesse Bannon
46c14bd842
[BACKEND] uploader variables ( #238 )
2022-09-17 09:04:49 -07:00
Jesse Bannon
3ace86435d
[BACKEND] Defined kwarg strings. Add playlist/source description variable ( #237 )
2022-09-17 08:09:09 -07:00
Jesse Bannon
c08ea64b5a
[BACKEND] Add generic.collection download strategy, use it for soundcloud, youtube channel/playlist ( #230 )
2022-09-14 15:36:14 -07:00
Jesse Bannon
c33eed5a64
[BUGFIX] Fix source vars containing variable-like syntax ( #231 )
2022-09-14 08:36:56 -07:00
Jesse Bannon
4b6c79caef
[FEATURE] Add webpage_url source variable ( #224 )
2022-09-08 09:54:57 -07:00
Jesse Bannon
ca0ac787b0
[FEATURE] Ability to write .info.json files ( #201 )
2022-08-29 22:50:42 -07:00
Jesse Bannon
553862fdad
[FEATURE] Add day_of_year variables ( #195 )
2022-08-24 09:59:34 -07:00
Jesse Bannon
9b224b7fc6
[FEATURE] Add reversed date variables ( #192 )
2022-08-23 22:32:41 -07:00
Jesse Bannon
c443d2e295
[BUGFIX] Fix truncated year source variable ( #185 )
2022-08-18 17:57:27 -07:00
Jesse Bannon
079994c003
[BUGFIX] Remove description from Soundcloud source variables ( #114 )
...
* [BUGFIX] Remove description from Soundcloud source variable
* update unit tests
2022-07-20 22:41:42 -07:00
Jesse Bannon
4994e3685e
mkv bugfix from ffmpeg ( #57 )
...
* mkv bug from ffmpeg
* always have working directory with entry
2022-05-30 18:45:00 -07:00
Jesse Bannon
8b336e6fb0
Always convert thumbnails to jpg ( #51 )
...
* always use jpg
* fix unit test
* update readme and configs
2022-05-30 09:59:25 -07:00
Jesse Bannon
f3c06ec15c
Add more source variables ( #42 )
2022-05-26 23:54:12 -07:00
Jesse Bannon
9c97fb7572
sanitized suffix ( #41 )
2022-05-26 23:02:40 -07:00
jbannon
2db2c88441
setup cfg
2022-04-26 07:19:53 +00:00
jbannon
5eeb117fca
variables as mixins for docs
2022-04-24 00:30:53 +00:00
jbannon
a7b652de72
sc working again
2022-04-22 21:52:44 +00:00
jbannon
139d82e126
big midnight refactor
2022-04-22 07:34:51 +00:00
jbannon
1243832178
more unit tests
2022-04-12 04:47:54 +00:00
jbannon
4c01198ce9
update unit tests
2022-04-12 04:23:52 +00:00
jbannon
b17d773248
fix unit tests
2022-04-12 04:07:31 +00:00
jbannon
af2d091d50
soundlcoud working, refactor album track
2022-04-11 23:35:17 +00:00
jbannon
2b9ab7c3af
update black line-len to 100
2022-04-06 07:30:35 +00:00
jbannon
451b3564c5
return string formatters in overrides dict
2022-04-06 06:09:16 +00:00
jbannon
585a432bc9
more formatter tests, begin soundcloud unit tests
2022-03-30 18:13:44 +00:00
jbannon
e1d60ab6e9
entry 100% test coverage
2022-03-30 16:48:04 +00:00