Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[PLUGIN] Playback Cache

Featured Replies

Hi everyone!
Let me begin by saying I'm not a developer so I had to rely on our AI overlords to help build this. It's based on Alturismo's cache-mover, just a improved version. With that out of the way, I hope you guys find this plugin useful!

It's updated to work with Jellyfin 12, but I’ve tested it on Emby and Plex.

What it does? I'll quote the github page.

  • Watches what your media server (Jellyfin, Emby or Plex) is playing through its API.

  • Copies the playing file or folder from the array onto your cache pool with option to skip previous episodes.

  • Switches the media server's open file handles to the cache copy while playback continues, so the array disks can spin down.

  • Keeps cached folders on the mover exclusion list, so the mover does not undo the work. Requires CA Mover Tuning.

  • A scheduled cleaner releases folders that have been idle long enough: files with an identical copy on the array are removed from the cache, everything else stays for the mover.

Everything runs on your own schedule (copy every N minutes, clean daily/weekly), can be started by hand from the webui, and is logged to a quiet plugin log with a live status strip and cancel button.

Playback Cache

image.png

image.png

image.png

Edited by adolfotregosa

What is actually different between the two versions besides "just a improved version" ?

  • Author
4 minutes ago, DiscoverIt said:

What is actually different between the two versions besides "just a improved version" ?

Original version no longer works with jellyfin 12. Honestly at this point it's almost a new project. I touched so much stuff.

Am I understanding this correctly—that no further episodes of a series will be cached in advance?

-faxxe

  • Author
2 minutes ago, faxxe71 said:

Am I understanding this correctly—that no further episodes of a series will be cached in advance?

-faxxe

No, it caches the whole season, or with the new option only the playing episode and the ones after it, from the array. Basically whatever is in that folder at the time. New episodes don’t need caching: Unraid already writes them to the pool, as long as the share’s “Primary storage (for new files and folders)” is the same pool that Playback Cache uses.

Edited by adolfotregosa

  • Author

New option to skip previous episodes for tvshows. The idea is to only cache the current episode and the following ones.

  • Author

Maybe I explained it badly...
Playback caches the season folder. When someone watches something, playback cache, caches everything on the folder with possibility for exceptions using "Never cache these".

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.