Commit Graph

1116 Commits

Author SHA1 Message Date
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
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
18ba5c4424
Show publication date and the not truncated title 2025-02-13 06:10:49 -05:00
meeb
78434ca522
Merge pull request #715 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
Use a raw string
2025-02-13 01:41:23 +11:00
meeb
5b88a3147b
Merge pull request #714 from tcely/patch-2
We can filter before metadata
2025-02-13 01:40:57 +11:00
meeb
5b8f6cfacf
Merge pull request #703 from tcely/patch-10
Skip downloaded media that was deleted
2025-02-13 01:34:37 +11:00
meeb
6e1b203bed
Merge pull request #710 from tcely/patch-16
Deduplicated `fields`
2025-02-13 01:34:16 +11:00
tcely
69095f9f92
Use a raw string
SyntaxWarning: invalid escape sequence '\/'
2025-02-12 00:43:44 -05:00
tcely
c34700839b
We can filter before metadata
After #704, the `duration`, `published`, and `title` are all available before `metadata` has been retrieved.
2025-02-11 20:53:20 -05:00
tcely
a7abb6e907
Merge branch 'main' into patch-10 2025-02-11 15:24:22 -05:00
tcely
57e52f4848
Remove the generated fields variant 2025-02-11 14:56:27 -05:00
meeb
b87c1253a0
Merge pull request #702 from tcely/patch-9
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
Remove unused `filter_media`
2025-02-12 05:57:57 +11:00
meeb
fd8fbbd7b1
Merge pull request #701 from tcely/patch-6
Allow `exec_cmd` dictionary to be configured in settings
2025-02-12 05:57:25 +11:00
meeb
dd079638d6
Merge pull request #700 from tcely/patch-4
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
Remove subtitles also
2025-02-12 05:56:02 +11:00
meeb
a39d181609
Merge pull request #699 from tcely/patch-2
Stop when the paths match
2025-02-12 05:55:23 +11:00
meeb
b93182b97b
Merge pull request #712 from tcely/patch-18
Control `writethumbnail` with `embed_thumbnail`
2025-02-12 05:53:22 +11:00
meeb
97afdc44c0
Merge pull request #709 from tcely/patch-15
Rename the internal function
2025-02-12 05:51:20 +11:00
meeb
1cc2905168
Merge pull request #704 from tcely/patch-12
Try to include `timestamp`
2025-02-12 05:50:57 +11:00
meeb
9894dc2261
Merge pull request #707 from tcely/patch-14
Do not schedule additional `download_media` tasks
2025-02-12 05:47:40 +11:00
meeb
d4a46f252f
Merge pull request #706 from tcely/patch-5
Add status text to the download task
2025-02-12 05:46:39 +11:00
tcely
749fb1308e
Control writethumbnail with embed_thumbnail 2025-02-11 04:29:53 -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
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
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