Commit Graph

1230 Commits

Author SHA1 Message Date
meeb
d482a3a444
Merge pull request #737 from tcely/patch-3
Some checks are pending
Run Django tests for TubeSync / test (3.10) (push) Waiting to run
Run Django tests for TubeSync / test (3.11) (push) Waiting to run
Run Django tests for TubeSync / test (3.12) (push) Waiting to run
Run Django tests for TubeSync / test (3.7) (push) Waiting to run
Run Django tests for TubeSync / test (3.8) (push) Waiting to run
Run Django tests for TubeSync / test (3.9) (push) Waiting to run
Run Django tests for TubeSync / containerise (push) Waiting to run
Add `metadata_published` function
2025-02-18 07:21:53 +11:00
tcely
226d886557
fixup: call the function 2025-02-17 08:35:56 -05:00
tcely
35a4d2fd39
Use a function instead of a property 2025-02-17 08:34:37 -05:00
tcely
37b15ed625
Use Media.metadata_published for indexing also 2025-02-17 08:23:49 -05:00
tcely
494250625c
Add an optional argument to metadata_published 2025-02-17 08:19:19 -05:00
tcely
0a1b08b654
Use Media.metadata_published 2025-02-17 08:13:20 -05:00
tcely
695c1f6e59
Add metadata_published property 2025-02-17 08:07:46 -05:00
meeb
676b2c3ace
Merge pull request #735 from tcely/patch-2
Some checks are pending
Run Django tests for TubeSync / test (3.10) (push) Waiting to run
Run Django tests for TubeSync / test (3.11) (push) Waiting to run
Run Django tests for TubeSync / test (3.12) (push) Waiting to run
Run Django tests for TubeSync / test (3.7) (push) Waiting to run
Run Django tests for TubeSync / test (3.8) (push) Waiting to run
Run Django tests for TubeSync / test (3.9) (push) Waiting to run
Run Django tests for TubeSync / containerise (push) Waiting to run
Ensure the directory exists for testing
2025-02-17 23:44:22 +11:00
tcely
1e5f295d28
fixup: import the check_source_directory_exists task 2025-02-17 06:08:38 -05:00
tcely
573df05867
Update .gitignore 2025-02-17 06:02:23 -05:00
tcely
eb6c78a0e4
Update .dockerignore 2025-02-17 05:59:20 -05:00
tcely
76e3c78ff0
Ensure the directory exists for testing 2025-02-17 05:53:32 -05:00
meeb
a0453d040a
Merge pull request #733 from tcely/patch-4
Unskip when redownloading
2025-02-17 18:20:29 +11:00
meeb
8b15ee5314
Merge pull request #732 from tcely/patch-3
Do not show controls when skipped
2025-02-17 18:20:10 +11:00
meeb
3de98335db
Merge pull request #731 from tcely/patch-2
Review of signals.py
2025-02-17 18:19:24 +11:00
tcely
610df60447
Unskip when redownloading 2025-02-16 22:39:40 -05:00
tcely
92e6c04b7c
Do not show controls when skipped 2025-02-16 22:22:50 -05:00
tcely
de02eafe54
Review of signals.py 2025-02-16 21:22:45 -05:00
meeb
c170ce981f
Merge pull request #730 from tcely/patch-2
Some checks are pending
Run Django tests for TubeSync / test (3.10) (push) Waiting to run
Run Django tests for TubeSync / test (3.11) (push) Waiting to run
Run Django tests for TubeSync / test (3.12) (push) Waiting to run
Run Django tests for TubeSync / test (3.7) (push) Waiting to run
Run Django tests for TubeSync / test (3.8) (push) Waiting to run
Run Django tests for TubeSync / test (3.9) (push) Waiting to run
Run Django tests for TubeSync / containerise (push) Waiting to run
Schedule a rename task per media item instead
2025-02-16 22:51:29 +11:00
tcely
0b84f70bea
fixup: import the new task function 2025-02-15 22:03:44 -05:00
tcely
041e088cdf
Add the rename_media task 2025-02-15 21:47:39 -05:00
tcely
ba612237f2
Schedule a rename task per media item instead 2025-02-15 21:33:44 -05:00
meeb
dd55ed5fe5
Merge pull request #690 from tcely/patch-3
Some checks are pending
Run Django tests for TubeSync / test (3.10) (push) Waiting to run
Run Django tests for TubeSync / test (3.11) (push) Waiting to run
Run Django tests for TubeSync / test (3.12) (push) Waiting to run
Run Django tests for TubeSync / test (3.7) (push) Waiting to run
Run Django tests for TubeSync / test (3.8) (push) Waiting to run
Run Django tests for TubeSync / test (3.9) (push) Waiting to run
Run Django tests for TubeSync / containerise (push) Waiting to run
Let Tasks expire correctly
2025-02-16 13:00:13 +11:00
meeb
fed8d36ab9
Merge pull request #727 from tcely/patch-5
Do not turn `Media.skip` off for already skipped media
2025-02-16 11:56:16 +11:00
meeb
7d55bfdd83
Merge pull request #711 from tcely/patch-17
Move things into `choices.py`
2025-02-16 11:53:35 +11:00
meeb
16fd318235
Merge pull request #726 from tcely/patch-4
Handle `None` in `video["duration"]`
2025-02-16 11:53:13 +11:00
meeb
94cd38adec
Merge pull request #724 from tcely/patch-2
Remove logging of the SQL
2025-02-16 11:52:34 +11:00
tcely
785ba9eb05
Only return True when instance.skip was changed 2025-02-15 16:02:33 -05:00
tcely
5b28acbd33
Allow unskipping based on dates 2025-02-15 15:28:03 -05:00
tcely
366e6fd864
Replace FALLBACK_FAIL
Remove `FALLBACK_FAIL`, `FALLBACK_NEXT_BEST`, and `FALLBACK_NEXT_BEST_HD`
2025-02-14 22:23:13 -05:00
tcely
9626701486
fixup: simplify the if condition 2025-02-14 19:43:41 -05:00
tcely
dc9e641a7f
Do not log when skipped media is set to skip 2025-02-14 19:34:49 -05:00
tcely
9045bed509
Check both possible paths for media files 2025-02-14 19:26:12 -05:00
tcely
844b4b0493
Download again for missing media files 2025-02-14 19:17:45 -05:00
tcely
13bbeef5bf
Add a comment about disallowing True => False 2025-02-14 18:56:44 -05:00
tcely
e5f76efebf
Do not unset Media.media_file
This could be a temporary condition, and keeping the old path in the database is not harmful for the software.
2025-02-14 18:53:03 -05:00
tcely
afcefc04c1
Do not change the Media instance 2025-02-14 18:48:32 -05:00
tcely
986fda59ce
Do not unset Media.downloaded when the file is not found 2025-02-14 18:44:15 -05:00
tcely
806dde6cac
Do not allow filtering to turn off Media.skip 2025-02-14 15:01:55 -05:00
tcely
ab0cc1c5ee
Don't turn Media.skip off when starting 2025-02-14 14:50:40 -05:00
tcely
1f3cf1c62e
Tweak for readability
Changing the default to `None` makes it clearer why the `or 0` is needed.
2025-02-14 14:38:05 -05:00
tcely
92c0ed20c7
Handle None in video["duration"]
Fixes #725

Translate `None` from `get` to `0` for `float`
2025-02-14 14:30:10 -05:00
tcely
c09f399fb6
fixup: remove an extra comma 2025-02-14 14:00:26 -05:00
tcely
271ba49a68
Tweak the query by moving downloaded to the NOT grouping 2025-02-14 13:57:32 -05:00
tcely
72d0019493
Remove logging of the SQL
I've seen it, and the query looks fine.
2025-02-14 13:33:45 -05:00
meeb
f083ad65f7
Merge pull request #720 from tcely/patch-4
Some checks failed
Run Django tests for TubeSync / test (3.10) (push) Has been cancelled
Run Django tests for TubeSync / test (3.11) (push) Has been cancelled
Run Django tests for TubeSync / test (3.12) (push) Has been cancelled
Run Django tests for TubeSync / test (3.7) (push) Has been cancelled
Run Django tests for TubeSync / test (3.8) (push) Has been cancelled
Run Django tests for TubeSync / test (3.9) (push) Has been cancelled
Run Django tests for TubeSync / containerise (push) Has been cancelled
Find the correct media instance from hooks
2025-02-15 02:19:06 +11:00
meeb
f17fc28227
Merge pull request #717 from tcely/patch-2
Show publication date and the not truncated title
2025-02-15 02:18:38 +11:00
tcely
a9f9424dd5
Remove SOURCE_VCODEC_VP9 2025-02-13 21:46:14 -05:00
tcely
bc6648b110
Remove SOURCE_ACODEC_OPUS 2025-02-13 21:41:33 -05:00
tcely
0d6498805f
Remove SOURCE_ACODEC_CHOICES and SOURCE_VCODEC_CHOICES 2025-02-13 21:32:47 -05:00