mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-13 04:06:31 +01:00
Fix subtitle save path
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user