Commit Graph
1372 Commits
Author SHA1 Message Date
tcely 0c282d4573 Use the .value strings 2025-02-11 02:51:23 -05:00
tcely 6f49474ade Create choices.py
This is a start to moving various choices and mappings out of other files.
2025-02-11 02:16:29 -05:00
tcely 00e89623be Sort the excluded set 2025-02-11 01:56:07 -05:00
tcely 09fab821e9 Deduplicated fields 2025-02-11 01:34:28 -05:00
tcely 0850470867 Rename the internal function
After removing the assert, the old name was a bit confusing.
2025-02-10 22:57:09 -05:00
tcely f963c55610 Limit the title string to fit in the database column 2025-02-10 08:52:09 -05:00
tcely 488294475a Limit the metadata_title string to fit in the title column 2025-02-10 08:48:16 -05:00
tcely b8f8d9d7fa Use Media.get_metadata_field 2025-02-10 08:27:10 -05:00
tcely b6334ce41c Add timestamp to mappings
Return `field` instead of '' so that a missing mapping returns itself.
2025-02-10 08:18:22 -05:00
tcely d7222e8fbb Be consistent with get_media_metadata_task 2025-02-10 07:23:50 -05:00
tcely 92130f3604 Do not schedule additional download_media tasks 2025-02-10 06:19:25 -05:00
tcely 33ad4179b8 Clean up previously prepended task_status 2025-02-10 05:27:45 -05:00
tcely b16fb062aa Avoid ImportError 2025-02-10 04:50:08 -05:00
tcely 332f34c78e Avoid ImportError 2025-02-10 04:46:35 -05:00
tcely 55637c2caf Add status text to the download task 2025-02-10 04:34:58 -05:00
tcely 83dc375810 Save duration, timestamp, and title to Media instances 2025-02-09 19:32:13 -05:00
tcely 6390f5a1c3 Try to include timestamp 2025-02-09 16:15:48 -05:00
tcely 365ad555db Skip downloaded media that was deleted
Moved the save of media to the end of the function.
2025-02-09 06:21:39 -05:00
tcely 913514326a Remove unused filter_media 2025-02-09 05:57:29 -05:00
tcely cae285cd9f Allow exec_cmd dictionary to be configured in settings
This is a dictionary with keys of `WHEN` and values are a `list` of commands for the `ExecPP` to run.
2025-02-09 04:51:17 -05:00
tcely 6247a8b062 Account for language code in subtitle files 2025-02-09 02:33:32 -05:00
tcely 4dbb0c5196 Remove subtitles also
Fixes #416
2025-02-09 02:21:16 -05:00
meeb 8d89cc01f9 Merge pull request #697 from tcely/patch-10
Use `libopus` and speed up VP9 encoding
2025-02-09 16:53:28 +11:00
meeb e4b3cefbc7 Merge pull request #692 from tcely/patch-4
Add & use functions from status classes
2025-02-09 16:52:41 +11:00
meeb 565266e7c7 Merge pull request #696 from tcely/patch-9
Add more keys to filter
2025-02-09 13:02:27 +11:00
meeb ee28735a88 Merge pull request #694 from tcely/patch-6
Remove existing (unlocked) tasks is safe to use
2025-02-09 12:55:03 +11:00
tcely e58fae1f96 Skip over items that are not dictionaries 2025-02-08 20:17:53 -05:00
tcely 208a540bc9 Add and use list_of_dictionaries function 2025-02-08 19:59:00 -05:00
tcely 2fd5e70486 Use version sorting 2025-02-08 17:22:54 -05:00
tcely c4a4b7fe1b COPY doesn't do any globbing
Use a `python3` symbolic link setup earlier to work around this.
2025-02-08 17:21:10 -05:00
tcely 1d51c6182b COPY doesn't do any globbing
Instead, set up and use a 'python3' symbolic link.
2025-02-08 17:04:33 -05:00
tcely 2205f08124 Remove the assert for lang_codes
The test data doesn't conform to this expectation.
2025-02-08 16:11:45 -05:00
tcely 8bff3b6c24 More stringent checking of types 2025-02-08 16:02:38 -05:00
tcely cfec876796 Adjust for requested_subtitles layout 2025-02-08 14:14:56 -05:00
tcely e2680c4b24 Split the COPY line 2025-02-08 13:45:21 -05:00
tcely a9078c3521 Update modify_chapters.py 2025-02-08 00:14:48 -05:00
tcely bf7b57e666 Update modify_chapters.py 2025-02-07 22:27:26 -05:00
tcely 294f56d2b2 Do not specify a file to copy 2025-02-07 21:27:21 -05:00
tcely e889c78a48 Patch yt_dlp postprocessor modify_chapters.py 2025-02-07 21:20:31 -05:00
tcely f78f33f8fa Add modify_chapters.py
From:
https://github.com/tcely/yt-dlp/raw/refs/heads/modify-chapters-codecs/yt_dlp/postprocessor/modify_chapters.py
2025-02-07 21:15:13 -05:00
tcely 88a200a338 Update and rename modify_chapters.py to modify_chapters.py 2025-02-07 21:13:22 -05:00
tcely 23e38312a7 Create modify_chapters.py 2025-02-07 21:10:48 -05:00
tcely 3039e3105c More VP9 tweaks 2025-02-07 19:12:17 -05:00
tcely d1eecf19c2 Use libopus and speed up VP9 encoding 2025-02-07 18:56:09 -05:00
tcely 64302e8191 Change the minimum next step to 1 2025-02-07 17:15:45 -05:00
tcely d7d1f52ff3 Completed fragments or bytes can be zero 2025-02-07 15:59:44 -05:00
tcely f64432f243 Adjust patch location 2025-02-07 15:45:09 -05:00
tcely 9ddc6194dd Rename patches/models.py to patches/background_task/models.py 2025-02-07 15:44:00 -05:00
tcely 23abc545d2 Replace '100%' with the calculated percent 2025-02-07 15:34:24 -05:00
tcely 90b892fd85 Prefer fragment count calculation
When the first fragment is downloaded, the percent is calculated as `100`, because the bytes and total are from the fragment, which prevents additional logging.
2025-02-07 15:21:23 -05:00