true, 'Settings' => $pdo]);
$db = new Settings();
$res = $db->queryDirect(sprintf("SELECT searchname, ID from releases where consoleinfoID IS NULL and categoryID in ( select ID from category where parentID = %d ) ORDER BY id DESC LIMIT %d", Category::CAT_PARENT_GAME, Console::NUMTOPROCESSPERTIME));
if ($res != null) {
while ($arr = $db->getAssocArray($res)) {
$gameInfo = $console->parseTitle($arr['searchname']);
if ($gameInfo !== false) {
echo 'Searching ' . $gameInfo['release'] . '
';
$game = $console->updateConsoleInfo($gameInfo);
if ($game !== false) {
echo "
";
print_r($game);
echo "";
} else {
echo '