mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Backport pull request #11978 from jellyfin/release-10.9.z
Fallback to local dir when saving to media dir fails Original-merge: f41efb3b2c081eb9ee22d25aa9d45108d627ca4a Merged-by: joshuaboniface <joshua@boniface.me> Backported-by: Joshua M. Boniface <joshua@boniface.me>
This commit is contained in:
parent
78e8eae5ad
commit
0c1c41aeaf
@ -126,7 +126,11 @@ namespace MediaBrowser.Providers.Manager
|
||||
|
||||
var paths = GetSavePaths(item, type, imageIndex, mimeType, saveLocally);
|
||||
|
||||
var retryPaths = GetSavePaths(item, type, imageIndex, mimeType, !saveLocally);
|
||||
string[] retryPaths = [];
|
||||
if (saveLocally)
|
||||
{
|
||||
retryPaths = GetSavePaths(item, type, imageIndex, mimeType, false);
|
||||
}
|
||||
|
||||
// If there are more than one output paths, the stream will need to be seekable
|
||||
if (paths.Length > 1 && !source.CanSeek)
|
||||
|
Loading…
x
Reference in New Issue
Block a user