1947 Commits

Author SHA1 Message Date
tcely
37a3943c10
Split up tubesync/sync/views.py 2026-03-24 15:39:13 -04:00
tcely
27e685d5d5
Stop using ContentFile 2026-03-24 15:39:10 -04:00
mady20
1e0abe8906 Fix test cleanup and imports 2026-03-22 17:06:08 +05:30
mady20
a5ae61ddec Centralize test fixtures, fix state leaks, and cleanup artifacts 2026-03-22 01:45:26 +05:30
mady20
6c7f94f29c Add README for sync tests 2026-03-20 00:02:03 +05:30
mady20
0e137f7d21 Merge 'main' into issue/1427/split-tests 2026-03-19 23:50:33 +05:30
mady20
a1aeb504c3 Split sync/tests.py into smaller test modules 2026-03-19 22:27:29 +05:30
gilangjavier
05e702820a test(media): cover stale video fields cleanup after audio download 2026-03-19 12:04:16 +07:00
gilangjavier
e129e22308 fix(media): prioritize audio token over downloaded height 2026-03-19 11:52:09 +07:00
gilangjavier
2c9288887a fix(media): preserve 'audio' resolution for downloaded audio formats 2026-03-19 10:11:11 +07:00
tcely
d58f37c02f
fix: clear stale data for audio downloads 2026-03-18 15:36:04 -04:00
tcely
7446006a7c
Test the behavior for audio-only sources 2026-03-18 14:10:07 -04:00
gilangjavier
4d7c7a5d98 test: move issue-499 metadata to fixtures and use metadata_dumps 2026-03-17 13:25:07 +07:00
gilangjavier
66ece65925 Fix {resolution} output for premium/50fps formats 2026-03-17 10:08:37 +07:00
tcely
70320d2842
Improve get_waiting_tasks
* Switch to a generator in `get_waiting_tasks`

* Faster checking for empty task queues
2026-02-26 04:21:09 -05:00
meeb
cc3a185f39
Merge pull request #1389 from meeb/issue/1344/fallback-and-matching
Expand the fallback strategies
2026-02-24 22:00:09 +11:00
tcely
38eae543f5
Clean up tests 2026-02-23 11:25:44 -05:00
tcely
ce2e675a4c
Use the setting for a cleared media_format 2026-02-20 21:39:17 -05:00
tcely
795c98443e
Update views.py 2026-02-20 20:40:29 -05:00
tcely
83bc84323f
Add AV1 test cases 2026-02-20 19:02:37 -05:00
tcely
6fedfdabd6
Move the resolve_priority_order function to common/utils.py 2026-02-20 17:07:53 -05:00
tcely
06fd21e102
Add tests for REQUIRE_CODEC 2026-02-20 12:21:32 -05:00
tcely
24626e041d
Move the defaults for ENGLISH_LANGUAGE_CODE_ORDER into settings 2026-02-20 12:21:29 -05:00
tcely
5f58a538f0
Add a resolve_priority_order function 2026-02-20 12:21:23 -05:00
tcely
b77d7f0a42
Create 0037_alter_source_fallback.py 2026-02-20 12:21:20 -05:00
tcely
4767dac2b8
Only allow switching codecs when REQUIRE_CODEC was not used 2026-02-20 12:21:18 -05:00
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
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
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
meeb
8a42a40b51
Merge pull request #1374 from meeb/issue/1368/manual-block-video-from-error-list
Link the `refresh_formats` task to its Media instance
2026-02-01 15:03:42 +11:00
meeb
e4f146a225
Merge pull request #1373 from meeb/issue/1366/sponsorblock-segments-not-being-removed
Expand selected_choices
2026-02-01 15:03:27 +11: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
363449cbc8
Comment about disqualification of AI-upscaled formats 2026-01-12 02:50:02 -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
fb7d120f81
Eliminate duplicate ensure_connection calls 2025-11-23 14:19:39 -05:00
tcely
fe1ea3cf0f
Replace hardcoded sleep interval with configurable setting 2025-11-20 21:54:49 -05:00
tcely
02e0cc3cc8
Remove sleep_interval_requests from download options 2025-11-20 21:37:19 -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
meeb
6e8bc9bb0e
Merge pull request #1331 from tcely/patch-4
Display language codes for matched formats
2025-11-14 14:49:38 +11:00