Commit Graph
100 Commits
Author SHA1 Message Date
tcely 2ec805e74a Do not fail to hard link and produce a warning 2025-05-25 02:30:31 -04:00
tcely deacb83ca7 Install using uv pip install
When `pipenv` installs it is using a virtual environment that `uv` created for it to run as a tool.
2025-05-25 02:20:46 -04:00
tcely 4c8adbe222 Merge branch 'meeb:main' into patch-15 2025-05-25 02:02:05 -04:00
tcely ad91583863 Ensure that we can use pip later 2025-05-25 02:01:08 -04:00
tcely b84fbb77df Install and run pipenv using uv 2025-05-25 01:54:06 -04:00
tcely de9ee5e717 Bind mount uv into PATH 2025-05-25 01:44:03 -04:00
tcely cc05d7fccf Add uv stages 2025-05-25 01:39:43 -04:00
tcely 7375fd9b90 Update Dockerfile 2025-05-24 23:58:34 -04:00
tcely 349ca41080 Load packaged modules in nginx.conf 2025-05-24 23:32:47 -04:00
tcely 2141e1e6b2 Ensure the tubesync-nginx stage is working 2025-05-24 23:28:11 -04:00
tcely 0481be7c11 Import from inside the functions 2025-05-24 22:53:59 -04:00
tcely 68d7ced701 Save accurate requested_formats 2025-05-24 22:44:08 -04:00
tcely e28d81b71d Use extractor_key as it is more stable 2025-05-24 20:56:14 -04:00
tcely 09d4b8bc04 Use filter_response to clean up the debug logs 2025-05-24 04:39:01 -04:00
tcely 0830812e21 Bump the version 2025-05-23 10:28:56 -04:00
tcely 3e310aa9f9 yt-dlp-get-pot was recently superceded by a framework in yt-dlp 2025-05-23 10:04:50 -04:00
tcely b0721fea80 Tighten errors_qs by checking last_error 2025-05-23 01:03:30 -04:00
tcely 00f2795b08 Fail when ruff finds errors 2025-05-22 10:55:40 -04:00
tcely 08800a0c71 fixup: import Path 2025-05-22 10:52:30 -04:00
tcely 24105db5cb Use private directory_and_stem function 2025-05-22 10:49:21 -04:00
tcely 5c2dfca00f Change the default to not loop 2025-05-22 10:10:07 -04:00
tcely fc3a68393d Loop for the fuzzy stem 2025-05-22 10:08:53 -04:00
tcely 15898df3bb The old video file should also have a single extension 2025-05-22 10:03:08 -04:00
tcely 54aa9fd165 The video file should not have multiple extensions 2025-05-22 09:57:33 -04:00
tcely 1415af5001 Allow skipping the loop 2025-05-22 09:53:36 -04:00
tcely d4eeb776e8 Close the tr tag on the next line 2025-05-22 09:12:35 -04:00
tcely 0bbdd95005 Merge branch 'meeb:main' into patch-3 2025-05-20 04:32:34 -04:00
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
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
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
tcely da182070f8 Fixes for ruff check in delete-source.py 2025-05-18 03:23:15 -04:00
tcely 2ece2e7f38 Fixes for ruff check in reset-tasks.py 2025-05-18 03:12:12 -04:00
tcely c69cd7f582 Fixes for ruff check in list-sources.py 2025-05-18 02:52:15 -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 0fa5c9ef97 Add missing imports 2025-05-17 20:17:08 -04:00
tcely c85dd553dc Remove unused NoMetadataException 2025-05-17 20:13:44 -04:00
tcely 9e13870e6f Use the dict.get function instead 2025-05-17 20:01:51 -04:00
tcely 2e6f07652a Import signals
We must import this file to have Django signals used.

This should probably be done as part of app configuration instead of in views.
2025-05-17 19:57:09 -04:00
tcely 58ed18519a Fixes for ruff check in utils.py 2025-05-17 10:33:42 -04:00
tcely 35d2aa7b2d Fixes for ruff check in urls.py 2025-05-17 10:23:48 -04:00
tcely 087e2f2e5d Fixes for ruff check in fields.py 2025-05-17 10:22:16 -04:00
tcely 60579ab883 Fixes for ruff check in filtering.py 2025-05-17 10:19:48 -04:00
tcely c07ed8eb04 Fixes for ruff check in hooks.py 2025-05-17 10:18:04 -04:00
tcely 48c9fb1ca3 Fixes for ruff check in mediaservers.py 2025-05-17 10:15:30 -04:00
tcely 4ead042235 Fixes for ruff check in models/__init__.py 2025-05-17 10:10:37 -04:00
tcely 6f8bc52c0a Fixes for ruff check in models/media.py 2025-05-17 09:53:30 -04:00
tcely 565fe79183 Fixes for ruff check in models/source.py 2025-05-17 09:47:57 -04:00