Commit Graph

1381 Commits

Author SHA1 Message Date
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
tcely
465d584b8a
Search and replace of V to Val
Fixes #722
2025-02-13 21:09:53 -05:00
tcely
7a39fcf21e
Log the SQL being used 2025-02-13 18:51:46 -05:00
tcely
5534bb5cf5
Find only downloading media with the key 2025-02-13 18:45:09 -05:00
tcely
165fb8607f
Display Media.download_date after check mark 2025-02-13 18:03:34 -05:00
tcely
bc284568df
Remove unused SOURCE_RESOLUTION* 2025-02-13 08:43:08 -05:00
tcely
8a044567a5
Remove SOURCE_TYPE_YOUTUBE_PLAYLIST 2025-02-13 08:23:06 -05:00
tcely
18ba5c4424
Show publication date and the not truncated title 2025-02-13 06:10:49 -05:00
tcely
c702889653
Adjusted test data for the new filter_seconds_min choices 2025-02-13 05:31:06 -05:00
tcely
1ccdd2e58b
Integer is a closer fit for bool 2025-02-13 02:26:56 -05:00
tcely
811bbdf57f
fixup: missed one of the users of a removed attribute 2025-02-13 01:54:55 -05:00
tcely
6768fe4385
Use MediaState in models.py 2025-02-13 01:47:45 -05:00
tcely
11ee871006
Merge branch 'meeb:main' into patch-17 2025-02-12 23:55:04 -05:00
tcely
f4b34bafd0
Use FilterSeconds in models.py 2025-02-12 23:52:35 -05:00
tcely
edd320b786
Replace Source.SOURCE_TYPE_YOUTUBE_PLAYLIST 2025-02-12 23:26:14 -05:00
tcely
43e6598a31
Remove unused variables 2025-02-12 23:08:28 -05:00
tcely
312b9275c1
Use FileExtension for import-existing-media.py 2025-02-12 23:07:25 -05:00