mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-26 17:40:30 +01:00
update file system methods
This commit is contained in:
@@ -645,7 +645,7 @@ namespace MediaBrowser.Server.Implementations.IO
|
||||
if (item != null)
|
||||
{
|
||||
// If the item has been deleted find the first valid parent that still exists
|
||||
while (!Directory.Exists(item.Path) && !File.Exists(item.Path))
|
||||
while (!_fileSystem.DirectoryExists(item.Path) && !_fileSystem.FileExists(item.Path))
|
||||
{
|
||||
item = item.Parent;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user