fixes #353 - Path not found stopping library scan

pull/702/head
Luke Pulverenti 12 years ago
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…
Cancel
Save