public override void ResolveEntity(IMediaLocation location, out BaseItemFactory factory, out IEnumerable <InitializationParameter> setup) { factory = null; setup = null; if (location is IFolderMediaLocation && !MusicHelper.IsHidden(location.Path) && MusicHelper.IsAlbumFolder(location.Path)) { factory = BaseItemFactory <Album> .Instance; } }