mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-26 06:47:23 -05:00
Backport pull request #15054 from jellyfin/release-10.11.z
Speed-up trickplay migration Original-merge: ca830d5be7c7a173f91ae7521d43cb47484718f1 Merged-by: crobibero <cody@robibe.ro> Backported-by: Bond_009 <bond.009@outlook.com>
This commit is contained in:
parent
9e53f46ad2
commit
cee16d47cb
@ -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…
x
Reference in New Issue
Block a user