mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-06-27 17:01:16 -04:00
Fix DirectoryNotFoundException for backdrop folders in trickplay (#14223)
This commit is contained in:
parent
88332e89c4
commit
5ac0260e5f
1 changed files with 19 additions and 16 deletions
|
@ -196,6 +196,8 @@ public class TrickplayManager : ITrickplayManager
|
|||
}
|
||||
|
||||
// Cleanup old trickplay files
|
||||
if (Directory.Exists(trickplayDirectory))
|
||||
{
|
||||
var existingFolders = Directory.GetDirectories(trickplayDirectory).ToList();
|
||||
var trickplayInfos = await dbContext.TrickplayInfos
|
||||
.AsNoTracking()
|
||||
|
@ -218,6 +220,7 @@ public class TrickplayManager : ITrickplayManager
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private async Task RefreshTrickplayDataInternal(
|
||||
Video video,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue