fix folders affecting album resolver

This commit is contained in:
Luke Pulverenti 2017-01-15 17:53:24 -05:00
parent c47b602499
commit 45da5c64b1
1 changed files with 7 additions and 5 deletions

View File

@ -142,12 +142,14 @@ namespace Emby.Server.Implementations.Library.Resolvers.Audio
}
}
}
var fullName = fileSystemInfo.FullName;
if (libraryManager.IsAudioFile(fullName, libraryOptions))
else
{
return true;
var fullName = fileSystemInfo.FullName;
if (libraryManager.IsAudioFile(fullName, libraryOptions))
{
return true;
}
}
}