Using search2 in a realy ugly way, library is now built fast enough for mpd most of the time