CC-2607: Ability to adjust stream bitrate, type, etc from UI interface

- created table cc_stream_setting and it's initial entries
- pypo installation will generate liquidsoap.cfg on install time
based on information on cc_stream_setting table
This commit is contained in:
James 2011-08-12 15:19:30 -04:00
parent 1c81d0d238
commit 13285fdd63
16 changed files with 1952 additions and 3 deletions

View file

@ -460,6 +460,25 @@ CREATE TABLE "cc_country"
COMMENT ON TABLE "cc_country" IS '';
SET search_path TO public;
-----------------------------------------------------------------------------
-- cc_stream_setting
-----------------------------------------------------------------------------
DROP TABLE "cc_stream_setting" CASCADE;
CREATE TABLE "cc_stream_setting"
(
"keyname" VARCHAR(64) NOT NULL,
"value" VARCHAR(255),
"type" VARCHAR(16) NOT NULL,
PRIMARY KEY ("keyname")
);
COMMENT ON TABLE "cc_stream_setting" IS '';
SET search_path TO public;
ALTER TABLE "cc_access" ADD CONSTRAINT "cc_access_owner_fkey" FOREIGN KEY ("owner") REFERENCES "cc_subjs" ("id");