Update Database class.
This commit is contained in:
+26
-11
@@ -38,10 +38,10 @@ public static class Database
|
|||||||
folder TEXT NOT NULL,
|
folder TEXT NOT NULL,
|
||||||
directory TEXT NOT NULL,
|
directory TEXT NOT NULL,
|
||||||
duration REAL NOT NULL,
|
duration REAL NOT NULL,
|
||||||
total_samples INTEGER NOT NULL,
|
total_samples REAL NOT NULL,
|
||||||
bit_depth INTEGER NOT NULL,
|
bit_depth INTEGER NOT NULL,
|
||||||
channels INTEGER NOT NULL,
|
channels INTEGER NOT NULL,
|
||||||
sample_rate INTEGER NOT NULL,
|
sample_rate REAL NOT NULL,
|
||||||
type TEXT NOT NULL,
|
type TEXT NOT NULL,
|
||||||
date_added TEXT NOT NULL,
|
date_added TEXT NOT NULL,
|
||||||
original_modification_date TEXT NOT NULL,
|
original_modification_date TEXT NOT NULL,
|
||||||
@@ -79,7 +79,7 @@ public static class Database
|
|||||||
cue_number INTEGER,
|
cue_number INTEGER,
|
||||||
sync_point INTEGER,
|
sync_point INTEGER,
|
||||||
release_date TEXT,
|
release_date TEXT,
|
||||||
track_year TEXT,
|
track_year INTEGER,
|
||||||
is_edited INTEGER,
|
is_edited INTEGER,
|
||||||
is_split INTEGER,
|
is_split INTEGER,
|
||||||
location TEXT,
|
location TEXT,
|
||||||
@@ -99,6 +99,13 @@ public static class Database
|
|||||||
user6 TEXT,
|
user6 TEXT,
|
||||||
user7 TEXT,
|
user7 TEXT,
|
||||||
user8 TEXT,
|
user8 TEXT,
|
||||||
|
fx_name TEXT,
|
||||||
|
channel_layout TEXT,
|
||||||
|
bwf_umid BLOB,
|
||||||
|
disk_number INTEGER,
|
||||||
|
track_number INTEGER,
|
||||||
|
artwork BLOB,
|
||||||
|
waveform BLOB,
|
||||||
|
|
||||||
INDEX idx_md5 (md5),
|
INDEX idx_md5 (md5),
|
||||||
INDEX idx_path (path),
|
INDEX idx_path (path),
|
||||||
@@ -133,11 +140,13 @@ public static class Database
|
|||||||
track_title, episode, scene, take, tape, cue_number, sync_point,
|
track_title, episode, scene, take, tape, cue_number, sync_point,
|
||||||
release_date, track_year, is_edited, is_split, location, [group],
|
release_date, track_year, is_edited, is_split, location, [group],
|
||||||
markers, comments, notes, copyright, coding_history, microphone,
|
markers, comments, notes, copyright, coding_history, microphone,
|
||||||
mic_perspective, user1, user2, user3, user4, user5, user6, user7, user8
|
mic_perspective,
|
||||||
|
fx_name, channel_layout, bwf_umid, disc_number, track_number, artwork, waveform,
|
||||||
|
user1, user2, user3, user4, user5, user6, user7, user8
|
||||||
) VALUES (
|
) VALUES (
|
||||||
@UniqueId, @ShortId, @Md5, @Path, @Filename, @Folder, @Directory,
|
@UniqueId, @ShortId, @Md5, @Path, @Filename, @Folder, @Directory,
|
||||||
@Duration, @TotalSamples, @BitDepth, @Channels, @SampleRate, @Type,
|
@Duration, 0, @BitDepth, @Channels, @SampleRate, @Type,
|
||||||
@DateAdded, @OriginalModificationDate, @OriginationTime,
|
@DateAdded, @LastWriteTime, @CreationTime,
|
||||||
@Bpm, @FrameRate, @Timecode, @Description, @Category, @Subcategory,
|
@Bpm, @FrameRate, @Timecode, @Description, @Category, @Subcategory,
|
||||||
@CatId, @CategoryFull, @Genre, @Style, @Mood, @Keywords, @Rating,
|
@CatId, @CategoryFull, @Genre, @Style, @Mood, @Keywords, @Rating,
|
||||||
@Artist, @Composer, @Designer, @Recordist, @Publisher, @Manufacturer,
|
@Artist, @Composer, @Designer, @Recordist, @Publisher, @Manufacturer,
|
||||||
@@ -145,7 +154,9 @@ public static class Database
|
|||||||
@TrackTitle, @Episode, @Scene, @Take, @Tape, @CueNumber, @SyncPoint,
|
@TrackTitle, @Episode, @Scene, @Take, @Tape, @CueNumber, @SyncPoint,
|
||||||
@ReleaseDate, @TrackYear, @IsEdited, @IsSplit, @Location, @Group,
|
@ReleaseDate, @TrackYear, @IsEdited, @IsSplit, @Location, @Group,
|
||||||
@Markers, @Comments, @Notes, @Copyright, @BwfCodingHistory, @Microphone,
|
@Markers, @Comments, @Notes, @Copyright, @BwfCodingHistory, @Microphone,
|
||||||
@MicPerspective, @User1, @User2, @User3, @User4, @User5, @User6, @User7, @User8
|
@MicPerspective,
|
||||||
|
@FxName, @ChannelLayout, @BwfUmid, @DiscNumber, @TrackNumber, @Artwork, @Waveform,
|
||||||
|
@User1, @User2, @User3, @User4, @User5, @User6, @User7, @User8
|
||||||
);
|
);
|
||||||
";
|
";
|
||||||
|
|
||||||
@@ -184,11 +195,13 @@ public static class Database
|
|||||||
track_title, episode, scene, take, tape, cue_number, sync_point,
|
track_title, episode, scene, take, tape, cue_number, sync_point,
|
||||||
release_date, track_year, is_edited, is_split, location, [group],
|
release_date, track_year, is_edited, is_split, location, [group],
|
||||||
markers, comments, notes, copyright, coding_history, microphone,
|
markers, comments, notes, copyright, coding_history, microphone,
|
||||||
mic_perspective, user1, user2, user3, user4, user5, user6, user7, user8
|
mic_perspective,
|
||||||
|
fx_name, channel_layout, bwf_umid, disc_number, track_number, artwork, waveform,
|
||||||
|
user1, user2, user3, user4, user5, user6, user7, user8
|
||||||
) VALUES (
|
) VALUES (
|
||||||
@UniqueId, @ShortId, @Md5, @Path, @Filename, @Folder, @Directory,
|
@UniqueId, @ShortId, @Md5, @Path, @Filename, @Folder, @Directory,
|
||||||
@Duration, @TotalSamples, @BitDepth, @Channels, @SampleRate, @Type,
|
@Duration, 0, @BitDepth, @Channels, @SampleRate, @Type,
|
||||||
@DateAdded, @OriginalModificationDate, @OriginationTime,
|
@DateAdded, @LastWriteTime, @CreationTime,
|
||||||
@Bpm, @FrameRate, @Timecode, @Description, @Category, @Subcategory,
|
@Bpm, @FrameRate, @Timecode, @Description, @Category, @Subcategory,
|
||||||
@CatId, @CategoryFull, @Genre, @Style, @Mood, @Keywords, @Rating,
|
@CatId, @CategoryFull, @Genre, @Style, @Mood, @Keywords, @Rating,
|
||||||
@Artist, @Composer, @Designer, @Recordist, @Publisher, @Manufacturer,
|
@Artist, @Composer, @Designer, @Recordist, @Publisher, @Manufacturer,
|
||||||
@@ -196,7 +209,9 @@ public static class Database
|
|||||||
@TrackTitle, @Episode, @Scene, @Take, @Tape, @CueNumber, @SyncPoint,
|
@TrackTitle, @Episode, @Scene, @Take, @Tape, @CueNumber, @SyncPoint,
|
||||||
@ReleaseDate, @TrackYear, @IsEdited, @IsSplit, @Location, @Group,
|
@ReleaseDate, @TrackYear, @IsEdited, @IsSplit, @Location, @Group,
|
||||||
@Markers, @Comments, @Notes, @Copyright, @BwfCodingHistory, @Microphone,
|
@Markers, @Comments, @Notes, @Copyright, @BwfCodingHistory, @Microphone,
|
||||||
@MicPerspective, @User1, @User2, @User3, @User4, @User5, @User6, @User7, @User8
|
@MicPerspective,
|
||||||
|
@FxName, @ChannelLayout, @BwfUmid, @DiscNumber, @TrackNumber, @Artwork, @Waveform,
|
||||||
|
@User1, @User2, @User3, @User4, @User5, @User6, @User7, @User8
|
||||||
);
|
);
|
||||||
";
|
";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user