mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-17 15:53:42 +01:00
fix null reference in IsPathOffline
This commit is contained in:
@@ -725,7 +725,7 @@ namespace MediaBrowser.Controller.Entities
|
||||
|
||||
foreach (var item in itemsRemoved)
|
||||
{
|
||||
if (IsPathOffline(item.Path))
|
||||
if (!string.IsNullOrEmpty(item.Path) && IsPathOffline(item.Path))
|
||||
{
|
||||
item.IsOffline = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user