Commit Graph

1647 Commits

Author SHA1 Message Date
tcely
56bd3288b4
Match the priority of the other index tasks 2025-02-22 10:38:30 -05:00
tcely
8722a1dbe6
Match the priority of the other index tasks 2025-02-22 10:34:41 -05:00
tcely
bf221394c3
Do not make the user wait when they are interacting 2025-02-22 10:27:19 -05:00
tcely
11190ada2d
We still need to pin django also 2025-02-22 08:25:32 -05:00
tcely
e5d124e807
Update rename_all_media_for_source
Include the recent optimizations.
2025-02-22 08:04:44 -05:00
tcely
526224f1bb
Move rename_media task creation to Media post save 2025-02-22 07:29:01 -05:00
tcely
b5dcf41097
Log not existing source pre save
I think this is not only possible, but happens regularly.
2025-02-22 07:05:44 -05:00
tcely
599d596368
Add scheduling delays
This is an attempt to stop duplicated tasks from running at the same time.
2025-02-22 06:53:28 -05:00
tcely
976101781d
Connect the UI for Jellyfin
* Add Jellyfin media server type

* Add and use `forms_dict` and `long_types` methods

* Add `JellyfinMediaServerForm`

* Use `JellyfinMediaServer`

* Add and use `MediaServerType.handlers_dict` method

* Do not hard-code `plex`

* Also map backwards in `MediaServerType.long_types`

* Use the long server type for URLs

* Loop over media server type names

* Add `MediaServerType.long_type` property

* Add `media_server_types` to template context

* Use the `MediaServerType.members_list` class method

* Port is already part of the URL
2025-02-22 05:49:03 -05:00
tcely
e25a9cd228
Merge branch 'meeb:main' into jellyfin-mediaserver 2025-02-21 22:34:33 -05:00
tcely
6a80758c9b
Check for the database vendor first 2025-02-21 12:07:32 -05:00
tcely
c9bc7bf84e
Correct the syntax 2025-02-21 07:44:20 -05:00
tcely
b11b906497
Pin django-background-tasks
It's `django-background-tasks` that limits the Django version.
2025-02-21 07:30:26 -05:00
meeb
1f0169ae4b
Merge pull request #752 from tcely/patch-2
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
Process renaming after downloads
2025-02-21 23:06:27 +11:00
tcely
225ff0d64e
Process renaming after downloads 2025-02-21 06:54:42 -05:00
meeb
9b25f4b361
Merge pull request #751 from tcely/patch-5
Remove duplicate function
2025-02-21 22:37:47 +11:00
meeb
d163c11b14
Merge pull request #750 from tcely/patch-3
Use multiple threads for renaming
2025-02-21 22:37:29 +11:00
meeb
079a9d116d
Merge pull request #749 from tcely/patch-2
Do not let one private video hold up the rest
2025-02-21 22:34:51 +11:00
tcely
e727e30ece
Simplify the get_queryset function 2025-02-21 05:18:00 -05:00
tcely
29197d241a
Remove duplicate function 2025-02-21 05:01:29 -05:00
tcely
986dc17013
Use multiple threads for renaming
A single thread is much too slow for hundreds, or more, rename tasks.

With at least two, one thread can be loading while another is being processed. The times when nothing is happening are reduced significantly.
2025-02-21 04:19:12 -05:00
tcely
78977bbdec
Limit the try and log what happened for debugging 2025-02-20 23:24:10 -05:00
tcely
95774a0d2c
Do not let one private video hold up the rest 2025-02-20 23:16:13 -05:00
meeb
f78fa44e0c
Merge pull request #747 from tcely/patch-2
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
Add and use `refresh_formats`
2025-02-20 17:25:12 +11:00
tcely
4591d3867b
Ask for formats that might not work and test them 2025-02-19 21:37:55 -05:00
tcely
b65a0ff759
Remove the useless "not skipping" logged messages 2025-02-19 18:30:45 -05:00
tcely
5f81c3619f
fixup: convert seconds with timedelta 2025-02-19 18:03:17 -05:00
tcely
b01af70098
Try to refresh formats after download failed 2025-02-19 17:48:18 -05:00
tcely
ad8fa72123
Try to refresh formats while checking media 2025-02-19 17:34:20 -05:00
tcely
16cd0983c9
Add refresh_formats property 2025-02-19 17:18:20 -05:00
meeb
570a150150
Merge pull request #746 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
Select a combined format if nothing else is available
2025-02-19 19:07:54 +11:00
meeb
ba8d4f7b1d
Merge pull request #745 from tcely/patch-5
Defer fields for `rename_media` task
2025-02-19 19:06:59 +11:00
tcely
9d3d997e9a
Select a combined format if nothing else is available 2025-02-19 00:53:05 -05:00
tcely
ed3136c7a8
Defer Media.metadata inside rename_media task 2025-02-18 21:12:40 -05:00
meeb
8cd970d135
Merge pull request #744 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
Bump `ffmpeg` build
2025-02-19 13:01:54 +11:00
meeb
6ded048b30
Merge pull request #743 from tcely/patch-2
Add `XDG_CACHE_HOME` environment variable
2025-02-19 13:01:37 +11:00
tcely
18a170a8e0
Defer fields for rename_media task creation 2025-02-18 20:59:30 -05:00
tcely
852d0cf0f2
Bump ffmpeg build 2025-02-18 19:19:41 -05:00
tcely
be740dfb7f
Merge branch 'meeb:main' into jellyfin-mediaserver 2025-02-18 19:12:26 -05:00
tcely
d8e9fa21fd
Use the default cache path for yt-dlp 2025-02-18 19:03:32 -05:00
tcely
74780220f4
Add XDG_CACHE_HOME environment variable 2025-02-18 18:56:12 -05:00
meeb
60a1e09f5f
Merge pull request #740 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
Prefer `fulltitle` but do not require it
2025-02-18 18:10:07 +11:00
tcely
03f0680d0b
Prefer fulltitle but do not require it 2025-02-17 23:32:06 -05:00
meeb
e4183c3653
Merge pull request #736 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
Load `fulltitle` from the `metadata`
2025-02-18 15:02:19 +11:00
meeb
54487d81b1
Merge pull request #739 from tcely/patch-3
Move import for `tz`
2025-02-18 15:01:53 +11:00
tcely
6aa392118d
Remove import for tz 2025-02-17 22:38:00 -05:00
tcely
a425051174
Add import for tz 2025-02-17 22:36:34 -05:00
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
1e35f55f7c
Merge branch 'meeb:main' into jellyfin-mediaserver 2025-02-17 09:18:48 -05:00
tcely
226d886557
fixup: call the function 2025-02-17 08:35:56 -05:00