tcely
0cb641d31b
Add more headers
...
I've been digging around the Emby and Jellyfin source code.
Some of what I found out is documented in the comments.
2025-02-23 04:00:23 -05:00
tcely
b06a68decd
fixup: use dict for this syntax
2025-02-23 01:00:08 -05:00
tcely
1e793dbcb9
Refactor make_request
2025-02-23 00:21:11 -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
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
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
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
...
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
tcely
18a170a8e0
Defer fields for rename_media task creation
2025-02-18 20:59:30 -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
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
...
Load `fulltitle` from the `metadata`
2025-02-18 15:02:19 +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
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
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
tcely
b71236651a
Load fulltitle from the metadata
2025-02-17 07:52:12 -05:00
tcely
1e5f295d28
fixup: import the check_source_directory_exists task
2025-02-17 06:08:38 -05:00
tcely
76e3c78ff0
Ensure the directory exists for testing
2025-02-17 05:53:32 -05:00
tcely
1abd4f8025
Merge pull request #318 from magsimal/main
...
Add Jellyfin media server
2025-02-17 04:44:52 -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
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
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
...
Let Tasks expire correctly
2025-02-16 13:00:13 +11:00