tcely
|
52579865b2
|
priority: 01: delete_all_media_for_source
|
2025-04-06 16:27:18 -04:00 |
|
tcely
|
4c08726906
|
priority: 10: index_source_task
|
2025-04-06 14:42:21 -04:00 |
|
tcely
|
eab0ad9d7c
|
Review of tasks.py
|
2025-04-03 01:50:20 -04:00 |
|
tcely
|
30c5f57619
|
Add the video number to the debug log message
|
2025-03-24 12:10:01 -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
|
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
|
e2f36d8e85
|
Add a clean up function for verbose_name
|
2025-03-21 14:30:12 -04:00 |
|
meeb
|
8fccc4f245
|
Merge pull request #850 from tcely/patch-17
Refresh formats only after metadata was saved
|
2025-03-21 02:04:25 +11:00 |
|
meeb
|
4b26172e74
|
Merge pull request #865 from tcely/patch-12
Thumbnail download can proceed without metadata
|
2025-03-19 16:03:39 +11: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
|
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
|
85fb479c5e
|
Better indexing of inactive sources
|
2025-03-18 17:22:27 -04:00 |
|
tcely
|
b074f6bae9
|
Switch to NoMetadataException
|
2025-03-17 12:24:16 -04:00 |
|
tcely
|
8eec7320db
|
Reschedule download tasks when metadata is not ready
|
2025-03-17 11:43:00 -04:00 |
|
tcely
|
deed3a3393
|
Reduce the amount of time the database is locked
|
2025-03-17 09:50:15 -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
|
51a6a08f9c
|
This task is being called from a transaction already
|
2025-03-14 15:42:03 -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
|
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
|
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 |
|
tcely
|
89f2f2b0d3
|
Show progress on tasks page
|
2025-03-11 17:39:33 -04:00 |
|
tcely
|
af0e300ef1
|
Download metadata before indexing another source
|
2025-03-11 16:59:33 -04:00 |
|
tcely
|
79ed138aa1
|
fixup: typo
|
2025-03-09 22:45:49 -04:00 |
|
tcely
|
58472f7785
|
Add explicit transactions for certain tasks
|
2025-03-09 21:47:48 -04:00 |
|
tcely
|
5cd372c92d
|
Do not try to refresh formats when no metadata exists
|
2025-03-08 17:04:11 -05:00 |
|
tcely
|
e4a6c54764
|
Don't just log an unhandled exception
Raising these is important to trigger task failure and rescheduling.
|
2025-03-01 19:15:13 -05:00 |
|
meeb
|
aaaae354cb
|
Merge pull request #757 from tcely/patch-6
Add scheduling delays
|
2025-02-24 17:40:31 +11:00 |
|
tcely
|
e5d124e807
|
Update rename_all_media_for_source
Include the recent optimizations.
|
2025-02-22 08:04:44 -05:00 |
|
tcely
|
599d596368
|
Add scheduling delays
This is an attempt to stop duplicated tasks from running at the same time.
|
2025-02-22 06:53:28 -05:00 |
|
tcely
|
78977bbdec
|
Limit the try and log what happened for debugging
|
2025-02-20 23:24:10 -05:00 |
|
tcely
|
95774a0d2c
|
Do not let one private video hold up the rest
|
2025-02-20 23:16:13 -05:00 |
|
tcely
|
b01af70098
|
Try to refresh formats after download failed
|
2025-02-19 17:48:18 -05:00 |
|
tcely
|
ad8fa72123
|
Try to refresh formats while checking media
|
2025-02-19 17:34:20 -05:00 |
|
tcely
|
ed3136c7a8
|
Defer Media.metadata inside rename_media task
|
2025-02-18 21:12:40 -05:00 |
|
tcely
|
6aa392118d
|
Remove import for tz
|
2025-02-17 22:38:00 -05:00 |
|