Commit Graph
100 Commits
Author SHA1 Message Date
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 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
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
tcely 7165491b25 Remove the spaces for better log output 2025-05-18 01:42:39 -04:00
tcely b9efeeebf2 Do not upgrade to Django 5.3 automatically 2025-05-18 01:39:32 -04:00
tcely 294f07d4c4 The explicit pipenv lock is needed 2025-05-18 01:23:33 -04:00
tcely 3fe1b54b33 Try without explicit pipenv lock 2025-05-18 01:18:49 -04:00
tcely 71cf95cdef Disable verbose output 2025-05-18 01:14:11 -04:00
tcely a76919aef4 Install with uv is faster 2025-05-18 01:09:57 -04:00
tcely e737a5443f Use lock separately 2025-05-18 01:02:52 -04:00
tcely 9641cc579b Use pipenv for install 2025-05-18 00:57:12 -04:00
tcely 3a326a526b Do not output hashes 2025-05-18 00:29:50 -04:00
tcely f6b56c1c4e Install with uv from requirements.txt 2025-05-18 00:19:29 -04:00
tcely eb26fbca89 Unpin pipenv 2025-05-17 23:31:11 -04:00
tcely b05b594a3d Use --system flag 2025-05-17 23:26:57 -04:00
tcely 31acdc8a73 Use uv pip 2025-05-17 23:15:56 -04:00
tcely 9953092ee3 Also upgrade pip 2025-05-17 23:08:15 -04:00
tcely f753d25218 Use uv to install pipenv 2025-05-17 23:00:38 -04:00
tcely b93b4e1d47 Add a step for ruff check 2025-05-17 08:22:56 -04:00
tcely ea911e4bf9 Bump version 2025-05-17 01:49:32 -04:00
tcely 98f3bba9e8 Support --link variables 2025-05-17 00:31:55 -04:00
tcely 14877a8c7d Set YT_POT_BGUTIL_BASE_URL for the user 2025-05-16 23:59:13 -04:00
tcely f7d3367a9f Use the environment variable directly 2025-05-16 23:37:23 -04:00
tcely 0919b03143 Set the scheme from YT_POT_BGUTIL_BASE_URL 2025-05-16 22:11:42 -04:00
tcely 5f797d0915 Add YT_POT_BGUTIL_BASE_URL environment variable 2025-05-16 21:57:37 -04:00
tcely 8819a94596 Add server_name 2025-05-16 21:32:54 -04:00
tcely 4abd768ba8 Create token_server.conf 2025-05-16 19:59:09 -04:00
tcely 12aa6b4134 Use token_server.conf 2025-05-16 19:55:56 -04:00
tcely a68c82d975 Add bgutil-ytdlp-pot-provider plugin 2025-05-16 18:37:11 -04:00
tcely a7c1ae1922 Merge branch 'meeb:main' into patch-12 2025-05-16 17:52:49 -04:00
tcely f0a4c9dea4 Use storage location for media_file 2025-05-16 08:49:04 -04:00
tcely 346d66ff69 Add a blank line 2025-05-16 08:27:02 -04:00
tcely 151640ae45 Use Media.download_finished function 2025-05-16 08:25:15 -04:00
tcely f77a657322 Add Media.download_finished function 2025-05-16 08:18:21 -04:00
tcely 54b7e261f1 Add download_finished function 2025-05-16 08:16:18 -04:00
tcely e507a63362 Use Media.download_checklist function 2025-05-16 07:50:54 -04:00
tcely fb4185a9b1 Add Media.download_checklist function 2025-05-16 07:44:21 -04:00
tcely 7390a2b2b1 Add download_checklist function 2025-05-16 07:41:37 -04:00
tcely 31fc6adc11 Use Media.wait_for_premiere function 2025-05-16 07:07:22 -04:00
tcely 9ee28befe0 Add wait_for_premiere function 2025-05-16 06:54:42 -04:00
tcely 9de2728f35 Create media__tasks.py
+ `wait_for_premiere`
2025-05-16 06:50:03 -04:00
tcely 7923d03387 fixup: missing colon 2025-05-16 05:09:15 -04:00
tcely 4d179fbd42 Use the local get-tag action 2025-05-16 05:03:24 -04:00
tcely e0e81c3a2c Create get-tag/action.yml 2025-05-16 04:59:55 -04:00
tcely 42456f6389 Update release.yaml 2025-05-16 04:21:33 -04:00
tcely add42bd87c Use a migration that gives the output we search for 2025-05-15 04:43:59 -04:00
tcely be1617979f Use db.connection.ensure_connection() 2025-05-15 04:09:14 -04:00
tcely 1142fb6844 Update README.md 2025-05-14 13:04:58 -04:00
tcely 1c078322ef Remove Python 3.9 as unsupported 2025-05-14 12:49:48 -04:00
tcely 06591a0020 Remove Path.is_relative_to patch for Python 3.8 2025-05-14 12:46:57 -04:00
tcely b99cb61cdb Don't write .pyc files 2025-05-14 11:58:29 -04:00
tcely b901f6f08c Run collectstatic before test 2025-05-14 11:39:45 -04:00
tcely 0cf25a1bc8 assume_scheme was added in Django 5 2025-05-14 11:29:05 -04:00
tcely b6466c9b0e Always use the UTC time zone 2025-05-14 11:12:58 -04:00
tcely 4934070183 Explicitly pass assume_scheme 2025-05-14 10:58:42 -04:00
tcely 406ba8a8cd Set USE_L10N to True only before Django 4 2025-05-14 10:47:32 -04:00
tcely 6c10a1da5b Check the Django version before using a removed setting 2025-05-14 10:38:16 -04:00
tcely aa27e1c22b Adjust Python versions 2025-05-14 10:09:09 -04:00
tcely 25af3e3407 Bump version 2025-05-13 05:24:22 -04:00
tcely 01a44f74cf Unpin Django 2025-05-13 04:52:10 -04:00
tcely 8be28b25bd Add a now input 2025-05-11 13:46:34 -04:00
tcely eace2bf45b Do not allow run_at to be in the past 2025-05-11 13:36:00 -04:00
tcely af14930a07 Clean up extra metadata rows 2025-05-11 08:16:53 -04:00
tcely 5bf4eeac48 The split entry doesn't work because you can't strip a list 2025-05-11 06:50:58 -04:00
tcely 05eb5cdeb0 Handle the timestamp from the URL correctly 2025-05-11 06:48:46 -04:00
tcely 3f5bd0746e Adjust the description and button 2025-05-11 05:57:01 -04:00
tcely 12cdcdec96 Use a widget to select when in the browser 2025-05-11 05:21:26 -04:00
tcely 5c483d810c Re-indent imports 2025-05-10 04:31:14 -04:00
tcely 0d1f066fce Reorganize misc.py 2025-05-10 04:21:06 -04:00
tcely 26372efe25 Update __init__.py 2025-05-10 03:31:52 -04:00
tcely e1faca4c3d Update 0016_auto_20230214_2052.py 2025-05-10 03:29:59 -04:00
tcely 24d126ad7d Update __init__.py 2025-05-10 03:22:05 -04:00
tcely 2197461299 Update 0031_squashed_metadata_metadataformat.py 2025-05-10 03:20:13 -04:00
tcely 58c20d669a Update 0031_metadata_metadataformat.py 2025-05-10 03:17:15 -04:00
tcely a927c0f6de Add comments about the imports 2025-05-10 03:08:58 -04:00
tcely 25f5c1cf5b Add migration file via upload 2025-05-10 02:26:02 -04:00
tcely 7accbde8bc Merge branch 'meeb:main' into patch-6 2025-05-10 01:53:51 -04:00
tcely e697fc70a1 Use JSONEncoder for MediaServer 2025-05-10 01:36:16 -04:00
tcely 2a075720e1 Re-order imports 2025-05-10 01:29:29 -04:00
tcely 071508e2df Coordination with deletion of Source instances 2025-05-09 22:20:57 -04:00
tcely 7beda36d87 Mark media for deletion 2025-05-09 22:02:03 -04:00
tcely 691d049e2c fixup: update dict first 2025-05-09 17:39:57 -04:00
tcely 7a8421e11a Use the field mapping for site & thumbnail 2025-05-09 17:10:14 -04:00
tcely 147f245e97 Update tests.py 2025-05-09 16:06:28 -04:00
tcely f7ca8189a0 Update tests.py 2025-05-09 16:04:27 -04:00
tcely 9d8a5574e4 Delete tasks first then modify metadata 2025-05-09 16:01:15 -04:00
tcely 5a9c3050c8 Fixes from CI tests 2025-05-09 15:50:37 -04:00