Commit Graph
1037 Commits
Author SHA1 Message Date
meeb 30dbb1031d Merge pull request #657 from tcely/patch-2
Fix CommaSepChoiceField
2025-01-29 16:45:21 +11:00
meeb e0bcd330cc Merge pull request #658 from tcely/patch-5
Use TextChoices for SponsorBlock_Category
2025-01-29 16:44:10 +11:00
meeb ee32f238c4 Merge pull request #586 from tcely/rename-files-with-source-format-issue-185
Rename files after a source format change
2025-01-29 16:42:33 +11:00
tcely 24ac2e1aed Field expects verbose_name to be first, not separator 2025-01-29 00:23:02 -05:00
tcely f60c1d7b5b Move SponsorBlock_Category to fields.py 2025-01-28 21:53:42 -05:00
tcely 2b5ad21b20 Use TextChoices for SponsorBlock_Category 2025-01-28 20:37:32 -05:00
tcely e3501fe77a Fix CommaSepChoiceField
Using the separator that was chosen is the biggest fix.
2025-01-28 19:12:56 -05:00
tcely e59ba88e4e Add default values for the new settings 2025-01-28 16:29:45 -05:00
tcely d9c73d3dd7 Add new container settings
- TUBESYNC_RENAME_ALL_SOURCES: True or False
- TUBESYNC_RENAME_SOURCES: A comma-separated list of Source directories
2025-01-28 16:28:21 -05:00
tcely bf7127b973 Schedule the rename task when only the settings allow it 2025-01-28 16:19:17 -05:00
tcely 0695036610 Tweak the behavior of post processors 2025-01-28 01:45:45 -05:00
tcely 803319fe9f Let deepcopy do more work for us 2025-01-28 01:00:35 -05:00
meeb 82418334d4 Merge pull request #650 from tcely/patch-5
Download thumbnail and media at the same priority
2025-01-28 16:46:44 +11:00
meeb ee5211f8b8 Merge pull request #656 from tcely/patch-12
Set a default nice level
2025-01-28 16:07:17 +11:00
meeb 76cb9411ec Merge pull request #654 from tcely/patch-10
Display language_code for audio formats
2025-01-28 16:06:41 +11:00
meeb 6338b13abd Merge pull request #653 from tcely/patch-9
Default to valid JSON
2025-01-28 16:05:22 +11:00
meeb 63dbb4d8a3 Merge pull request #652 from tcely/patch-8
DRY {json,nfo,thumb}name functions
2025-01-28 16:04:19 +11:00
meeb 2b77d29f50 Merge pull request #651 from tcely/patch-6
Remove unnecessary spaces
2025-01-28 16:00:29 +11:00
meeb f96244bbee Merge pull request #648 from tcely/patch-2
Display media we can't download as skipped
2025-01-28 15:57:32 +11:00
tcely b40626f9dc Guess at ffmpeg options based on filename 2025-01-27 20:24:23 -05:00
tcely d34e1a204e Set a default nice level
Now that SponsorBlock is running, these jobs are using significant CPU resources.

Setting a nice level to let other things run better while `ffmpeg` is running seems wise.
2025-01-27 16:12:52 -05:00
tcely 133f08bd86 Hide format_note for combined audio / video 2025-01-27 15:17:39 -05:00
tcely bb226d4bc1 Made the output more friendly
- Humanize the Hz number 
- Do not output '@Nonek' for combined audio / video
2025-01-27 15:08:24 -05:00
tcely d2641c39cd Add asr to parsed formats 2025-01-27 14:34:10 -05:00
tcely ec16e4c54d Use the parsed formats 2025-01-27 14:31:16 -05:00
tcely eb27bf1583 Only save() the current Media 2025-01-27 13:17:16 -05:00
tcely d160a043e5 Use yt_dlp.get_postprocessors() 2025-01-27 12:45:32 -05:00
tcely 8a3a7aa333 Display language_code for audio formats 2025-01-27 03:50:42 -05:00
tcely 9fc773b5c0 Add language_code from response 2025-01-27 03:43:56 -05:00
tcely 09ecbf210e Default to valid JSON
This prevents useless logged errors when there is no metadata available yet.
2025-01-27 02:57:47 -05:00
tcely a44e856378 Merge branch 'main' into rename-files-with-source-format-issue-185 2025-01-26 10:17:12 -05:00
tcely bcbafaf842 Remove directory manipulation
Added a comment about why these directories aren't matching.
2025-01-26 07:54:14 -05:00
tcely 7b1aedf7ae Put os.path.basename() back
Without this the subdirectory from `media_format` is doubled.
2025-01-26 07:11:30 -05:00
tcely fe4f6dd6b8 DRY {JSON,nfo,thumb}name functions 2025-01-25 22:26:39 -05:00
tcely 31e25eb22b Remove unnecessary spaces 2025-01-25 20:21:59 -05:00
tcely 7169ba5865 Remove unnecessary spaces 2025-01-25 20:14:46 -05:00
tcely 32fad91401 Remove unnecessary spaces 2025-01-25 20:12:55 -05:00
tcely de1490c416 Remove unnecessary spaces 2025-01-25 20:11:19 -05:00
tcely b319101c70 Remove unnecessary spaces 2025-01-25 20:08:10 -05:00
tcely 69e895818e Drop the thumbnail task if media downloaded first 2025-01-25 19:46:58 -05:00
tcely fe39717985 Change media download priority 2025-01-25 19:23:52 -05:00
tcely 3b20f07450 Try to download thumbnail before copy 2025-01-25 19:12:36 -05:00
tcely 56e1aae5cd Simplify get_queryset 2025-01-25 09:46:03 -05:00
tcely 41c1b74c75 Split the string ourselves
I don't know what I thought replace did, but the third argument is a count, not a start.
2025-01-25 05:41:34 -05:00
tcely 0c5836d466 Remove unused stringfilter 2025-01-25 05:22:57 -05:00
tcely aa493208e2 Restrict replacement to the end of the string 2025-01-25 05:20:14 -05:00
tcely 42bf4d2aac Remove fixB filter 2025-01-24 12:22:03 -05:00
tcely f109400263 Use bytesformat instead 2025-01-24 12:19:07 -05:00
tcely 840893c962 Use bytesformat instead 2025-01-24 12:15:19 -05:00
tcely 09649a3a58 Use fixB for other filesizeformat uses 2025-01-24 11:51:52 -05:00