mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
add people null check
This commit is contained in:
parent
4982a90e22
commit
c135bb17f2
@ -165,12 +165,15 @@ namespace MediaBrowser.Server.Implementations.Library.Validators
|
||||
|
||||
var item = _libraryManager.GetItemById(id);
|
||||
|
||||
if (item != null)
|
||||
{
|
||||
await _libraryManager.DeleteItem(item, new DeleteOptions
|
||||
{
|
||||
DeleteFileLocation = false
|
||||
|
||||
}).ConfigureAwait(false);
|
||||
}
|
||||
}
|
||||
|
||||
progress.Report(100);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user