2015-10-28, 10:09 PM
I've been having some intermittent issues with some of my scripts related to renaming. I've been looking in the DB, and I noticed that the filename field in SCHEDULED_RECORDINGS is only 50 bytes... That ends up truncating many of my recording filenames. Is that expected?
[ATTACHMENT NOT FOUND]
[ATTACHMENT NOT FOUND]
Code:
CREATE TABLE [SCHEDULED_RECORDING] (
[oid] integer PRIMARY KEY AUTOINCREMENT NOT NULL,
[name] varchar(50) NOT NULL,
[filename] varchar(50) NOT NULL,
[status] integer NOT NULL,
[start_time] datetime NOT NULL,
[end_time] datetime NOT NULL,
[capture_source_oid] integer NOT NULL,
[channel_oid] integer NOT NULL,
[recurrence_oid] integer NOT NULL,
[channel_name] varchar(50) NOT NULL,
[event_details] varchar(50) NOT NULL,
[failure_reason] varchar(50) NOT NULL,
[pre_padding] integer NOT NULL,
[post_padding] integer NOT NULL,
[quality] integer NOT NULL
, red CHAR(1), green CHAR(1), yellow CHAR(1), blue CHAR(1));