Speed-up trickplay migration (#15054)

This commit is contained in:
Tim Eisele 2025-10-24 00:37:47 +02:00 committed by GitHub
parent a5bc4524d8
commit ca830d5be7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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