aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Api/Controllers/UserController.cs
diff options
context:
space:
mode:
authorAttila Szakacs <szakacs.attila96@gmail.com>2024-03-03 21:33:54 +0100
committerGitHub <noreply@github.com>2024-03-03 13:33:54 -0700
commit8d40d431e8e5b067a535e564362b902480a13259 (patch)
tree031c8dfc187c255cd997726c57a29ed5f92bccbe /Jellyfin.Api/Controllers/UserController.cs
parentf7f3ad9eb792a02ba1815c8a316e02f9ed89fe85 (diff)
Extract and cache all media attachments in bulk (#11029)
Similar to https://github.com/jellyfin/jellyfin/pull/10884 --- Jellyfin clients need fonts for subtitles, and each font is a separate attachment, which causes a lot of re-reads of the file. Certain contents, like anime in a lot of cases, contain 50-80 different attachments. Spawning 80 ffmpeg processes at the same time on the same file might cause swapping on slower HDDs and can bring disk subsystem to a crawl. (For more info, see https://github.com/jellyfin/jellyfin/3215) This change helps a lot in this scenario. Signed-off-by: Attila Szakacs <szakacs.attila96@gmail.com>
Diffstat (limited to 'Jellyfin.Api/Controllers/UserController.cs')
0 files changed, 0 insertions, 0 deletions