tcely
36a9902d26
Reset hook.download_progress
before downloading
2025-02-06 20:31:32 -05:00
tcely
6d71c69878
Reset hook.download_progress
so that it isn't above 100%
2025-02-06 20:02:14 -05:00
tcely
dfc63a2b94
Reworked download progress hook
...
Be more resilient about missing keys.
Log the downloading state the first time through.
2025-02-06 18:06:15 -05:00
meeb
26940c86b4
Merge pull request #665 from tcely/patch-6
...
Do not delete tasks that are currently running
2025-02-05 18:22:34 +11:00
meeb
690cb42f96
Merge pull request #689 from tcely/patch-4
...
Bump `ffmpeg`
2025-02-05 14:11:15 +11:00
meeb
3ecf1e125d
Merge pull request #688 from tcely/patch-2
...
Remove code that didn't work
2025-02-05 14:11:00 +11:00
meeb
531be5f3ab
Merge pull request #686 from tcely/patch-3
...
Turn off the `text-transform` with a class
2025-02-05 14:10:33 +11:00
tcely
4ec407cf6f
Bump ffmpeg
2025-02-04 13:39:46 -05:00
tcely
459cb4b891
Remove the td
function
...
It is no longer being used for a default argument value.
2025-02-04 11:21:24 -05:00
tcely
0b233be517
Use a single datetime
for now
2025-02-04 11:16:17 -05:00
tcely
3b58d86cd3
Remove code that didn't work
...
This method of changing `verbose_name` didn't result in any visible changes.
2025-02-04 11:05:18 -05:00
meeb
4b08062761
Merge pull request #685 from tcely/patch-2
...
Wait for video premiere
2025-02-04 13:33:02 +11:00
tcely
5cf7f1574a
We don't need the extra run
2025-02-03 21:22:19 -05:00
meeb
9ece0c26e8
Merge pull request #687 from tcely/patch-4
...
Do not store duplicate categories
2025-02-04 13:17:46 +11:00
tcely
aba3b1f16d
Display the datetime
without partial seconds
2025-02-03 18:32:41 -05:00
tcely
df5746dac4
Don't log the handled exception
2025-02-03 11:52:25 -05:00
tcely
a8e7299dbe
Log units and number within the try block
2025-02-03 11:44:02 -05:00
tcely
bf0dcc631a
Fixes from testing for wait_for_media_premiere
2025-02-03 11:33:56 -05:00
tcely
b50477e536
Add minutes as a unit also
2025-02-03 10:22:38 -05:00
tcely
724e632814
Remove debug logging and cache
2025-02-03 09:22:29 -05:00
tcely
4a5660be8d
Preserve the ordering
...
set made no guarantees about ordering
2025-02-03 09:16:26 -05:00
tcely
bdfd645097
Add duplicated categories to the test data
2025-02-03 09:11:35 -05:00
tcely
79783b11db
Test duplicated category is not saved
2025-02-03 08:53:34 -05:00
tcely
d1f078cf0c
Do not store duplicate categories
2025-02-03 08:12:09 -05:00
tcely
c0f52ae12e
We only need one waiting task per video
2025-02-03 00:09:59 -05:00
tcely
b05d3854a1
Use repeat_until
in the call
2025-02-02 23:58:09 -05:00
tcely
bd67b9bb20
Apply the class to the category labels
2025-02-02 23:03:13 -05:00
tcely
4e12c2e7fb
Revert a06bd29f88
2025-02-02 23:01:57 -05:00
meeb
869e04dd53
Merge pull request #684 from tcely/squash-patch-13
...
Also check for `media.media_file.name`
2025-02-03 15:00:11 +11:00
tcely
3b001d1837
Turn off the text-transform with a class
2025-02-02 22:58:49 -05:00
tcely
a028b4ea26
Let the wait task go ahead first
2025-02-02 14:09:53 -05:00
tcely
89573e93f5
Add verbose_name
for better display
...
Also, some code readability changes.
2025-02-02 13:49:25 -05:00
tcely
deeb2f61a9
background
has less documentation than I wanted
2025-02-02 13:00:30 -05:00
tcely
9e46b9f6d5
A first attempt at waiting for future videos
2025-02-02 12:29:36 -05:00
tcely
480d5dd891
Add wait_for_media_premiere
task
2025-02-02 11:38:32 -05:00
tcely
4a3572c175
Also check for media.media_file.name
...
I thought this commit was already merged, but git claimed this line wasn't.
I don't think it matters if the `media.media_file.name` is blank here.
I made this mostly for completeness.
2025-02-02 07:31:41 -05:00
meeb
9c36b38ee3
Merge pull request #681 from tcely/squash-9
...
Fix the misspelled `expected_categories`
2025-02-02 17:18:32 +11:00
tcely
12fc5e2842
Fix the misspelled expected_categories
2025-02-02 01:16:47 -05:00
meeb
32e481675b
Merge pull request #680 from tcely/issue-362-sponsorblock_categories
...
Rework `sponsorblock_categories` and `CommaSepChoiceField`
2025-02-02 16:54:02 +11:00
meeb
f4eb18aa0e
Merge pull request #679 from tcely/patch-2
...
export `TUBESYNC_RESET_DOWNLOAD_DIR`
2025-02-02 16:47:37 +11:00
meeb
4902a446b4
Merge pull request #672 from tcely/patch-3
...
Adjustments for downloading delays
2025-02-02 16:46:23 +11:00
tcely
9397ec7389
Add tests for sponsorblock_categories
2025-02-02 00:07:45 -05:00
tcely
a06bd29f88
Do not uppercase
the SponsorBlock categories
...
Avoid the `text-transform` on `label` by simply not using that tag.
Anyone who is better with CSS than I am, with an improved solution, is welcome to create a pull request.
2025-02-01 22:45:57 -05:00
tcely
ae1042a3d0
Rework sponsorblock_categories
and CommaSepChoiceField
( #222 )
...
This is a good checkpoint.
* Loading from the database and saving back to the database both work.
* The categories are displayed in the web user interface appropriately.
* Editing the `Source` from the web user interface is working.
2025-02-01 20:57:27 -05:00
tcely
3939616d31
export TUBESYNC_RESET_DOWNLOAD_DIR
...
We don't need to overcomplicate this.
`sh` and `bash` provide easy ways to set empty variables.
2025-02-01 19:54:49 -05:00
tcely
da8aa06f27
Ensure MAX_RUN_TIME
is sane
...
Try the user's value, but set it appropriately if that fails.
Background tasks will have a minimum of 10 minutes to finish.
Downloading tasks will, at a minimum, sleep up to 90 seconds between downloads.
Increasing the `MAX_RUN_TIME` will also increase the maximum amount of time to sleep between downloads.
2025-02-01 11:13:44 -05:00
meeb
5e1da4e58e
remove common.logger import, switch to using stdout, solves #670
2025-02-01 18:50:36 +11:00
meeb
89d395f4ac
Merge pull request #674 from tcely/patch-2
...
Simply add the string we want
2025-02-01 18:33:30 +11:00
tcely
fefe1fbc4d
Simply add the string we want
...
I must have been fixated on using `replace()`.
After already splitting the string, using the part we don't want seems silly.
2025-02-01 02:28:23 -05:00
meeb
78e422f563
Merge pull request #673 from tcely/patch-2
...
Configure settings for this test
2025-02-01 16:48:47 +11:00