mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-04 15:28:23 +00:00
Backport pull request #15054 from jellyfin/release-10.11.z
Speed-up trickplay migration
Original-merge: ca830d5be7
Merged-by: crobibero <cody@robibe.ro>
Backported-by: Bond_009 <bond.009@outlook.com>
This commit is contained in:
parent
9e53f46ad2
commit
cee16d47cb
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