mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-27 02:56:54 +01:00
update owned items
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user