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 try
{ {
var item = ResolvePath(f, parent) as T; if (f.Exists)
if (item != null)
{ {
lock (list) var item = ResolvePath(f, parent) as T;
if (item != null)
{ {
list.Add(item); lock (list)
{
list.Add(item);
}
} }
} }
} }

Loading…
Cancel
Save