17 require_once SQ_CORE_PACKAGE_PATH.
'/files/file/file_edit_fns.inc';
18 require_once SQ_FUDGE_PATH.
'/general/text.inc';
39 $this->static_screens[
'details'][
'force_unlock'] = 1;
65 function processFileUpload(&$asset, &$o, $prefix, $info=Array(), $redirect_in_limbo=TRUE, $asset_cloned=FALSE)
67 if (!parent::processFileUpload($asset, $o, $prefix, $info, $redirect_in_limbo, $asset_cloned)) {
72 if (!$asset->id)
return TRUE;
74 $info = $asset->getExistingFile();
78 if (SQ_TOOL_GETID3_ENABLED) {
79 $asset->setAttrValue(
'extract_id3', TRUE);
102 check_box($prefix.
'_extract_id3', 1, FALSE);
104 ?><em>Lock the asset to access
this option</em><?php
107 if (!SQ_TOOL_GETID3_ENABLED) {
109 ?><br/><span
class=
"sq-backend-warning">Video Data extraction is not currently enabled</span><?php
132 if (!$asset->
writeAccess(
'attributes'))
return FALSE;
133 $extract = isset($_POST[$prefix.
'_extract_id3']);