tcely
|
7f7ba6b286
|
Update patches/background_task/models.py
|
2025-03-25 12:44:14 -04:00 |
|
tcely
|
41e78b430d
|
Add and use the Task.nodename property
|
2025-03-24 16:03:56 -04:00 |
|
tcely
|
1fd8214f3e
|
Add a TaskManager.boot_time property
|
2025-03-24 15:50:22 -04:00 |
|
tcely
|
5385599542
|
Reorder the copy layers
|
2025-03-24 15:18:48 -04:00 |
|
tcely
|
5e50629141
|
Test the background_task changes
|
2025-03-24 15:12:13 -04:00 |
|
tcely
|
2afad767f1
|
Tasks locked_at before the current boot time are not locked
|
2025-03-24 15:08:32 -04:00 |
|
tcely
|
c10b1aa255
|
Add nodename to Task.locked_by
|
2025-03-24 13:46:59 -04:00 |
|
tcely
|
e5e29885f1
|
Change the task expiration to 1 day
|
2025-03-24 13:17:31 -04:00 |
|
tcely
|
7ad9842b8e
|
Reorder some imports
|
2025-03-23 03:58:41 -04:00 |
|
tcely
|
2951cabd6b
|
Add and use the update_task_status function
|
2025-03-22 21:54:41 -04:00 |
|
tcely
|
47df126074
|
Distinguish the loops in the checking task
|
2025-03-22 11:38:43 -04:00 |
|
tcely
|
391fe738b5
|
Use remove_enclosed function in hooks.py
|
2025-03-21 15:07:48 -04:00 |
|
tcely
|
a55e9ccfb6
|
Clean up verbose_name for check task also
|
2025-03-21 14:51:35 -04:00 |
|
tcely
|
0febb409bb
|
Use remove_enclosed function
|
2025-03-21 14:44:41 -04:00 |
|
tcely
|
ebea5d8369
|
Add remove_enclosed function
|
2025-03-21 14:37:09 -04:00 |
|
tcely
|
e2f36d8e85
|
Add a clean up function for verbose_name
|
2025-03-21 14:30:12 -04:00 |
|
tcely
|
10666b8444
|
Tweak name to be accurate again
|
2025-03-20 11:21:55 -04:00 |
|
tcely
|
612c6299c3
|
More stable ffmpeg releases
This code picks the same build date, as long as:
1. The release still exists
2. The commit is the latest
|
2025-03-20 02:04:02 -04:00 |
|
tcely
|
13e7fc21a8
|
Use Media.metadata_published
|
2025-03-19 09:18:51 -04:00 |
|
tcely
|
74439b2f36
|
Consistency
|
2025-03-19 08:16:18 -04:00 |
|
tcely
|
84e7a23fc9
|
Avoid using always()
|
2025-03-19 02:05:33 -04:00 |
|
tcely
|
ba8ad20910
|
Don't push for forks
|
2025-03-19 01:59:07 -04:00 |
|
tcely
|
d31f29aa7c
|
Merge branch 'main' into patch-10
|
2025-03-19 01:38:31 -04:00 |
|
tcely
|
d6785660b8
|
Don't override FFMPEG_VERSION yet
|
2025-03-19 01:36:49 -04:00 |
|
tcely
|
35f0dcff55
|
Remove FFMPEG_DATE value from Dockerfile
|
2025-03-19 01:35:19 -04:00 |
|
tcely
|
f5a30c218b
|
Follow yt-dlp/FFmpeg-Builds/releases automatically
|
2025-03-19 01:23:02 -04:00 |
|
tcely
|
e1f2cd0d85
|
fixup: indentation
|
2025-03-19 01:00:06 -04:00 |
|
tcely
|
20959fb4c2
|
Thumbnail download can proceed without metadata
|
2025-03-19 00:46:49 -04:00 |
|
tcely
|
3af8a14690
|
Merge branch 'main' into patch-15
|
2025-03-19 00:40:56 -04:00 |
|
tcely
|
65f86b1161
|
Use the default argument
|
2025-03-19 00:13:23 -04:00 |
|
tcely
|
281268772a
|
Add a default thumbnail URL before metadata is available
|
2025-03-19 00:02:26 -04:00 |
|
tcely
|
abae403a8f
|
Remove extra blank lines
|
2025-03-18 21:12:18 -04:00 |
|
tcely
|
196c193c41
|
Merge branch 'main' into patch-15
|
2025-03-18 21:07:24 -04:00 |
|
tcely
|
1f72718f31
|
fixup: indentation
|
2025-03-18 20:15:17 -04:00 |
|
tcely
|
d2458a2979
|
Keep transactions specific to task
|
2025-03-18 20:12:54 -04:00 |
|
tcely
|
021f4b172a
|
Display progress for checking task
|
2025-03-18 20:05:14 -04:00 |
|
tcely
|
8f9fbb9a4c
|
Call cleanup_removed_media from within the transaction
|
2025-03-18 18:25:31 -04:00 |
|
tcely
|
17b82d4264
|
Schedule update of media servers after deletion loops
|
2025-03-18 18:13:24 -04:00 |
|
tcely
|
7e721c98a7
|
Don't update media servers for every Media item
|
2025-03-18 17:42:06 -04:00 |
|
tcely
|
34eea62c84
|
Don't log inside the loop
|
2025-03-18 17:33:28 -04:00 |
|
tcely
|
85fb479c5e
|
Better indexing of inactive sources
|
2025-03-18 17:22:27 -04:00 |
|
tcely
|
c1cc71691a
|
Use shell variables
|
2025-03-18 11:23:53 -04:00 |
|
tcely
|
4bc510bdad
|
The workflow should work for forks also
|
2025-03-18 09:31:43 -04:00 |
|
tcely
|
b074f6bae9
|
Switch to NoMetadataException
|
2025-03-17 12:24:16 -04:00 |
|
tcely
|
5f0323e4af
|
Add NoMetadataException
|
2025-03-17 12:21:40 -04:00 |
|
tcely
|
8eec7320db
|
Reschedule download tasks when metadata is not ready
|
2025-03-17 11:43:00 -04:00 |
|
tcely
|
ac80c6ce67
|
Metadata at priority 20
|
2025-03-17 11:37:21 -04:00 |
|
tcely
|
deed3a3393
|
Reduce the amount of time the database is locked
|
2025-03-17 09:50:15 -04:00 |
|
tcely
|
5df8500a10
|
Upgrade psycopg
|
2025-03-16 17:57:07 -04:00 |
|
tcely
|
c2b21c016e
|
Prevent filename from beginning with /
|
2025-03-16 15:17:11 -04:00 |
|
tcely
|
5401407e6d
|
Apply the patch in youtube.py
|
2025-03-16 11:54:01 -04:00 |
|
tcely
|
b3b4007dcc
|
Change the patched function
|
2025-03-16 11:50:17 -04:00 |
|
tcely
|
217c0898da
|
Fill in the original function we will patch
|
2025-03-16 11:47:32 -04:00 |
|
tcely
|
3d4d965880
|
Create fatal_http_errors.py
This is a sketch of how a new patch is implemented.
It doesn't do anything yet.
|
2025-03-16 11:39:57 -04:00 |
|
tcely
|
ddf0de3c71
|
Limit metadata refresh attempts
|
2025-03-16 08:57:04 -04:00 |
|
tcely
|
f69eed6b44
|
Base request delay on the number of tasks running
|
2025-03-15 21:55:33 -04:00 |
|
tcely
|
ec45f29e1d
|
Use smaller transactions
|
2025-03-15 21:05:39 -04:00 |
|
tcely
|
ec96a86c07
|
Refresh formats only after metadata was saved
|
2025-03-15 20:31:09 -04:00 |
|
tcely
|
7ff1fa3e0c
|
Add the default extra too
|
2025-03-15 16:40:18 -04:00 |
|
tcely
|
40e4d98ef4
|
Use the curl-cffi extra to support impersonate option
|
2025-03-15 15:57:44 -04:00 |
|
tcely
|
5383d57946
|
Remove an unnecessary rm
|
2025-03-15 12:40:43 -04:00 |
|
tcely
|
9021411037
|
Reorganize layers for better caching
|
2025-03-15 12:24:43 -04:00 |
|
tcely
|
8dc2455bfa
|
Use the tubesync-basestage
|
2025-03-15 11:53:58 -04:00 |
|
tcely
|
ed46bf96f8
|
Set to None for empty strings
|
2025-03-15 11:21:55 -04:00 |
|
tcely
|
0ba16d08d7
|
Add geo_verification_proxy to default yt-dlp settings
|
2025-03-15 11:19:08 -04:00 |
|
tcely
|
22a7cb76b0
|
Clean up more tasks for deleted sources
|
2025-03-15 11:09:43 -04:00 |
|
tcely
|
6507499047
|
Merge branch 'meeb:main' into patch-10
|
2025-03-14 16:04:22 -04:00 |
|
tcely
|
7997b42ca6
|
Do not use keyword arguments with the underlying function
|
2025-03-14 15:45:22 -04:00 |
|
tcely
|
51a6a08f9c
|
This task is being called from a transaction already
|
2025-03-14 15:42:03 -04:00 |
|
tcely
|
b18760082f
|
fixup! Add and use delete_all_media_for_source task
|
2025-03-14 15:32:52 -04:00 |
|
tcely
|
1d3e880c95
|
fixup! Add Source.is_active property
|
2025-03-14 15:24:48 -04:00 |
|
tcely
|
0549438543
|
fixup! Do not update media servers about media from inactive sources
|
2025-03-14 15:16:31 -04:00 |
|
tcely
|
9683a22fae
|
Merge branch 'main' into patch-17
|
2025-03-14 15:05:33 -04:00 |
|
tcely
|
393330a99f
|
Remove an extra blank line
|
2025-03-14 15:03:22 -04:00 |
|
tcely
|
8314019781
|
Remove timing measurement from tasks.py
|
2025-03-14 14:59:58 -04:00 |
|
tcely
|
fc058a82f7
|
Map the new task
|
2025-03-14 13:52:04 -04:00 |
|
tcely
|
81ab9e3c92
|
Add and use delete_all_media_for_source task
|
2025-03-14 13:32:49 -04:00 |
|
tcely
|
640f51fe95
|
Deactivate the Source before deletion
|
2025-03-14 13:00:08 -04:00 |
|
tcely
|
cbed39b798
|
Log the Source directory path before deleting
|
2025-03-14 12:02:14 -04:00 |
|
tcely
|
9f171025a6
|
Remove the index task before trying to delete the Source
|
2025-03-14 11:33:32 -04:00 |
|
tcely
|
453b9eaa79
|
Mark the directory for removal after the Source is deleted
|
2025-03-14 11:32:34 -04:00 |
|
tcely
|
bdf9a69f48
|
Clean up my git status
|
2025-03-14 08:24:41 -04:00 |
|
tcely
|
247b9f2a72
|
Update the media server quicker than the default
|
2025-03-14 08:15:41 -04:00 |
|
tcely
|
9d03c0d5d2
|
Do not detach the signal
|
2025-03-14 08:14:29 -04:00 |
|
tcely
|
5a46dce2a1
|
Do not update media servers about media from inactive sources
|
2025-03-14 08:11:37 -04:00 |
|
tcely
|
016cb498ab
|
Add Source.deactivate() function
|
2025-03-14 08:02:06 -04:00 |
|
tcely
|
d991b9593d
|
Add Source.is_active property
|
2025-03-14 07:59:34 -04:00 |
|
tcely
|
45c9b9ce81
|
Use the new CSS class
|
2025-03-13 16:52:20 -04:00 |
|
tcely
|
40b4032bbc
|
Move style to CSS
|
2025-03-13 16:50:35 -04:00 |
|
tcely
|
68c6b78179
|
Apply the suggested "Sync Now" changes
Fixes #641
|
2025-03-13 16:46:58 -04:00 |
|
tcely
|
30b3f08b17
|
Merge branch 'main' into patch-6
|
2025-03-13 10:32:53 -04:00 |
|
tcely
|
f99c8fc596
|
Use set since tuple is dangerous for strings
Even in explicit form tuple used a collection of characters instead of a single string.
I hate that Python has these little traps.
|
2025-03-13 06:16:01 -04:00 |
|
tcely
|
487e801151
|
Increase episode number calculation speed
|
2025-03-13 03:23:27 -04:00 |
|
tcely
|
291631f76f
|
Use DOWNLOAD_ROOT setting instead
|
2025-03-12 20:40:14 -04:00 |
|
tcely
|
469858a33a
|
Use the DOWNLOADS_BASE_DIR setting
|
2025-03-12 20:28:08 -04:00 |
|
tcely
|
f7dbd0cf82
|
We can't rename across devices so don't leave /downloads
|
2025-03-12 20:17:18 -04:00 |
|
tcely
|
d1cc05a8f4
|
Use '/tmp' instead of '/' for odd cases
|
2025-03-12 20:05:58 -04:00 |
|
tcely
|
408a3e1c95
|
Save the updated verbose_name of the task
|
2025-03-12 17:32:19 -04:00 |
|
tcely
|
c0355e8f69
|
Reset task verbose name after the loop ends
|
2025-03-12 15:46:55 -04:00 |
|
tcely
|
3ad0fad72e
|
Get task functions
|
2025-03-12 15:38:52 -04:00 |
|