mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-27 04:16:47 +00:00
Speed-up trickplay migration (#15054)
This commit is contained in:
parent
a5bc4524d8
commit
ca830d5be7
1 changed files with 4 additions and 0 deletions
|
|
@ -152,6 +152,10 @@ namespace Emby.Server.Implementations.IO
|
|||
/// <inheritdoc />
|
||||
public void MoveDirectory(string source, string destination)
|
||||
{
|
||||
// Make sure parent directory of target exists
|
||||
var parent = Directory.GetParent(destination);
|
||||
parent?.Create();
|
||||
|
||||
try
|
||||
{
|
||||
Directory.Move(source, destination);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue