mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-15 18:08:53 -07:00
fixes #353 - Path not found stopping library scan
This commit is contained in:
parent
92cd71143d
commit
db607a618b
@ -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 New Issue
Block a user