diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-09-18 12:52:22 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-09-18 12:52:22 -0400 |
| commit | cdd79ec7e2fcea806be7a9b50764b1ad473d5970 (patch) | |
| tree | 07ac58ea57e5750c0749de219220e9635c8fea27 /Emby.Server.Implementations/IO/FileRefresher.cs | |
| parent | b01489c40fbd0aa6013f1ed448d902094a186f9f (diff) | |
update owned items
Diffstat (limited to 'Emby.Server.Implementations/IO/FileRefresher.cs')
| -rw-r--r-- | Emby.Server.Implementations/IO/FileRefresher.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/IO/FileRefresher.cs b/Emby.Server.Implementations/IO/FileRefresher.cs index 20de8a518..315bee103 100644 --- a/Emby.Server.Implementations/IO/FileRefresher.cs +++ b/Emby.Server.Implementations/IO/FileRefresher.cs @@ -209,7 +209,7 @@ namespace Emby.Server.Implementations.IO // If the item has been deleted find the first valid parent that still exists while (!_fileSystem.DirectoryExists(item.Path) && !_fileSystem.FileExists(item.Path)) { - item = item.GetParent(); + item = item.IsOwnedItem ? item.GetOwner() : item.GetParent(); if (item == null) { |
