mirror of https://github.com/jellyfin/jellyfin.git
Create output directory when extracting archive files
This commit is contained in:
parent
837d8feddc
commit
7668cd13f5
|
@ -45,6 +45,7 @@ namespace Emby.Server.Implementations.Archiving
|
|||
options.Overwrite = true;
|
||||
}
|
||||
|
||||
Directory.CreateDirectory(targetPath);
|
||||
reader.WriteAllToDirectory(targetPath, options);
|
||||
}
|
||||
|
||||
|
@ -58,6 +59,7 @@ namespace Emby.Server.Implementations.Archiving
|
|||
Overwrite = overwriteExistingFiles
|
||||
};
|
||||
|
||||
Directory.CreateDirectory(targetPath);
|
||||
reader.WriteAllToDirectory(targetPath, options);
|
||||
}
|
||||
|
||||
|
@ -71,6 +73,7 @@ namespace Emby.Server.Implementations.Archiving
|
|||
Overwrite = overwriteExistingFiles
|
||||
};
|
||||
|
||||
Directory.CreateDirectory(targetPath);
|
||||
reader.WriteAllToDirectory(targetPath, options);
|
||||
}
|
||||
|
||||
|
@ -120,6 +123,7 @@ namespace Emby.Server.Implementations.Archiving
|
|||
Overwrite = overwriteExistingFiles
|
||||
};
|
||||
|
||||
Directory.CreateDirectory(targetPath);
|
||||
reader.WriteAllToDirectory(targetPath, options);
|
||||
}
|
||||
|
||||
|
@ -151,6 +155,7 @@ namespace Emby.Server.Implementations.Archiving
|
|||
Overwrite = overwriteExistingFiles
|
||||
};
|
||||
|
||||
Directory.CreateDirectory(targetPath);
|
||||
reader.WriteAllToDirectory(targetPath, options);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue