fixed xml providers running over and over

This commit is contained in:
Luke Pulverenti
2013-10-01 14:24:27 -04:00
parent 900266eb54
commit 3d40c5ba36
42 changed files with 323 additions and 395 deletions

View File

@@ -527,16 +527,13 @@ namespace MediaBrowser.Server.Implementations.Library
{
try
{
if (f.Exists)
{
var item = ResolvePath(f, parent) as T;
var item = ResolvePath(f, parent) as T;
if (item != null)
if (item != null)
{
lock (list)
{
lock (list)
{
list.Add(item);
}
list.Add(item);
}
}
}