Commit Graph

2431 Commits

Author SHA1 Message Date
tcely
3bc9310c98
Log more human-friendly output 2025-05-20 03:48:38 -04:00
tcely
c539487b4b
Handle multiple task names 2025-05-20 03:43:12 -04:00
tcely
52a1140f5d
Wait for HTTP 429 for media and metadata download tasks 2025-05-20 03:25:53 -04:00
tcely
3c1cf294eb
Streams are newest first also
Keep the beginning when limited:
Newest, ..., Oldest

Reverse direction when adding to the queue:
Oldest, ..., Newest

This way when it is limited by queue size,
we keep the newest streams for indexing.
2025-05-20 02:57:02 -04:00
tcely
e135da45ca
This can be any model, not just media 2025-05-20 02:51:23 -04:00
meeb
954233a71f
Merge pull request #1042 from tcely/patch-4
Fixes for `ruff check` output
2025-05-20 16:35:06 +10:00
meeb
76bac6e48e
Merge pull request #1048 from tcely/patch-12
Downloading media fixes
2025-05-20 16:32:39 +10:00
meeb
9cd408725d
Merge pull request #1046 from tcely/patch-10
Wait for HTTP 429 errors
2025-05-20 16:32:16 +10:00
meeb
bbea045229
Merge pull request #1044 from tcely/patch-3
Improve `Source.index_media` function
2025-05-20 16:31:55 +10:00
meeb
3d8dc96d4e
Merge pull request #1045 from tcely/patch-6
Remove the unused `getpot_bgutil_script` plugin
2025-05-20 16:31:24 +10:00
tcely
e5347d485f
fixup: spelling in the comment 2025-05-19 15:43:56 -04:00
tcely
0aac8c27ed
Raising an exception here is not needed 2025-05-19 15:40:54 -04:00
tcely
b1267a3e59
Reschedule the task when the checklist failed 2025-05-19 15:34:13 -04:00
tcely
be6a51b052
The check list needs to pass if nothing failed 2025-05-19 15:28:27 -04:00
tcely
8080f69076
Remove an unnecessary condition 2025-05-19 11:47:52 -04:00
tcely
1be1e583e5
Use hasattr for update_task_status 2025-05-19 11:32:56 -04:00
tcely
d05b53919c
Wait for HTTP 429 errors 2025-05-19 11:17:39 -04:00
tcely
ed55710f26
Create a set of keys for cleanup_removed_media 2025-05-19 08:54:21 -04:00
tcely
8109d6a836
Use getattr not dict.get for settings 2025-05-19 08:09:56 -04:00
tcely
4cbcd76885
Adjust for a queue instead of a list 2025-05-19 07:36:37 -04:00
tcely
01fcf5ec66
Reverse the lists when adding to the queue
The default sorting appears to be newest first.
We want the oldest to be dropped from the queue,
by any limits instead.
2025-05-19 07:17:56 -04:00
tcely
2483cda1af
Remove the unused getpot_bgutil_script plugin 2025-05-19 05:54:23 -04:00
tcely
e84643b95e
Handle unbalanced channels better 2025-05-19 01:44:49 -04:00
tcely
c7c37b12d8
Use queue for better readability 2025-05-19 00:12:47 -04:00
tcely
8ba9ce4078
Use a queue to avoid list memory performance 2025-05-19 00:10:13 -04:00
tcely
971cea5c0e
Use the less ambiguous list.extend function 2025-05-18 22:26:06 -04:00
tcely
0e720f9042
Use the list.append function, which is safe for strings 2025-05-18 21:45:24 -04:00
meeb
dafa82d1d1
Merge pull request #1041 from tcely/patch-3
Some checks failed
CI / info (push) Has been cancelled
CI / test (3.10) (push) Has been cancelled
CI / test (3.11) (push) Has been cancelled
CI / test (3.12) (push) Has been cancelled
CI / test (3.13) (push) Has been cancelled
CI / containerise (push) Has been cancelled
Add a step for `ruff check`
2025-05-18 22:07:06 +10:00
meeb
cf5580d79d
Merge pull request #1043 from tcely/patch-6
Do not upgrade to Django 5.3 automatically
2025-05-18 22:06:07 +10:00
meeb
6fa142bec3
Merge pull request #1005 from tcely/patch-12
Add Proof-of-Origin Token plugin framework
2025-05-18 22:05:55 +10:00
tcely
a9508fa280
Update tests.py 2025-05-18 07:21:13 -04:00
tcely
853c4878b5
Fixes for ruff check in 0011_auto_20220201_1654.py 2025-05-18 07:00:27 -04:00
tcely
a4c763d723
Fixes for ruff check in 0013_fix_elative_media_file.py 2025-05-18 06:55:12 -04:00
tcely
0f27ffe29e
Fixes for ruff check in settings.py 2025-05-18 06:50:13 -04:00
tcely
bb6d5c0a48
Fixes for ruff check in tests.py 2025-05-18 06:43:34 -04:00
tcely
226a8d6385
Fixes for ruff check in models/_private.py 2025-05-18 06:31:24 -04:00
tcely
aa8804bb7d
Fixes for ruff check in import-existing-media.py 2025-05-18 06:25:23 -04:00
tcely
cc0ed6fd47
Remove unused imports from utils.py 2025-05-18 06:18:41 -04:00
tcely
1ba4bca58b
Add json_serial to json.py 2025-05-18 06:16:06 -04:00
tcely
3abab98f64
Remove json_serial from utils.py 2025-05-18 06:11:16 -04:00
tcely
9a173dc477
Use JSONEncoder in media.py 2025-05-18 06:08:49 -04:00
tcely
87bcfb9094
Fixes for ruff check in youtube-dl-info.py 2025-05-18 05:51:31 -04:00
tcely
7a53e363b2
Fixes for ruff check in sync-missing-metadata.py 2025-05-18 05:24:36 -04:00
tcely
46f1d7fc89
DRY the ruff check options 2025-05-18 05:18:23 -04:00
tcely
d502dcd01a
The output was better quoted 2025-05-18 05:10:25 -04:00
tcely
8e888b4182
Only quote full output 2025-05-18 05:06:32 -04:00
tcely
4d036356e2
Add a blank line after the summary 2025-05-18 04:58:12 -04:00
tcely
9c342c9ccc
Tweak the markdown 2025-05-18 04:50:41 -04:00
tcely
f182a41a21
Loop over output formats 2025-05-18 04:46:14 -04:00
tcely
5dfe52452e
Use the step summary markdown file 2025-05-18 04:30:31 -04:00