Fix subtitle save path

This commit is contained in:
Shadowghost
2026-05-05 17:32:58 +02:00
parent 4178e0ebaf
commit 9ade1fb8f6

View File

@@ -228,10 +228,11 @@ namespace MediaBrowser.Providers.Subtitles
var mediaFolderPath = Path.GetFullPath(Path.Combine(video.ContainingFolderPath, saveFileName));
savePaths.Add(mediaFolderPath);
}
var internalPath = Path.GetFullPath(Path.Combine(video.GetInternalMetadataPath(), saveFileName));
savePaths.Add(internalPath);
else
{
var internalPath = Path.GetFullPath(Path.Combine(video.GetInternalMetadataPath(), saveFileName));
savePaths.Add(internalPath);
}
await TrySaveToFiles(memoryStream, savePaths, video, response.Format.ToLowerInvariant()).ConfigureAwait(false);
}