mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-25 03:36:02 +01:00
fixes #353 - Path not found stopping library scan
This commit is contained in:
parent
92cd71143d
commit
db607a618b
1 changed files with 8 additions and 5 deletions
|
|
@ -537,13 +537,16 @@ namespace MediaBrowser.Server.Implementations.Library
|
|||
{
|
||||
try
|
||||
{
|
||||
var item = ResolvePath(f, parent) as T;
|
||||
|
||||
if (item != null)
|
||||
if (f.Exists)
|
||||
{
|
||||
lock (list)
|
||||
var item = ResolvePath(f, parent) as T;
|
||||
|
||||
if (item != null)
|
||||
{
|
||||
list.Add(item);
|
||||
lock (list)
|
||||
{
|
||||
list.Add(item);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue