mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-27 04:16:47 +00:00
update file system methods
This commit is contained in:
parent
0f743205c4
commit
14de062681
129 changed files with 482 additions and 872 deletions
|
|
@ -702,7 +702,7 @@ namespace MediaBrowser.Server.Implementations.Sync
|
|||
|
||||
var path = Path.Combine(temporaryPath, filename);
|
||||
|
||||
Directory.CreateDirectory(Path.GetDirectoryName(path));
|
||||
_fileSystem.CreateDirectory(Path.GetDirectoryName(path));
|
||||
|
||||
using (var stream = await _subtitleEncoder.GetSubtitles(streamInfo.ItemId, streamInfo.MediaSourceId, subtitleStreamIndex, subtitleStreamInfo.Format, 0, null, cancellationToken).ConfigureAwait(false))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue