tcely
0ba16d08d7
Add geo_verification_proxy to default yt-dlp settings
2025-03-15 11:19:08 -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
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
tcely
1d1cb6dc14
Use Python3_ROOT_DIR environment variable
2025-03-08 08:00:22 -05:00
tcely
2e12737583
Copy patches/yt_dlp for tests
2025-03-08 07:54:27 -05:00
tcely
b072b314d2
Create __init__.py
2025-03-08 07:40:07 -05:00
tcely
5f68520496
Use the new patch
2025-03-08 07:29:00 -05:00
tcely
d20e995666
Create check_thumbnails.py
...
Patch to use `check_thumbnails` instead of `check_formats` to mean test downloading every possible thumbnail URL.
2025-03-08 07:25:18 -05:00
tcely
6f349b0f91
Disable proxies for health checking
2025-03-07 23:22:04 -05:00
tcely
7b9819c18d
Remove useless duplicated assignment
2025-03-07 21:27:09 -05:00
tcely
baec5ad061
Filter latest downloads with download_date IS NOT NULL
2025-03-07 13:26:22 -05:00
tcely
dc0e1d7552
Fix 2160 resolution label
2025-03-06 11:06:51 -05:00
tcely
461ccf6017
Removed extra characters
...
Also, use the new function.
2025-03-06 10:12:44 -05:00
tcely
b8503fd9e9
UseMedia.metadata_published
...
It does the same operation, but has logging too.
2025-03-05 16:10:47 -05:00
tcely
ad3ada370d
Name the buildx step
...
This allows easy access to the step output variables.
2025-03-05 12:35:01 -05:00
tcely
a00f3e8d65
Speed up arm64 builds
...
This is the dependency that takes so long to compile that it dominated every other part of the build time.
It's a ~12 MiB wheel when we compile from the latest source.
2025-03-05 08:51:47 -05:00
tcely
acb74dcc41
Handle the None or '' cases without logs
...
This was happening way more often than I expected.
2025-03-04 15:51:12 -05:00
tcely
2a0555376e
No more errors for None values set in metadata
2025-03-04 15:05:45 -05:00
tcely
5a0d0345a8
Bump ffmpeg
2025-03-04 11:11:40 -05:00
tcely
09d386040d
nginx only creates one directory level
2025-03-03 14:09:56 -05:00
tcely
623affef4a
Verify nginx configuration for the image
2025-03-03 10:06:47 -05:00
tcely
72d3ce37b9
fixup: remove unneeded spaces
2025-03-03 09:56:39 -05:00
tcely
efbbc7a178
Keep a copy of long running web responses
2025-03-03 09:32:00 -05:00
tcely
c5e96d6a29
Correct inconsistent spacing in nginx.conf
2025-03-03 09:16:56 -05:00
tcely
663dbd48e1
Adjust nginx timeout
2025-03-03 09:10:53 -05:00
tcely
f94474093a
Let long running web workers finish
2025-03-03 09:03:29 -05:00
tcely
d277619a73
Sort immediate tasks at the start
2025-03-03 08:58:33 -05:00
tcely
f905f4cf77
Sort for the user in Python
2025-03-02 20:46:05 -05:00
tcely
c090453931
Upgrade multi_key_sort
...
Use the Python 3.8 argument list.
Accept `key_func` to allow customization.
2025-03-02 20:10:38 -05:00
tcely
b535f1324e
Refactor TasksView.get_context_data
...
Pulled out a function for adding attributes to mapped tasks.
2025-03-02 19:45:10 -05:00
tcely
dc15b2e4ff
Add the page count for scheduled also
2025-03-02 01:06:32 -05:00
tcely
e604a5e242
Reduce logic and adjust queries
2025-03-02 00:51:35 -05:00
tcely
3abb29e9db
Show total errors and how many are from the current page
2025-03-01 23:31:07 -05:00
tcely
0416e1148f
Display task errors from the current page
2025-03-01 23:23:06 -05:00