* @meta ACCESS:PERM_ADMIN */ chdir('..'); require_once './core/functions.php'; require_once './core/custom.php'; require_once './core/security.php'; require_once './engines/engines.php'; require_once './core/compatibility.php'; // check for localnet localnet_or_die(); // multiuser permission check permission_or_die(PERM_WRITE); /** * Fetch a list of all editable video fields (keys) * and assign 1 (value) if they should be preselected else 0 */ function getFields() { $edit_file = file_get_contents('./core/edit.core.php'); $edit_file = preg_replace("/\n/",'',$edit_file); if (preg_match('/\$imdb_set_fields\s*=\s*array\s*\((.*?)\)/', $edit_file, $fieldslist) && preg_match('/\$imdb_overwrite_fields.*?array\s*\((.*?)\)/', $edit_file, $overwritelist)) { $fields = array_map('trim', split(',', preg_replace("/'/", '', $fieldslist[1]))); $overwrites = array_map('trim', split(',', preg_replace("/'/", '', $overwritelist[1]))); $ret = array(); foreach ($fields as $field) { $value = (in_array($field, $overwrites)) ? 1 : 0; if (preg_match('/custom/', $field)) $value = 0; $ret = array_merge ($ret, array($field => $value)); } return $ret; } } if (!check_permission(PERM_ADMIN)) { ?> Refetch all external engine information $_COOKIE, 'no_proxy' => true, 'no_redirect' => true)); if (!$resp['success']) { $CLIENTERRORS[] = $video['title']." (".$video['diskid']."/".engineGetEngine($video['imdbID'])."): ".$resp['error']; } else $CLIENTOKS[] = $video['title']." (".$video['diskid']."/".engineGetEngine($video['imdbID']).")"; } if (isset($resetDI) && $resetDI == "true") { // fix lent table after upper temp. changes $SELECT = "SELECT diskid FROM ".TBL_LENT." WHERE diskid like 'TMP%'"; $lentResult = runSQL($SELECT); foreach ($lentResult as $lentRow) { $diskid = preg_replace('/^TMP/','',$lentRow['diskid']); $UPDATE = "UPDATE ".TBL_LENT." SET diskid = '".$diskid."' WHERE diskid = 'TMP".$diskid."'"; runSQL($UPDATE); } } ?> Refetch all external engine information

Report

ERROR:


SUCCESS:


Refetch all external engine information

Refetch and overwrite selected fields of movies for this User:
Update fields only for movies fetched by this engine:
Data Lookup:
"; print ''; } for ($i = 0; $i < ($fields_in_a_row - ($field_amount % $fields_in_a_row)); $i++) { print ''; } ?>
'.$keys[$i].' 
reset DiskIDs FOR ALL MOVIES AND ALL USERS?
Are you shure to know what you are doing?
Refetch all external engine information <body>Please use a browser which supports frames!</body>