cuepoints analyzer disabled by default
This commit is contained in:
parent
f5e46c6f3d
commit
87de25052a
|
@ -25,7 +25,7 @@ class PipelineStatus(int, Enum):
|
|||
|
||||
|
||||
class PipelineOptions(BaseModel):
|
||||
analyze_cue_points: bool = True
|
||||
analyze_cue_points: bool = False
|
||||
|
||||
|
||||
class Pipeline:
|
||||
|
|
|
@ -5,7 +5,9 @@ from django.db import migrations
|
|||
from ._migrations import legacy_migration_factory
|
||||
|
||||
UP = """
|
||||
alter table "cc_track_types" add column "analyze_cue_points" boolean default 't' not null;
|
||||
alter table "cc_track_types" add column "analyze_cue_points" boolean default 'f' not null;
|
||||
|
||||
update "cc_track_types" set "analyze_cue_points" = 't';
|
||||
"""
|
||||
|
||||
DOWN = """
|
||||
|
|
|
@ -95,7 +95,7 @@ CREATE TABLE "cc_track_types"
|
|||
"visibility" BOOLEAN DEFAULT 't' NOT NULL,
|
||||
"type_name" VARCHAR(64) DEFAULT '' NOT NULL,
|
||||
"description" VARCHAR(255) DEFAULT '' NOT NULL,
|
||||
"analyze_cue_points" BOOLEAN DEFAULT 't' NOT NULL,
|
||||
"analyze_cue_points" BOOLEAN DEFAULT 'f' NOT NULL,
|
||||
PRIMARY KEY ("id"),
|
||||
CONSTRAINT "cc_track_types_id_idx" UNIQUE ("id"),
|
||||
CONSTRAINT "cc_track_types_code_idx" UNIQUE ("code")
|
||||
|
|
|
@ -55,7 +55,6 @@ class Application_Form_AddTracktype extends Zend_Form
|
|||
|
||||
$analyze_cue_points = new Zend_Form_Element_Checkbox('analyze_cue_points');
|
||||
$analyze_cue_points->setLabel(_('Analyze cue points:'));
|
||||
$analyze_cue_points->setAttrib('checked', true);
|
||||
$analyze_cue_points->setRequired(true);
|
||||
$this->addElement($analyze_cue_points);
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ class CcTracktypesTableMap extends TableMap
|
|||
$this->addColumn('visibility', 'DbVisibility', 'BOOLEAN', true, null, true);
|
||||
$this->addColumn('type_name', 'DbTypeName', 'VARCHAR', true, 64, '');
|
||||
$this->addColumn('description', 'DbDescription', 'VARCHAR', true, 255, '');
|
||||
$this->addColumn('analyze_cue_points', 'DbAnalyzeCuePoints', 'BOOLEAN', true, null, true);
|
||||
$this->addColumn('analyze_cue_points', 'DbAnalyzeCuePoints', 'BOOLEAN', true, null, false);
|
||||
// validators
|
||||
} // initialize()
|
||||
|
||||
|
|
|
@ -65,7 +65,7 @@ abstract class BaseCcTracktypes extends BaseObject implements Persistent
|
|||
|
||||
/**
|
||||
* The value for the analyze_cue_points field.
|
||||
* Note: this column has a database default value of: true
|
||||
* Note: this column has a database default value of: false
|
||||
* @var boolean
|
||||
*/
|
||||
protected $analyze_cue_points;
|
||||
|
@ -114,7 +114,7 @@ abstract class BaseCcTracktypes extends BaseObject implements Persistent
|
|||
$this->visibility = true;
|
||||
$this->type_name = '';
|
||||
$this->description = '';
|
||||
$this->analyze_cue_points = true;
|
||||
$this->analyze_cue_points = false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -361,7 +361,7 @@ abstract class BaseCcTracktypes extends BaseObject implements Persistent
|
|||
return false;
|
||||
}
|
||||
|
||||
if ($this->analyze_cue_points !== true) {
|
||||
if ($this->analyze_cue_points !== false) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -92,7 +92,7 @@
|
|||
<column name="visibility" phpName="DbVisibility" type="BOOLEAN" required="true" defaultValue="true" />
|
||||
<column name="type_name" phpName="DbTypeName" type="VARCHAR" size="64" required="true" defaultValue="" />
|
||||
<column name="description" phpName="DbDescription" type="VARCHAR" size="255" required="true" defaultValue="" />
|
||||
<column name="analyze_cue_points" phpName="DbAnalyzeCuePoints" type="BOOLEAN" required="true" defaultValue="true" />
|
||||
<column name="analyze_cue_points" phpName="DbAnalyzeCuePoints" type="BOOLEAN" required="true" defaultValue="false" />
|
||||
<unique name="cc_track_types_id_idx">
|
||||
<unique-column name="id" />
|
||||
</unique>
|
||||
|
|
Loading…
Reference in New Issue