Merge pull request #16779 from Shadowghost/fix-subtitle-save

Fix subtitle save path
This commit is contained in:
Niels van Velzen
2026-05-06 19:07:00 +02:00
committed by GitHub

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);
}