Jellyfin Forum
Caching "Up Next" episodes - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Development (https://forum.jellyfin.org/f-development)
+--- Forum: Feature Requests (https://forum.jellyfin.org/f-feature-requests)
+--- Thread: Caching "Up Next" episodes (/t-caching-up-next-episodes)



Caching "Up Next" episodes - tgotr - 2024-12-31

So I run Jellyfin on Unraid, and having jellyfin serve files on the array...well it's not fast. it gets stuck at 33% for a bit and it's like loading up a game on a PS1. So what I've been doing is copying episodes of a show we are watching to the cache drive and it makes a difference. 

So here is my idea, what if when Jellyfin is buffered ahead, it removes a previous episode off the cache drive and copies the next one (the one after the one you are watching) to the cache, leveraging the speed of the SSD to improve playback. To save space on the SSD, we can limit it to a certain about of series or files. 

Yea, it won't do the SSD any favors when it comes to reads and writes though.


RE: Caching "Up Next" episodes - TheDreadPirate - 2024-12-31

Jellyfin has no awareness of what kind of storage your media is on so this kind of SSD caching is almost certainly not going to happen due to the sheer amount of work needed and because it is an edge case.

What you're describing sounds like it is extracting subtitles or attachments and it is taking a long time. This is usually due to either slow storage or an underpowered processor. On-the-fly extraction SHOULD take 1-2 seconds most systems.

Share your logs via pastebin so we can confirm what is going on.

You could try installing the "subtitle extract" plugin so that it pre-extracts subtitles and attachments.


RE: Caching "Up Next" episodes - tgotr - 2024-12-31

I mean, my Unraid Server is running a Ryzen 5800X CPU, it might be the array. I just installed that plugin per your suggestion and things load up faster.

Now if we can get intro skip going.