mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
[PR #8107] Move transcodes to be under CachePath #11619
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/jellyfin/jellyfin/pull/8107
State: closed
Merged: Yes
Changes
Move transcodes to be under CachePath instead of ProgramDataPath.
Since transcodes are ephemeral (they're cleaned up periodically and recreated if they don't exist), they're more like cache data than program data. Systems can (and oftentimes do) have the cache directory on a different disk, use a different type of file system, or have a different backup policy for the cache path because it contains ephemeral data.
Issues
This PR doesn't exactly solve the following issues, but it is related to them, as it changes jellyfin to use a more appropriate path for these temporary files which makes it more likely that the system will be configured to handle this data more appropriately avoiding these issues:
https://github.com/jellyfin/jellyfin/issues/4893
https://github.com/jellyfin/jellyfin/issues/3929