tcely
|
2484a30900
|
Use tasks.schedule_media_servers_update
|
2025-03-19 08:37:29 -04:00 |
|
tcely
|
d3e544def2
|
Schedule the media removal after the transaction succeeded
|
2025-03-18 19:18:02 -04:00 |
|
tcely
|
5d92176257
|
Remove the directory, if requested, after deleting Media
|
2025-03-18 18:54:36 -04:00 |
|
tcely
|
61853f49b5
|
The transaction is never committed if the worker is killed
|
2025-03-18 18:48:11 -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
|
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
|
f69eed6b44
|
Base request delay on the number of tasks running
|
2025-03-15 21:55:33 -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
|
30b3f08b17
|
Merge branch 'main' into patch-6
|
2025-03-13 10:32:53 -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
|
ef5b939caf
|
Check the copied nginx configuration
Checking before the copy doesn't help.
Fixes #804
|
2025-03-12 13:02:55 -04:00 |
|
tcely
|
cfb117b555
|
Tweaked logged message
|
2025-03-11 21:10:42 -04:00 |
|
tcely
|
3c714859db
|
Rename then check media
|
2025-03-11 17:14:44 -04:00 |
|
tcely
|
af0e300ef1
|
Download metadata before indexing another source
|
2025-03-11 16:59:33 -04:00 |
|
tcely
|
552e46faf4
|
Remove /etc/pip.conf from Dockerfile
|
2025-03-11 12:00:04 -04:00 |
|
tcely
|
c865890f32
|
Delete pip.conf
|
2025-03-11 11:56:55 -04:00 |
|
tcely
|
f0f7edfd47
|
Add PySocks
Upgrade to the latest, if the OS version is too old.
|
2025-03-11 09:28:26 -04:00 |
|
tcely
|
aa54a88cdb
|
Add urllib3[socks] and requests[socks]
These each have slightly different version requirements for `PySocks`.
|
2025-03-11 09:25:57 -04:00 |
|
tcely
|
2cd33672af
|
Remove python3-python-socks
|
2025-03-11 09:05:38 -04:00 |
|
tcely
|
092e5ef54c
|
Add python3-socks
|
2025-03-11 08:38:25 -04:00 |
|
tcely
|
7db0048f80
|
Remove requests[socks] from Pipfile
|
2025-03-11 08:25:57 -04:00 |
|
tcely
|
239cfca534
|
Use socks support from the operating system
|
2025-03-11 08:24:02 -04:00 |
|
tcely
|
e174c42bf5
|
Remove explicit django-compressor
Also, add some of the useful optional dependencies.
|
2025-03-11 08:14:23 -04:00 |
|
tcely
|
8d65b57852
|
Remove explicit libsass
We need this to use the package added in #808.
|
2025-03-11 07:26:35 -04:00 |
|
tcely
|
08fb55eb64
|
fixup: we don't need to assign self
|
2025-03-11 06:59:40 -04:00 |
|
tcely
|
76c60830eb
|
Positive timing values
|
2025-03-11 06:54:33 -04:00 |
|
tcely
|
d69866ded8
|
fixup: call function with instance
|
2025-03-11 05:45:00 -04:00 |
|
tcely
|
5f11779dc2
|
Time some index functions
|
2025-03-11 05:17:46 -04:00 |
|
tcely
|
3f10e45e6a
|
Add timing and profiling decorators
|
2025-03-10 20:26:47 -04:00 |
|
tcely
|
27955d7b7b
|
Improve checking media efficiency
|
2025-03-10 16:42:25 -04:00 |
|
tcely
|
79ed138aa1
|
fixup: typo
|
2025-03-09 22:45:49 -04:00 |
|
tcely
|
4b3605f65e
|
Use a temporary directory for testing formats
|
2025-03-09 22:31:56 -04:00 |
|
tcely
|
84d42fb2ab
|
Add more logging to get_media_info
|
2025-03-09 22:02:44 -04:00 |
|
tcely
|
58472f7785
|
Add explicit transactions for certain tasks
|
2025-03-09 21:47:48 -04:00 |
|
tcely
|
be71f8cc10
|
Display the shorter engine instead of driver
|
2025-03-09 15:42:18 -04:00 |
|
tcely
|
3a6c317074
|
Update 0028_alter_source_source_resolution.py
Match this to the label change in dc0e1d7552.
|
2025-03-09 14:25:30 -04:00 |
|
tcely
|
c0115c0431
|
Update local_settings.py.container
|
2025-03-09 10:38:04 -04:00 |
|
tcely
|
e5c0abbdca
|
os was imported
|
2025-03-09 09:45:46 -04:00 |
|
tcely
|
eabcb36aaa
|
Switch to common.utils.getenv in settings.py
|
2025-03-09 09:43:01 -04:00 |
|
tcely
|
7315cb9853
|
Remove getenv from local_settings.py.container
|
2025-03-09 09:37:11 -04:00 |
|
tcely
|
c2653b76a9
|
Add getenv to common.utils
|
2025-03-09 09:34:36 -04:00 |
|
tcely
|
3c94e5a0b3
|
Add and use getenv
`os.getenv` makes no guarantees about the return type for default values.
|
2025-03-09 06:56:39 -04:00 |
|
tcely
|
5cd372c92d
|
Do not try to refresh formats when no metadata exists
|
2025-03-08 17:04:11 -05:00 |
|
tcely
|
01a9f07d58
|
Import missing functions from yt_dlp.utils
|
2025-03-08 11:59:44 -05:00 |
|
tcely
|
c2aa9a4b9f
|
Explicitly turn off checking of thumbnails
|
2025-03-08 11:07:13 -05:00 |
|
tcely
|
7c0891c703
|
Link to the python3 version immediately after installing it
|
2025-03-08 10:45:28 -05:00 |
|
tcely
|
b553443255
|
Copy patches before trying to use them
|
2025-03-08 10:31:31 -05:00 |
|
tcely
|
4f9e0bf949
|
Rename patches to patch
|
2025-03-08 10:09:26 -05:00 |
|
tcely
|
19c301ad76
|
Rename patches to patch
|
2025-03-08 10:08:32 -05:00 |
|
tcely
|
a8fd6ee00b
|
Adjust import
|
2025-03-08 09:28:24 -05:00 |
|
tcely
|
cffe8348c3
|
Passthrough module for patch
|
2025-03-08 09:26:40 -05:00 |
|
tcely
|
629ff5cfc8
|
Use the correct source path
|
2025-03-08 08:23:38 -05:00 |
|
tcely
|
af7d6292af
|
Find should work for old versions too
|
2025-03-08 08:16:55 -05:00 |
|
tcely
|
ca904f37d3
|
Show me where yt_dlp is loaded from
|
2025-03-08 08:10:34 -05:00 |
|