2018-10-03 Fred Gleason <fredg@paravelsystems.com>

* Changed all instances of 'char' to 'varchar' in the database.
	* Changed the width of the 'CART.TITLE' field to 191.
	* Changed the width of the 'CART.ARTIST' field to 191.
	* Changed the width of the 'CART.ALBUM' field to 191.
	* Changed the width of the 'CART.USER_DEFINED' field to 191.
	* Changed the width of the 'CUTS.ORIGIN_LOGIN_NAME' field to 191.
	* Changed the width of the 'DROPBOXES.PATH' field to 191.
	* Changed the width of the 'DROPBOXES.LOG_PATH' field to 191.
	* Changed the width of the 'DROPBOXES.SET_USER_DEFINED' field to 191.
	* Changed the width of the 'DROPBOX_PATHS.FILE_PATH' field to 191.
	* Changed the width of the 'ELR_LINES.TITLE' field to 191.
	* Changed the width of the 'ELR_LINES.ARTIST' field to 191.
	* Changed the width of the 'ELR_LINES.USER_DEFINED' field to 191.
	* Changed the width of the 'ELR_LINES.ALBUM' field to 191.
	* Changed the width of the 'ENCODERS.COMMAND_LINE' field to 191.
	* Changed the width of the 'EVENTS.NOTE_TEXT' field to 191.
	* Changed the width of the 'EVENT_LINES.MARKER_COMMENT' field to 191.
	* Changed the width of the 'FEEDS.CHANNEL_TITLE' field to 191.
	* Changed the width of the 'FEEDS.CHANNEL_LINK' field to 191.
	* Changed the width of the 'FEEDS.BASE_URL' field to 191.
	* Changed the width of the 'FEEDS.BASE_PREAMBLE' field to 191.
	* Changed the width of the 'FEEDS.PURGE_URL' field to 191.
	* Changed the width of the 'FEEDS.REDIRECT_PATH' field to 191.
	* Changed the width of the 'FEED_PERMS.USER_NAME' field to 191.
	* Changed the width of the 'GROUPS.DESCRIPTION' field to 191.
	* Changed the width of the 'GROUPS.DEFAULT_TITLE' field to 191.
	* Changed the width of the 'HOSTVARS.VARVALUE' field to 191.
	* Changed the width of the 'HOSTVARS.REMARK' field to 191.
	* Changed the width of the 'IMPORTER_LINES.TITLE' field to 191.
	* Changed the width of the 'IMPORTER_LINES.TRACK_STRING' field to 191.
	* Changed the width of the 'INPUTS.NODE_HOSTNAME' field to 191.
	* Changed the width of the 'LOGS.ORIGIN_USER' field to 191.
	* Changed the width of the 'LOGS.LOCK_USER_NAME' field to 191.
	* Changed the width of the 'LOG_LINES.COMMENT' field to 191.
	* Changed the width of the 'LOG_LINES.ORIGIN_USER' field to 191.
	* Changed the width of the 'LOG_MACHINES.UDP_ADDR' field to 191.
	* Changed the width of the 'LOG_MACHINES.UDP_STRING' field to 191.
	* Changed the width of the 'LOG_MACHINES.LOG_RML' field to 191.
	* Changed the width of the 'MATRICES.GPIO_DEVICE' field to 191.
	* Changed the width of the 'NOWNEXT_PLUGINS.PLUGIN_PATH' field to 191.
	* Changed the width of the 'NOWNEXT_PLUGINS.PLUGIN_ARG' field to 191.
	* Changed the width of the 'OUTPUTS.NODE_HOSTNAME' field to 191.
	* Changed the width of the 'PODCASTS.ITEM_TITLE' field to 191.
	* Changed the width of the 'PODCASTS.ITEM_LINK' field to 191.
	* Changed the width of the 'PODCASTS.ITEM_COMMENTS' field to 191.
	* Changed the width of the 'PODCASTS.ITEM_AUTHOR' field to 191.
	* Changed the width of the 'PODCASTS.ITEM_SOURCE_URL' field to 191.
	* Changed the width of the 'PODCASTS.AUDIO_FILENAME' field to 191.
	* Changed the width of the 'RDAIRPLAY.SKIN_PATH' field to 191.
	* Changed the width of the 'RDAIRPLAY_CHANNELS.START_RML' field to 191.
	* Changed the width of the 'RDAIRPLAY_CHANNELS.STOP_RML' field to 191.
	* Changed the width of the 'RDCATCH.ERROR_RML' field to 191.
	* Changed the width of the 'RDPANEL.SKIN_PATH' field to 191.
	* Changed the width of the 'RDPANEL_CHANNELS.START_RML' field to 191.
	* Changed the width of the 'RDPANEL_CHANNELS.STOP_RML' field to 191.
	* Changed the width of the 'RECORDINGS.URL' field to 191.
	* Changed the width of the 'REPLICATORS.URL' field to 191.
	* Changed the width of the 'REPL_CART_STATE.POSTED_FILENAME' field
	to 191.
	* Changed the width of the 'REPORTS.EXPORT_PATH' field to 191.
	* Changed the width of the 'REPORTS.WIN_EXPORT_PATH' field to 191.
	* Changed the width of the 'SERVICES.DESCRIPTION' field to 191.
	* Changed the width of the 'SERVICES.NAME_TEMPLATE' field to 191.
	* Changed the width of the 'SERVICES.DESCRIPTION_TEMPLATE' field to 191.
	* Changed the width of the 'SERVICES.PROGRAM_CODE' field to 191.
	* Changed the width of the 'SERVICES.TFC_PATH' field to 191.
	* Changed the width of the 'SERVICES.TFC_WIN_PATH' field to 191.
	* Changed the width of the 'SERVICES.MUS_PATH' field to 191.
	* Changed the width of the 'SERVICES_MUS_WIN_PATH' field to 191.
	* Changed the width of the 'STATIONS.USER_NAME' field to 191.
	* Changed the width of the 'STATIONS.DEFAULT_NAME' field to 191.
	* Changed the width of the 'STATIONS.EDITOR_PATH' field to 191.
	* Changed the width of the 'STATIONS.JACK_COMMAND_LINE' field to 191.
	* Changed the width of the 'SWITCHER_NODES.DESCRIPTION' field to 191.
	* Changed the width of the 'SYSTEM.ISCI_XREFERENCE_PATH' field to 191.
	* Changed the width of the 'USERS.LOGIN_NAME' field to 191.
	* Changed the width of the 'USERS.FULL_NAME' field to 191.
	* Changed the width of the 'USERS.DESCRIPTION' field to 191.
	* Changed the width of the 'USER_PERMS.USER_NAME' field to 191.
	* Changed the width of the 'USER_SERVICE_PERMS.USER_NAME' field to 191.
	* Changed the width of the 'WEBAPI_AUTHS.LOGIN_NAME' field to 191.
	* Changed the width of the 'WEB_CONNECTIONS.LOGIN_NAME' field to 191.
	* Incremented the database version to 297.
	* Changed the default DB charset to 'utf8mb4'.
	* Changed the default DB collation to 'utf8mb4_general_ci'.
	* Removed the MYSQL_BUILTIN_DATABASE define from 'lib/rd.h'.
	* Removed the POSTGRESQL_BUILTIN_DATABASE define from 'lib/rd.h'.
This commit is contained in:
Fred Gleason 2018-10-03 18:13:51 -04:00
parent 7c09924254
commit a564d0c0fc
90 changed files with 4262 additions and 300 deletions

View File

@ -17650,3 +17650,91 @@
2018-10-01 Patrick Linstruth <patrick@deltecent.com>
* Fixed a regression in RDTimeEdit where highlighted background was not
displaying properly.
2018-10-03 Fred Gleason <fredg@paravelsystems.com>
* Changed all instances of 'char' to 'varchar' in the database.
* Changed the width of the 'CART.TITLE' field to 191.
* Changed the width of the 'CART.ARTIST' field to 191.
* Changed the width of the 'CART.ALBUM' field to 191.
* Changed the width of the 'CART.USER_DEFINED' field to 191.
* Changed the width of the 'CUTS.ORIGIN_LOGIN_NAME' field to 191.
* Changed the width of the 'DROPBOXES.PATH' field to 191.
* Changed the width of the 'DROPBOXES.LOG_PATH' field to 191.
* Changed the width of the 'DROPBOXES.SET_USER_DEFINED' field to 191.
* Changed the width of the 'DROPBOX_PATHS.FILE_PATH' field to 191.
* Changed the width of the 'ELR_LINES.TITLE' field to 191.
* Changed the width of the 'ELR_LINES.ARTIST' field to 191.
* Changed the width of the 'ELR_LINES.USER_DEFINED' field to 191.
* Changed the width of the 'ELR_LINES.ALBUM' field to 191.
* Changed the width of the 'ENCODERS.COMMAND_LINE' field to 191.
* Changed the width of the 'EVENTS.NOTE_TEXT' field to 191.
* Changed the width of the 'EVENT_LINES.MARKER_COMMENT' field to 191.
* Changed the width of the 'FEEDS.CHANNEL_TITLE' field to 191.
* Changed the width of the 'FEEDS.CHANNEL_LINK' field to 191.
* Changed the width of the 'FEEDS.BASE_URL' field to 191.
* Changed the width of the 'FEEDS.BASE_PREAMBLE' field to 191.
* Changed the width of the 'FEEDS.PURGE_URL' field to 191.
* Changed the width of the 'FEEDS.REDIRECT_PATH' field to 191.
* Changed the width of the 'FEED_PERMS.USER_NAME' field to 191.
* Changed the width of the 'GROUPS.DESCRIPTION' field to 191.
* Changed the width of the 'GROUPS.DEFAULT_TITLE' field to 191.
* Changed the width of the 'HOSTVARS.VARVALUE' field to 191.
* Changed the width of the 'HOSTVARS.REMARK' field to 191.
* Changed the width of the 'IMPORTER_LINES.TITLE' field to 191.
* Changed the width of the 'IMPORTER_LINES.TRACK_STRING' field to 191.
* Changed the width of the 'INPUTS.NODE_HOSTNAME' field to 191.
* Changed the width of the 'LOGS.ORIGIN_USER' field to 191.
* Changed the width of the 'LOGS.LOCK_USER_NAME' field to 191.
* Changed the width of the 'LOG_LINES.COMMENT' field to 191.
* Changed the width of the 'LOG_LINES.ORIGIN_USER' field to 191.
* Changed the width of the 'LOG_MACHINES.UDP_ADDR' field to 191.
* Changed the width of the 'LOG_MACHINES.UDP_STRING' field to 191.
* Changed the width of the 'LOG_MACHINES.LOG_RML' field to 191.
* Changed the width of the 'MATRICES.GPIO_DEVICE' field to 191.
* Changed the width of the 'NOWNEXT_PLUGINS.PLUGIN_PATH' field to 191.
* Changed the width of the 'NOWNEXT_PLUGINS.PLUGIN_ARG' field to 191.
* Changed the width of the 'OUTPUTS.NODE_HOSTNAME' field to 191.
* Changed the width of the 'PODCASTS.ITEM_TITLE' field to 191.
* Changed the width of the 'PODCASTS.ITEM_LINK' field to 191.
* Changed the width of the 'PODCASTS.ITEM_COMMENTS' field to 191.
* Changed the width of the 'PODCASTS.ITEM_AUTHOR' field to 191.
* Changed the width of the 'PODCASTS.ITEM_SOURCE_URL' field to 191.
* Changed the width of the 'PODCASTS.AUDIO_FILENAME' field to 191.
* Changed the width of the 'RDAIRPLAY.SKIN_PATH' field to 191.
* Changed the width of the 'RDAIRPLAY_CHANNELS.START_RML' field to 191.
* Changed the width of the 'RDAIRPLAY_CHANNELS.STOP_RML' field to 191.
* Changed the width of the 'RDCATCH.ERROR_RML' field to 191.
* Changed the width of the 'RDPANEL.SKIN_PATH' field to 191.
* Changed the width of the 'RDPANEL_CHANNELS.START_RML' field to 191.
* Changed the width of the 'RDPANEL_CHANNELS.STOP_RML' field to 191.
* Changed the width of the 'RECORDINGS.URL' field to 191.
* Changed the width of the 'REPLICATORS.URL' field to 191.
* Changed the width of the 'REPL_CART_STATE.POSTED_FILENAME' field
to 191.
* Changed the width of the 'REPORTS.EXPORT_PATH' field to 191.
* Changed the width of the 'REPORTS.WIN_EXPORT_PATH' field to 191.
* Changed the width of the 'SERVICES.DESCRIPTION' field to 191.
* Changed the width of the 'SERVICES.NAME_TEMPLATE' field to 191.
* Changed the width of the 'SERVICES.DESCRIPTION_TEMPLATE' field to 191.
* Changed the width of the 'SERVICES.PROGRAM_CODE' field to 191.
* Changed the width of the 'SERVICES.TFC_PATH' field to 191.
* Changed the width of the 'SERVICES.TFC_WIN_PATH' field to 191.
* Changed the width of the 'SERVICES.MUS_PATH' field to 191.
* Changed the width of the 'SERVICES_MUS_WIN_PATH' field to 191.
* Changed the width of the 'STATIONS.USER_NAME' field to 191.
* Changed the width of the 'STATIONS.DEFAULT_NAME' field to 191.
* Changed the width of the 'STATIONS.EDITOR_PATH' field to 191.
* Changed the width of the 'STATIONS.JACK_COMMAND_LINE' field to 191.
* Changed the width of the 'SWITCHER_NODES.DESCRIPTION' field to 191.
* Changed the width of the 'SYSTEM.ISCI_XREFERENCE_PATH' field to 191.
* Changed the width of the 'USERS.LOGIN_NAME' field to 191.
* Changed the width of the 'USERS.FULL_NAME' field to 191.
* Changed the width of the 'USERS.DESCRIPTION' field to 191.
* Changed the width of the 'USER_PERMS.USER_NAME' field to 191.
* Changed the width of the 'USER_SERVICE_PERMS.USER_NAME' field to 191.
* Changed the width of the 'WEBAPI_AUTHS.LOGIN_NAME' field to 191.
* Changed the width of the 'WEB_CONNECTIONS.LOGIN_NAME' field to 191.
* Incremented the database version to 297.
* Changed the default DB charset to 'utf8mb4'.
* Changed the default DB collation to 'utf8mb4_general_ci'.
* Removed the MYSQL_BUILTIN_DATABASE define from 'lib/rd.h'.
* Removed the POSTGRESQL_BUILTIN_DATABASE define from 'lib/rd.h'.

View File

@ -34,8 +34,8 @@ HeartbeatInterval=360
;Engine=MyISAM
; 'Charset' and 'Collation' should *not* changed except for development
; purposes.
;Charset=utf8
;Collation=utf8_general_ci
;Charset=utf8mb4
;Collation=utf8mb4_general_ci
[AudioStore]
MountSource=

View File

@ -24,13 +24,15 @@ EXTRA_DIST = audio_cards.txt\
audio_inputs.txt\
audio_outputs.txt\
audio_perms.txt\
autofills.txt\
aux_metadata.txt\
cart.txt\
cartslots.txt\
cast_downloads.txt\
clipboard.txt\
clock_lines.txt\
clock_perms.txt\
copy_splits.txt\
clocks.txt\
cut_events.txt\
cuts.txt\
deck_events.txt\
@ -44,13 +46,20 @@ EXTRA_DIST = audio_cards.txt\
encoder_samplerates.txt\
encoders.txt\
event_lines.txt\
event_perms.txt\
events.txt\
extended_panel_names.txt\
extended_panels.txt\
feed_perms.txt\
feeds.txt\
gpio_events.txt\
gpis.txt\
gpos.txt\
groups.txt\
hostvars.txt\
importer_lines.txt\
import_templates.txt\
inputs.txt\
isci_xreference.txt\
jack_clients.txt\
livewire_gpio_slots.txt\
@ -58,27 +67,37 @@ EXTRA_DIST = audio_cards.txt\
log_modes.txt\
log_lines.txt\
logs.txt\
matrices.txt\
nownext_plugins.txt\
outputs.txt\
panels.txt\
panel_names.txt\
podcasts.txt\
rdairplay_channels.txt\
rd_airplay.txt\
rd_catch.txt\
rdhotkeys.txt\
rd_library.txt\
rd_logedit.txt\
rdpanel_channels.txt\
rdpanel.txt\
recordings.txt\
repl_cart_state.txt\
repl_cut_state.txt\
replicator_map.txt\
replicators.txt\
report_groups.txt\
report_services.txt\
report_stations.txt\
reports.txt\
rule_lines.txt\
service_clocks.txt\
service_perms.txt\
services.txt\
sources.txt\
stack_lines.txt\
stations.txt\
switcher_nodes.txt\
system.txt\
triggers.txt\
ttys.txt\

View File

@ -6,10 +6,10 @@ physical audio interfaces.
FIELD NAME TYPE REMARKS
---------------------------------------------------------------
ID int(10) unsigned Primary key, auto increment
STATION_NAME char(64)
STATION_NAME varchar(64)
CARD_NUMBER int(11) signed
DRIVER int(11) signed
NAME char(64)
NAME varchar(64)
INPUTS int(11) signed
OUTPUTS int(11) signed
CLOCK_SOURCE int(11) signed 0 = Internal, 1 = AES/EBU,

View File

@ -6,7 +6,7 @@ physical audio inputs.
FIELD NAME TYPE REMARKS
---------------------------------------------------------------
ID int(10) unsigned Primary key, auto increment
STATION_NAME char(64)
STATION_NAME varchar(64)
CARD_NUMBER int(11) signed
PORT_NUMBER int(11) signed
TYPE int(11) signed 0 = Analog, 1 = AES/EBU,

View File

@ -6,7 +6,7 @@ physical audio outputs.
FIELD NAME TYPE REMARKS
---------------------------------------------------------------
ID int(10) unsigned Primary key, auto increment
STATION_NAME char(64)
STATION_NAME varchar(64)
CARD_NUMBER int(11) signed
PORT_NUMBER int(11) signed
LEVEL int(11) signed Gain offset, in 1/100 dB

View File

@ -8,5 +8,5 @@ in the AUDIO_PERMS table:
FIELD NAME TYPE REMARKS
---------------------------------------------------------------
ID int(10) unsigned Primary key, auto increment
GROUP_NAME char(10) Index
SERVICE_NAME char(10) Index
GROUP_NAME varchar(10) Index
SERVICE_NAME varchar(10) Index

12
docs/tables/autofills.txt Normal file
View File

@ -0,0 +1,12 @@
AUTOFILLS Table Layout for Rivendell
The AUTOFILLS table holds data concerning which carts should be used
to fill available time when 'Autofill' is enabled in an rdlogmanager(1)
event.
FIELD NAME TYPE REMARKS
---------------------------------------------------------------
ID int(11) Primary key, auto increment
SERVICE varchar(10) Index
CART_NUMBER int(10) unsigned Index

View File

@ -0,0 +1,12 @@
AUX_METADATA Table Layout for Rivendell
The AUX_METADATA table holds data concerning auxiliary data fields
associated with podcast feeds.
FIELD NAME TYPE REMARKS
---------------------------------------------------------------
ID int(10) unsigned Primary key, auto increment
FEED_ID int(10) unsigned From FEEDS.ID
VAR_NAME varchar(16)
CAPTION varchar(64)

View File

@ -2,25 +2,25 @@
The CARTS table holds data concerning all of the available events
in a Rivendell system that are capable of being individually
scheduled. Following is the layout of a record in the CARTS table:
scheduled.
FIELD NAME TYPE REMARKS
--------------------------------------------------------------------------
NUMBER int(10) unsigned Primary key
TYPE int(10) unsigned 1 = Audio, 2 = Command, 3 = Split
GROUP_NAME char(10) Index
TITLE char(255) Index
ARTIST char(255) Index
ALBUM char(255) Name of release album
GROUP_NAME varchar(10) Index
TITLE varchar(191) Index
ARTIST varchar(191) Index
ALBUM varchar(191) Name of release album
YEAR date Year of release
CONDUCTOR char(64)
LABEL char(64) Release Record Label
CLIENT char(64) Index
AGENCY char(64) Index
PUBLISHER char(64) Index
COMPOSER char(64) Index
USER_DEFINED char(255) For use by local user
SONG_ID char(32)
CONDUCTOR varchar(64)
LABEL varchar(64) Release Record Label
CLIENT varchar(64) Index
AGENCY varchar(64) Index
PUBLISHER varchar(64) Index
COMPOSER varchar(64) Index
USER_DEFINED varchar(191) For use by local user
SONG_ID varchar(32)
BPM int(10) unsigned Beats per minute
USAGE_CODE int(11) 0=Feature, 1=Theme Open,
2=Theme Close, 3=Theme Open/Close,
@ -41,12 +41,13 @@ ENFORCE_LENGTH enum('N','Y') Timeshift?
PRESERVE_PITCH enum('N','Y') Preserve Pitch?
USE_WEIGHTING enum('N','Y')
ASYNCRONOUS enum('N','Y')
OWNER char(64) From LOGS.NAME or STATIONS.NAME
OWNER varchar(64) From LOGS.NAME or STATIONS.NAME
MACROS text RML Macros
SCHED_CODES varchar(255)
NOTES text User notes (freeform)
METADATA_DATETIME datetime Metadata last modified
USE_EVENT_LENGTH enum('N','Y') Use RDLogManager event lengths for
macro cart PAD updates.
PENDING_STATION char(64)
PENDING_STATION varchar(64)
PENDING_DATETIME datetime
PENDING_PID int(11)

View File

@ -7,7 +7,7 @@ CARTS table:
FIELD NAME TYPE REMARKS
------------------------------------------------------------------------------
ID int(10) unsigned Primary key, Auto Increment
STATION_NAME char(64) From STATIONS.NAME
STATION_NAME varchar(64) From STATIONS.NAME
SLOT_NUMBER int(10) unsigned
MODE int(11) signed 0=Cart Deck, 1=Breakaway
DEFAULT_MODE int(11) signed -1=Previous, 0=Cart Deck, 1=Breakaway
@ -17,7 +17,7 @@ CART_NUMBER int(11) signed
DEFAULT_CART_NUMBER int(11) signed -1=Previous, 0=None, >0=Cart
HOOK_MODE int(11) signed
DEFAULT_HOOK_MODE int(11) signed -1=Previous, 0=Off, 1=On
SERVICE_NAME char(10) From SERVICES.NAME
SERVICE_NAME varchar(10) From SERVICES.NAME
CARD int(11) signed
INPUT_PORT int(11) signed
OUTPUT_PORT int(11) signed

View File

@ -6,7 +6,7 @@ The CAST_DOWNLOADS table holds data concerning downloads of podcast episodes.
FIELD NAME TYPE REMARKS
------------------------------------------------------------------------------
ID int(10) unsigned Primary key, Auto Increment
FEED_KEY_NAME char(8) From FEEDS.KEY_NAME
FEED_KEY_NAME varchar(8) From FEEDS.KEY_NAME
CAST_ID int(10) unsigned From PODCASTS.ID
ACCESS_DATE date
ACCESS_COUNT int(10) unsigned

View File

@ -6,13 +6,13 @@ layout of a record in the CLIPBOARD table:
FIELD NAME TYPE REMARKS
---------------------------------------------------------------
CUT_NAME char(12) * Primary key, Base name of WAV file
CUT_NAME varchar(12) * Primary key, Base name of WAV file
CART_NUMBER int(10) unsigned Parent Cart Entry, Indexed
DESCRIPTION char(64) Indexed
OUTCUE char(64) Indexed
DESCRIPTION varchar(64) Indexed
OUTCUE varchar(64) Indexed
LENGTH int(10) unsigned Overall length in ms.
ORIGIN_DATETIME datetime Date/Time when recorded
ORIGIN_NAME char(64) Workstation ID where recorded
ORIGIN_NAME varchar(64) Workstation ID where recorded
WEIGHT int(10) unsigned Relative airplay frequency, 1 = normal
LAST_PLAY_DATETIME datetime
PLAY_COUNTER int(10) unsigned

View File

@ -6,7 +6,7 @@ The CLOCK_PERMS table holds per-line data for clocks in RDLogManager.
FIELD NAME TYPE REMARKS
---------------------------------------------------------------
ID int(10) unsigned Primary key, auto increment
CLOCK_NAME char(64) From CLOCKS.NAME
EVENT_NAME char(64) From EVENTS.NAME
CLOCK_NAME varchar(64) From CLOCKS.NAME
EVENT_NAME varchar(64) From EVENTS.NAME
START_TIME int(11)
LENGTH int(11)

View File

@ -8,5 +8,5 @@ in the CLOCK_PERMS table:
FIELD NAME TYPE REMARKS
---------------------------------------------------------------
ID int(10) unsigned Primary key, auto increment
CLOCK_NAME char(64) Index
SERVICE_NAME char(10) Index
CLOCK_NAME varchar(64) Index
SERVICE_NAME varchar(10) Index

12
docs/tables/clocks.txt Normal file
View File

@ -0,0 +1,12 @@
CLOCKS Table Layout for Rivendell
The CLOCKS table holds data defining each clock in RDLogManager.
FIELD NAME TYPE REMARKS
---------------------------------------------------------------
NAME varchar(64) Primary key
SHORT_NAME varchar(8)
ARTISTSEP int(10) unsigned
COLOR varchar(7)
REMARKS text

View File

@ -1,14 +0,0 @@
COPY_SPLITS Table Layout for Rivendell
The COPY_SPLITS table holds data concerning the National=>Regional
copy mapping for the copy-split subsystem.
FIELD NAME TYPE REMARKS
-------------------------------------------------------------------
ID int unsigned(10) Primary key
SLOT int unsigned(10)
CART_NUMBER int unsigned(10) From CART.NUMBER
ISCI_CODE char(32)
DESCRIPTION char(255)
FILENAME char(64)

View File

@ -5,6 +5,6 @@ The CUT_EVENTS table holds data concerning per-cut meta events.
FIELD NAME TYPE REMARKS
------------------------------------------------------------------------------
ID int(11) Primary key, auto increment
CUT_NAME char(12) From CUTS.CUT_NAME
CUT_NAME varchar(12) From CUTS.CUT_NAME
NUMBER int(11) signed
POINT int(11) signed mS from audio start

View File

@ -2,19 +2,18 @@
The CUTS table holds data concerning each individual audio cut on the
system, as opposed to CART (where individual entries may reference
more than one cut, as in the case of rotators). Following is the
layout of a record in the CUTS table:
more than one cut, as in the case of rotators).
FIELD NAME TYPE REMARKS
---------------------------------------------------------------
CUT_NAME char(12) * Primary key, Base name of WAV file
CUT_NAME varchar(12) * Primary key, Base name of WAV file
CART_NUMBER int(10) unsigned Parent Cart Entry, Indexed
EVERGREEN enum('N','Y')
DESCRIPTION char(64) Indexed
OUTCUE char(64) Indexed
ISRC char(12) International Standard Recording Code
ISCI char(32) ISCI Code
SHA1_HASH char(40)
DESCRIPTION varchar(64) Indexed
OUTCUE varchar(64) Indexed
ISRC varchar(12) International Standard Recording Code
ISCI varchar(32) ISCI Code
SHA1_HASH varchar(40)
LENGTH int(10) unsigned Overall length in ms.
ORIGIN_DATETIME datetime Date/Time when recorded
START_DATETIME datetime
@ -28,9 +27,9 @@ WED enum('N','Y')
THU enum('N','Y')
FRI enum('N','Y')
SAT enum('N','Y')
ORIGIN_NAME char(64) Workstation ID where recorded
ORIGIN_LOGIN_NAME char(255) From USERS.LOGIN_NAME
SOURCE_HOSTNAME char(255) Hostname of remote originator of audio
ORIGIN_NAME varchar(64) Workstation ID where recorded
ORIGIN_LOGIN_NAME varchar(191) From USERS.LOGIN_NAME
SOURCE_HOSTNAME varchar(191) Hostname of remote originator of audio
WEIGHT int(10) unsigned Relative airplay frequency, 1 = normal
PLAY_ORDER int(11) Play order when weighting disabled
LAST_PLAY_DATETIME datetime

View File

@ -6,7 +6,7 @@ events.
FIELD NAME TYPE REMARKS
------------------------------------------------------------------------------
ID int(11) Primary key, auto increment
STATION_NAME char(64) From STATIONS.NAME
STATION_NAME varchar(64) From STATIONS.NAME
CHANNEL int(10) unsigned From DECKS.CHANNEL
NUMBER int(11) signed
CART_NUMBER int(10) unsigned

View File

@ -6,7 +6,7 @@ recording interface on the system.
FIELD NAME TYPE REMARKS
------------------------------------------------------------------
ID int(10) unsigned Primary key, auto increment
STATION_NAME char(64) From STATIONS.NAME
STATION_NAME varchar(64) From STATIONS.NAME
CHANNEL int(10) unsigned 0 = Audition Channel
CARD_NUMBER int(11) signed -1 = None Assigned
STREAM_NUMBER int(11) signed -1 = None Assigned
@ -18,7 +18,7 @@ DEFAULT_FORMAT int(10) signed
DEFAULT_CHANNELS int(10) signed
DEFAULT_BITRATE int(10) signed
DEFAULT_THRESHOLD int(10) signed
SWITCH_STATION char(64) From OUTPUTS.STATION_NAME
SWITCH_STATION varchar(64) From OUTPUTS.STATION_NAME
SWITCH_MATRIX int(11) From OUTPUTS.MATRIX
SWITCH_OUTPUT int(11) From OUTPUTS.NUMBER
SWITCH_DELAY int(10) unsigned

View File

@ -7,5 +7,5 @@ FIELD NAME TYPE REMARKS
ID int(11) Primary Key, Not Null, Unique
Auto-Increment
DROPBOX_ID int(11) From DROPBOXES.ID
FILE_PATH char(255)
FILE_PATH varchar(191)
FILE_DATETIME datetime

View File

@ -8,4 +8,4 @@ FIELD NAME TYPE REMARKS
ID int(11) Primary Key, Not Null, Unique
Auto-Increment
DROPBOX_ID int(11) From DROPBOXES.ID
SCHED_CODE char(11)
SCHED_CODE varchar(11)

View File

@ -6,9 +6,9 @@ FIELD NAME TYPE REMARKS
-------------------------------------------------------------------------
ID int(11) Primary Key, Not Null, Unique
Auto-Increment
STATION_NAME char(64) From STATIONS.NAME
GROUP_NAME char(10) From GROUPS.NAME
PATH char(255)
STATION_NAME varchar(64) From STATIONS.NAME
GROUP_NAME varchar(10) From GROUPS.NAME
PATH varchar(191)
NORMALIZATION_LEVEL int(11)
AUTOTRIM_LEVEL int(11)
SINGLE_CART enum('N','Y')
@ -20,12 +20,12 @@ USE_CARTCHUNK_ID enum('N','Y')
TITLE_FROM_CARTCHUNK_ID enum('N','Y') Set Rivendell cart title from cartchunk cutid.
DELETE_CUTS enum('N','Y')
DELETE_SOURCE enum('N','Y')
METADATA_PATTERN char(64)
METADATA_PATTERN varchar(64)
STARTDATE_OFFSET int(11)
ENDDATE_OFFSET int(11)
FIX_BROKEN_FORMATS enum('N','Y')
LOG_PATH char(255)
LOG_PATH varchar(191)
IMPORT_CREATE_DATES enum('N','Y')
CREATE_STARTDATE_OFFSET int(11)
CREATE_ENDDATE_OFFSET int(11)
SET_USER_DEFINED char(255)
SET_USER_DEFINED varchar(191)

View File

@ -5,27 +5,27 @@ The ELR_LINES table hold information for electronic log reconciliation.
FIELD NAME TYPE REMARKS
------------------------------------------------------------------------
ID int(10) unsigned Primary key, auto-increment
SERVICE_NAME char(10) From SERVICES.NAME
SERVICE_NAME varchar(10) From SERVICES.NAME
LENGTH int(11) signed
LOG_NAME char(64) From LOGS.NAME
LOG_NAME varchar(64) From LOGS.NAME
LOG_ID int(11) signed From *_LOG.ID
CART_NUMBER int(10) unsigned From CART.NUMBER
CUT_NUMBER int(11)
TITLE char(255) From CART.TITLE
ARTIST char(255) From CART.ARTIST
PUBLISHER char(64) From CART.PUBLISHER
COMPOSER char(64) From CART.COMPOSER
ALBUM char(255) From CART.ALBUM
LABEL char(64) From CART.LABEL
CONDUCTOR char(64) From CART.CONDUCTOR
USER_DEFINED char(255) From CART.USER_DEFINED
SONG_ID char(32) From CART.SONG_ID
TITLE varchar(191) From CART.TITLE
ARTIST varchar(191) From CART.ARTIST
PUBLISHER varchar(64) From CART.PUBLISHER
COMPOSER varchar(64) From CART.COMPOSER
ALBUM varchar(191) From CART.ALBUM
LABEL varchar(64) From CART.LABEL
CONDUCTOR varchar(64) From CART.CONDUCTOR
USER_DEFINED varchar(191) From CART.USER_DEFINED
SONG_ID varchar(32) From CART.SONG_ID
USAGE_CODE int From CART.USAGE_CODE
DESCRIPTION char(64) From CUTS.DESCRIPTION
OUTCUE char(64) From CUTS.OUTCUE
ISRC char(12) From CUTS.ISRC
ISCI char(32) From CUTS.ISCI
STATION_NAME char(64) From STATIONS.NAME
DESCRIPTION varchar(64) From CUTS.DESCRIPTION
OUTCUE varchar(64) From CUTS.OUTCUE
ISRC varchar(12) From CUTS.ISRC
ISCI varchar(32) From CUTS.ISCI
STATION_NAME varchar(64) From STATIONS.NAME
EVENT_DATETIME datetime
SCHEDULED_TIME time From *_LOG.START_TIME
EVENT_TYPE int(11) 1=Start, 2=Stop
@ -36,7 +36,7 @@ START_SOURCE int(11) 0=Unknown
ONAIR_FLAG enum('N','Y')
EXT_START_TIME time Scheduler Start Time
EXT_LENGTH int(11) Scheduler Length
EXT_CART_NAME char(32) Scheduler Cart Name
EXT_DATA char(32) Scheduler Data
EXT_EVENT_ID char(8) Scheduler Event ID
EXT_ANNC_TYPE char(8) External Scheduler Announcement Type
EXT_CART_NAME varchar(32) Scheduler Cart Name
EXT_DATA varchar(32) Scheduler Data
EXT_EVENT_ID varchar(8) Scheduler Event ID
EXT_ANNC_TYPE varchar(8) External Scheduler Announcement Type

View File

@ -1,13 +1,12 @@
ENCODERS Table Layout for Rivendell
The EVENTS table holds data concerning each custom encoder format
on the system. Following is the layout of a record in the ENCODERS
table:
on the system.
FIELD NAME TYPE REMARKS
-------------------------------------------------------------------
ID int(11)
NAME char(32)
STATION_NAME char(64) From STATIONS.NAME
COMMAND_LINE char(255)
DEFAULT_EXTENSION char(16)
NAME varchar(32)
STATION_NAME varchar(64) From STATIONS.NAME
COMMAND_LINE varchar(255)
DEFAULT_EXTENSION varchar(16)

View File

@ -6,11 +6,11 @@ post-import events.
FIELD NAME TYPE REMARKS
------------------------------------------------------------------------
ID int(11) signed Primary key, auto-increment
EVENT_NAME char(64) From EVENT.NAME
EVENT_NAME varchar(64) From EVENT.NAME
TYPE int(11) signed 0=PreImport, 1=PostImport
COUNT int(11) signed Order of records
EVENT_TYPE int(11) signed 0=Cart, 1=Marker, 2=OpenBracket,
3=CloseBracket, 4=Link
CART_NUMBER int(10) unsigned From CART.NUMBER
TRANS_TYPE int(11) signed 0 = Play, 1 = Stop, 2 = Segue
MARKER_COMMENT char(255)
MARKER_COMMENT varchar(191)

View File

@ -0,0 +1,11 @@
EVENT_PERMS Table Layout for Rivendell
The EVENT_PERMS table holds data concerning which rdlogmanager(1)
events are associated with which services.
FIELD NAME TYPE REMARKS
---------------------------------------------------------------
ID int(10) unsigned Primary key, auto increment
EVENT_NAME varchar(64) From EVENTS.NAME
SERIVCE_NAME varchar(10) From SERVICES.NAME

31
docs/tables/events.txt Normal file
View File

@ -0,0 +1,31 @@
EVENTS Table Layout for Rivendell
The EVENTS table holds data defining each event in rdlogmanager(1).
FIELD NAME TYPE REMARKS
------------------------------------------------------------------------
NAME varchar(64) Primary key
PROPERTIES varchar(64)
DISPLAY_TEXT varchar(64)
NOTE_TEXT varchar(191)
PREPOSITION int(11)
TIME_TYPE int(11)
GRACE_TIME int(11)
POST_POINT enum('N','Y')
USE_AUTOFILL enum('N','Y')
AUTOFILL_SLOP int(11)
USE_TIMESCALE enum('N','Y')
IMPORT_SOURCE int(11)
START_SLOP int(11)
END_SLOP int(11)
FIRST_TRANS_TYPE int(11)
DEFAULT_TRANS_TYPE int(11)
COLOR varchar(7)
SCHED_GROUP varchar(10)
TITLE_SEP int(10) unsigned
HAVE_CODE varchar(10)
HAVE_CODE2 varchar(10)
HOR_SEP int(10) unsigned
HOR_DIST int(10) unsigned
NESTED_EVENT varchar(64)
REMARKS text

View File

@ -1,13 +1,12 @@
EXTENDED_PANEL_NAMES Table Layout for Rivendell
The EXTENDED_PANEL_NAMES table holds configuration data for the names of the
extended SoundPanels in Rivendell. Following is the layout of a record in the
EXTENDED_PANEL_NAMES table:
extended SoundPanels in Rivendell.
FIELD NAME TYPE REMARKS
------------------------------------------------------------------------------
ID int(10) unsigned * Primary key, Auto Increment
TYPE int(11) 0=Station Panel, 1=User Panel
OWNER char(64)
OWNER varchar(64)
PANEL_NO int(11)
NAME char(64)
NAME varchar(64)

View File

@ -0,0 +1,16 @@
EXTENDED_PANELS Table Layout for Rivendell
The EXTENDED_PANELS table holds configuration data for the
extended SoundPanels in Rivendell.
FIELD NAME TYPE REMARKS
------------------------------------------------------------------------------
ID int(10) unsigned * Primary key, Auto Increment
TYPE int(11) 0=Station Panel, 1=User Panel
OWNER varchar(64)
PANEL_NO int(11)
ROW_NO int(11)
COLUMN_NO int(11)
LABEL varchar(64)
CART int(11)
DEFAULT_COLOR varchar(7)

View File

@ -1,12 +1,11 @@
FEED_PERMS Table Layout for Rivendell
The FEED_PERMS table holds data concerning which RSS feeds are
are allowed to be accessed by which users. Following is the layout
of a record in the FEED_PERMS table:
are allowed to be accessed by which users.
FIELD NAME TYPE REMARKS
---------------------------------------------------------------
ID int(10) unsigned Primary key, auto increment
USER_NAME char(255) From USERS.LOGIN_NAME
KEY_NAME char(8) From FEEDS.KEYNAME
USER_NAME varchar(191) From USERS.LOGIN_NAME
KEY_NAME varchar(8) From FEEDS.KEYNAME

38
docs/tables/feeds.txt Normal file
View File

@ -0,0 +1,38 @@
FEEDS Table Layout for Rivendell
The FEEDS table holds data concerning which defines RSS feeds.
FIELD NAME TYPE REMARKS
---------------------------------------------------------------
ID int(10) unsigned Primary key, auto increment
KEY_NAME varchar(8) Unique
CHANNEL_TITLE varchar(191)
CHANNEL_DESCRIPTION text
CHANNEL_CATEGORY varchar(64)
CHANNEL_LINK varchar(191)
CHANNEL_COPYRIGHT varchar(64)
CHANNEL_WEBMASTER varchar(64)
CHANNEL_LANGUAGE varchar(5)
BASE_URL varchar(191)
BASE_PREAMBLE varchar(191)
PURGE_URL varchar(191)
PURGE_USERNAME varchar(64)
PURGE_PASSWORD varchar(64)
HEADER_XML text
CHANNEL_XML text
ITEM_XML text
CAST_ORDER enum('N','Y')
MAX_SHELF_LIFE int(11)
LAST_BUILD_DATETIME datetime
ORIGIN_DATETIME datetime
ENABLE_AUTOPOST enum('N','Y')
KEEP_METADATA enum('N','Y')
UPLOAD_FORMAT int(11)
UPLOAD_CHANNELS int(11)
UPLOAD_SAMPRATE int(11)
UPLOAD_BITRATE int(11)
UPLOAD_QUALITY int(11)
UPLOAD_EXTENSION varchar(16)
NORMALIZE_LEVEL int(11)
REDIRECT_PATH varchar(191)
MEDIA_LINK_MODE int(11)

View File

@ -6,7 +6,7 @@ by the system.
FIELD NAME TYPE REMARKS
------------------------------------------------------------------
ID int(10) unsigned Primary key, auto increment
STATION_NAME char(64) From STATIONS.NAME
STATION_NAME varchar(64) From STATIONS.NAME
MATRIX int(10) unsigned From MATRICES.MATRIX
NUMBER int(11)
TYPE int(11) 0 = GPI, 1 = GPO

View File

@ -1,13 +1,12 @@
GPIS Table Layout for Rivendell
The GPIS table holds data concerning the gpi lines of each
configured switcher device on the system. Following is the layout
of a record in the GPIS table:
configured switcher device on the system.
FIELD NAME TYPE REMARKS
------------------------------------------------------------------
ID int(10) unsigned Primary key, auto increment
STATION_NAME char(64) From STATIONS.NAME
STATION_NAME varchar(64) From STATIONS.NAME
MATRIX int(10) unsigned
NUMBER int(11)
MACRO_CART int(10) unsigned

View File

@ -1,13 +1,12 @@
GPOS Table Layout for Rivendell
The GPOS table holds data concerning the gpo lines of each
configured switcher device on the system. Following is the layout
of a record in the GPOS table:
configured switcher device on the system.
FIELD NAME TYPE REMARKS
------------------------------------------------------------------
ID int(10) unsigned Primary key, auto increment
STATION_NAME char(64) From STATIONS.NAME
STATION_NAME varchar(64) From STATIONS.NAME
MATRIX int(10) unsigned
NUMBER int(11)
MACRO_CART int(10) unsigned

View File

@ -1,22 +1,21 @@
GROUPS Layout for Rivendell
The GROUPS table holds data concerning each Cart Group configured
on the system. Following is the layout of a record in the GROUPS
table:
on the system.
FIELD NAME TYPE REMARKS
---------------------------------------------------------------
NAME char(10) Primary Key
DESCRIPTION char(255)
NAME varchar(10) Primary Key
DESCRIPTION varchar(255)
DEFAULT_CART_TYPE unsigned int(10) 1=Audio, 2=Macro
DEFAULT_LOW_CART unsigned int(10)
DEFAULT_HIGH_CART unsigned int(10)
DEFAULT_CUT_LIFE int(11) Default END_DATETIME interval (days)
CUT_SHELFLIFE int(11) -1=no autopurge
DELETE_EMPTY_CARTS enum('N','Y') After purging cuts
DEFAULT_TITLE char(255)
DEFAULT_TITLE varchar(255)
ENFORCE_CART_RANGE enum('N','Y')
REPORT_TFC enum('N','Y')
REPORT_MUS enum('N','Y')
ENABLE_NOW_NEXT enum('N','Y')
COLOR char(7)
COLOR varchar(7)

12
docs/tables/hostvars.txt Normal file
View File

@ -0,0 +1,12 @@
HOSTVARS Table Layout for Rivendell
The HOSTVARS table holds host variable definitions.
FIELD NAME TYPE REMARKS
---------------------------------------------------------------
ID int(11) Primary key, auto increment
STATION_NAME varchar(64) From STATIONS.NAME
NAME varchar(32)
VARVALUE varchar(191)
REMARK varchar(191)

View File

@ -0,0 +1,32 @@
IMPORT_TEMPLATES Layout for Rivendell
The IMPORT_TEMPLATES table holds pre-defined log importation parameters
for various third-party systems.
FIELD NAME TYPE REMARKS
----------------------------------------------------------------
NAME varchar(64) Primary key
CART_OFFSET int(11)
CART_LENGTH int(11)
TITLE_OFFSET int(11)
TITLE_LENGTH int(11)
HOURS_OFFSET int(11)
HOURS_LENGTH int(11)
MINUTES_OFFSET int(11)
MINUTES_LENGTH int(11)
SECONDS_OFFSET int(11)
SECONDS_LENGTH int(11)
LEN_HOURS_OFFSET int(11)
LEN_HOURS_LENGTH int(11)
LEN_MINUTES_OFFSET int(11)
LEN_MINUTES_LENGTH int(11)
LEN_SECONDS_OFFSET int(11)
LEN_SECONDS_LENGTH int(11)
LENGTH_OFFSET int(11)
LENGTH_LENGTH int(11)
DATA_OFFSET int(11)
DATA_LENGTH int(11)
EVENT_ID_OFFSET int(11)
EVENT_ID_LENGTH int(11)
ANNC_TYPE_OFFSET int(11)
ANNC_TYPE_LENGTH int(11)

View File

@ -6,22 +6,22 @@ importation.
FIELD NAME TYPE REMARKS
----------------------------------------------------------------
ID int(10) unsigned Primary key, auto increment
STATION_NAME char(64) From STATIONS.NAME
STATION_NAME varchar(64) From STATIONS.NAME
PROCESS_ID int unsigned
LINE_ID int(10) unsigned
START_HOUR int (11) signed
START_SECS int(11) signed
CART_NUMBER int (10) unsigned
TITLE char(255)
TITLE varchar(191)
LENGTH int (11) signed
INSERT_BREAK enum('N','Y')
INSERT_TRACK enum('N','Y')
INSERT_FIRST int (10) unsigned
TRACK_STRING char(255)
EXT_DATA char(32)
EXT_EVENT_ID char(32)
EXT_ANNC_TYPE char(8)
EXT_CART_NAME char(32)
TRACK_STRING varchar(191)
EXT_DATA varchar(32)
EXT_EVENT_ID varchar(32)
EXT_ANNC_TYPE varchar(8)
EXT_CART_NAME varchar(32)
LINK_START_TIME time
LINK_LENGTH int (11) signed
EVENT_USED enum('N','Y')

19
docs/tables/inputs.txt Normal file
View File

@ -0,0 +1,19 @@
INPUTS Table Layout for Rivendell
The INPUTS table holds information regarding switcher inputs.
FIELD NAME TYPE REMARKS
---------------------------------------------------------------
ID int(11) Primary key, auto increment
STATION_NAME varchar(64) From STATIONS.NAME
MATRIX int(11)
NUMBER int(11)
NAME varchar(64)
FEED_NAME varchar(8)
CHANNEL_MODE int(11)
ENGINE_NUM int(11)
DEVICE_NUM int(11)
NODE_HOSTNAME varchar(191)
NODE_TCP_PORT int(11)
NODE_SLOT int(11)

View File

@ -9,11 +9,11 @@ FIELD NAME TYPE REMARKS
------------------------------------------------------------------
ID int(10) unsigned Primary key, auto increment
CART_NUMBER int(10) unsigned
ISCI char(32)
FILENAME char(64)
ISCI varchar(32)
FILENAME varchar(64)
LATEST_DATE date
TYPE char(1)
ADVERTISER_NAME char(30)
PRODUCT_NAME char(35)
CREATIVE_TITLE char(30)
REGION_NAME char(80)
TYPE varchar(1)
ADVERTISER_NAME varchar(30)
PRODUCT_NAME varchar(35)
CREATIVE_TITLE varchar(30)
REGION_NAME varchar(80)

View File

@ -6,6 +6,6 @@ when starting the rivendell daemons.
FIELD NAME TYPE REMARKS
-------------------------------------------------------------------------
ID int unsigned(10) Primary Key
STATION_NAME char(64) From STATIONS.NAME
DESCRIPTION char(64)
COMMAND_LINE char(255)
STATION_NAME varchar(64) From STATIONS.NAME
DESCRIPTION varchar(64)
COMMAND_LINE varchar(255)

View File

@ -7,8 +7,8 @@ Each slot consist of five Rivendell GPIO lines.
FIELD NAME TYPE REMARKS
------------------------------------------------------------------------
ID int(11) signed Primary key, auto-increment
STATION_NAME char(64) From STATIONS.NAME
STATION_NAME varchar(64) From STATIONS.NAME
MATRIX int(11) From MATRICES.MATRIX
SLOT int(11)
IP_ADDRESS char(15)
IP_ADDRESS varchar(15)
SOURCE_NUMBER int(11)

View File

@ -5,7 +5,7 @@ The LOG_LINES table holds the per-line data for all Rivendell logs.
FIELD NAME TYPE REMARKS
------------------------------------------------------------------------
ID int(11) signed Primary key, auto-increment
LOG_NAME char(64) From LOGS.NAME
LOG_NAME varchar(64) From LOGS.NAME
COUNT int(11) signed Order of records
TYPE int(11) signed 0=Cart, 1=Marker, 2=OpenBracket,
3=CloseBracket, 4=Link
@ -26,12 +26,12 @@ FADEDOWN_GAIN int(11) signed
SEGUE_START_POINT int(11) signed Overloads CUTS.SEGUE_START_POINT
SEGUE_END_POINT int(11) signed Overloads CUTS.SEGUE_END_POINT
SEGUE_GAIN int(11) signed
COMMENT char(255)
LABEL char(64)
ORIGIN_USER char(255) From USERS.LOGIN_NAME
COMMENT varchar(255)
LABEL varchar(64)
ORIGIN_USER varchar(255) From USERS.LOGIN_NAME
ORIGIN_DATETIME datetime
EVENT_LENGTH int(11) Length of parent RDLogManager event
LINK_EVENT_NAME char(64)
LINK_EVENT_NAME varchar(64)
LINK_START_TIME int(11) Milliseconds after 00:00:00
LINK_LENGTH int(11)
LINK_START_SLOP int(11)
@ -40,7 +40,7 @@ LINK_ID int(11)
LINK_EMBEDDED enum('N','Y')
EXT_START_TIME time External Scheduler Start Time
EXT_LENGTH int(11) External Scheduler Event Length
EXT_CART_NAME char(32) External Scheduler Cart Name
EXT_DATA char(32) External Scheduler Data
EXT_EVENT_ID char(8) External Scheduler Event ID
EXT_ANNC_TYPE char(8) External Scheduler Announcement Type
EXT_CART_NAME varchar(32) External Scheduler Cart Name
EXT_DATA varchar(32) External Scheduler Data
EXT_EVENT_ID varchar(8) External Scheduler Event ID
EXT_ANNC_TYPE varchar(8) External Scheduler Announcement Type

View File

@ -6,21 +6,21 @@ channels assignments and related information.
FIELD NAME TYPE REMARKS
------------------------------------------------------------------------------
ID int(10) unsigned * Primary key, Auto Increment
STATION_NAME char(64) From STATIONS.NAME
STATION_NAME varchar(64) From STATIONS.NAME
MACHINE int(11) 1 = RDAirPlay Main Log
2 = RDAirPlay Aux Log 1
3 = RDAirPlay Aux Log 2
101..124 = RDVAirPlay Log Machines
START_MODE int(11)
AUTO_RESTART enum('N','Y')
LOG_NAME char(64)
CURRENT_LOG char(64)
LOG_NAME varchar(64)
CURRENT_LOG varchar(64)
RUNNING enum('N','Y')
LOG_ID int(11)
LOG_LINE int(11)
NOW_CART int(10) unsigned
NEXT_CART int(10) unsigned
UDP_ADDR char(255)
UDP_ADDR varchar(255)
UDP_PORT int(10) unsigned
UDP_STRING char(255)
LOG_RML char(255)
UDP_STRING varchar(255)
LOG_RML varchar(255)

View File

@ -6,7 +6,7 @@ RDAirPlay.
FIELD NAME TYPE REMARKS
------------------------------------------------------------------------------
ID int(10) unsigned * Primary key, Auto Increment
STATION_NAME char(64) From STATIONS.NAME
STATION_NAME varchar(64) From STATIONS.NAME
MACHINE int(10) unsigned 0=Main Log, 1=AuxLog 1, 2=AuxLog
START_MODE int(11) 0=Previous, 1=LiveAssist, 2=Automatic,
3=Manual

View File

@ -6,12 +6,12 @@ table:
FIELD NAME TYPE REMARKS
-------------------------------------------------------------------
NAME char(64)
NAME varchar(64)
LOG_EXISTS enum('N','Y')
TYPE int(11) 0=Log, 1=Event, 2=Clock, 3=Grid
SERVICE char(10) From SERVICES.NAME
DESCRIPTION char(64)
ORIGIN_USER char(255) From USERS.LOGIN_NAME
SERVICE varchar(10) From SERVICES.NAME
DESCRIPTION varchar(64)
ORIGIN_USER varchar(191) From USERS.LOGIN_NAME
ORIGIN_DATETIME datetime
LINK_DATETIME datetime
MODIFIED_DATETIME datetime
@ -27,8 +27,8 @@ MUSIC_LINKED enum('N','Y')
TRAFFIC_LINKS int
TRAFFIC_LINKED enum('N','Y')
NEXT_ID int(11)
LOCK_USER_NAME char(255) From USER.LOGIN_NAME
LOCK_STATION_NAME char(64) From STATIONS.NAME
LOCK_IPV4_ADDRESS char(16)
LOCK_USER_NAME varchar(191) From USER.LOGIN_NAME
LOCK_STATION_NAME varchar(64) From STATIONS.NAME
LOCK_IPV4_ADDRESS varchar(16)
LOCK_DATETIME datetime
LOCK_GUID char(82)
LOCK_GUID varchar(82)

36
docs/tables/matrices.txt Normal file
View File

@ -0,0 +1,36 @@
MATRICES Table Layout for Rivendell
The MATRICES table holds data that defines a switcher device.
FIELD NAME TYPE REMARKS
-------------------------------------------------------------------
ID int(11) Primary key, auto_increment
STATION_NAME varchar(64) From STATIONS.NAME
NAME varchar(64)
MATRIX int(11)
TYPE int(11)
LAYER int(11)
PORT_TYPE int(11)
PORT_TYPE_2 int(11)
CARD int(11)
PORT int(11)
PORT_2 int(11)
IP_ADDRESS varchar(16)
IP_ADDRESS_2 varchar(16)
IP_PORT int(11)
IP_PORT_2 int(11)
USERNAME varchar(32)
USERNAME_2 varchar(32)
PASSWORD varchar(32)
PASSWORD_2 varchar(32)
START_CART int(10) unsigned
STOP_CART int(10) unsigned
START_CART_2 int(10) unsigned
STOP_CART_2 int(10) unsigned
GPIO_DEVICE varchar(191)
INPUTS int(11)
OUTPUTS int(11)
GPIS int(11)
GPOS int(11)
FADERS int(11)
DISPLAYS int(11)

View File

@ -1,13 +1,12 @@
NOWNEXT_PLUGINS Table Layout for Rivendell
The NOWNEXT_PLUGINS table holds data concerning each Now & Next
plugins configured on the system. Following is the layout
of a record in the NOWNEXT_PLUGINS table:
plugins configured on the system.
FIELD NAME TYPE REMARKS
------------------------------------------------------------------
ID int(10) unsigned Primary key, auto increment
STATION_NAME char(64) From STATIONS.NAME
STATION_NAME varchar(64) From STATIONS.NAME
LOG_MACHINE int(10) unsigned 0=Main, 1=Aux1, 2=Aux2
PLUGIN_PATH char(255)
PLUGIN_ARG char(255)
PLUGIN_PATH varchar(191)
PLUGIN_ARG varchar(191)

17
docs/tables/outputs.txt Normal file
View File

@ -0,0 +1,17 @@
OUTPUTS Table Layout for Rivendell
The OUTPUTS table holds information regarding switchs outputs.
FIELD NAME TYPE REMARKS
---------------------------------------------------------------
ID int(11) Primary key, auto increment
STATION_NAME varchar(64) From STATIONS.NAME
MATRIX int(11)
NUMBER int(11)
NAME varchar(64)
ENGINE_NUM int(11)
DEVICE_NUM int(11)
NODE_HOSTNAME varchar(191)
NODE_TCP_PORT int(11)
NODE_SLOT int(11)

View File

@ -1,13 +1,12 @@
PANEL_NAMES Table Layout for Rivendell
The PANEL_NAMES table holds configuration data for the names of the
SoundPanels in Rivendell. Following is the layout of a record in the
PANEL_NAMES table:
SoundPanels in Rivendell.
FIELD NAME TYPE REMARKS
------------------------------------------------------------------------------
ID int(10) unsigned * Primary key, Auto Increment
TYPE int(11) 0=Station Panel, 1=User Panel
OWNER char(64)
OWNER varchar(64)
PANEL_NO int(11)
NAME char(64)
NAME varchar(64)

View File

@ -1,17 +1,17 @@
PANELS Table Layout for Rivendell
The PANELS table holds configuration data for all the SoundPanels in
Rivendell. Following is the layout of a record in the PANELS table:
Rivendell.
FIELD NAME TYPE REMARKS
------------------------------------------------------------------------------
ID int(10) unsigned * Primary key, Auto Increment
TYPE int(11) 0=Station Panel, 1=User Panel
OWNER char(64)
OWNER varchar(64)
PANEL_NO int(11)
ROW_NO int(11)
COLUMN_NO int(11)
LABEL char(64)
LABEL varchar(64)
CART int(11)
DEFAULT_COLOR char(7) Background color, in hex format
DEFAULT_COLOR varchar(7) Background color, in hex format
"#RRGGBB".

23
docs/tables/podcasts.txt Normal file
View File

@ -0,0 +1,23 @@
PODCASTS Table Layout for Rivendell
The PODCASTS table holds information about individual RSS posts.
FIELD NAME TYPE REMARKS
------------------------------------------------------------------------------
ID int(10) unsigned * Primary key, Auto Increment
FEED_ID int(10) unsigned From FEEDS.ID
STATUS int(10) unsigned
ITEM_TITLE varchar(191)
ITEM_DESCRIPTION text
ITEM_CATEGORY varchar(64)
ITEM_LINK varchar(191)
ITEM_COMMENTS varchar(191)
ITEM_AUTHOR varchar(191)
ITEM_SOURCE_TEXT varchar(64)
ITEM_SOURCE_URL varchar(191)
AUDIO_FILENAME varchar(191)
AUDIO_LENGTH int(10) unsigned
AUDIO_TIME int(10) unsigned
SHELF_LIFE int(11)
ORIGIN_DATETIME datetime
EFFECTIVE_DATETIME datetime

View File

@ -1,7 +1,6 @@
RDAIRPLAY Table Layout for Rivendell
The RDAIRPLAY table holds configuration data for the RDAirPlay widget.
Following is the layout of a record in the RDAIRPLAY table:
FIELD NAME TYPE REMARKS
------------------------------------------------------------------------------
@ -21,17 +20,17 @@ DEFAULT_TRANS_TYPE int(11)
BAR_ACTION int(10) unsigned 0=None, 1=Start Next
FLASH_PANEL enum('N','Y')
PANEL_PAUSE_ENABLED enum('N','Y')
BUTTON_LABEL_TEMPLATE char(32)
BUTTON_LABEL_TEMPLATE varchar(32)
PAUSE_ENABLED enum('N','Y')
DEFAULT_SERVICE char(10) From SERVICES.NAME
DEFAULT_SERVICE varchar(10) From SERVICES.NAME
HOUR_SELECTOR_ENABLED enum('N','Y')
EXIT_CODE int(11) 0=clean, 1=dirty
VIRTUAL_EXIT_CODE int(11) 0=clean, 1=dirty
EXIT_PASSWORD char(41)
SKIN_PATH char(255)
EXIT_PASSWORD varchar(41)
SKIN_PATH varchar(191)
SHOW_COUNTERS enum('N','Y')
AUDITION_PREROLL int(11)
TITLE_TEMPLATE char(64)
ARTIST_TEMPLATE char(64)
OUTCUE_TEMPLATE char(64)
DESCRIPTION_TEMPLATE char(64)
TITLE_TEMPLATE varchar(64)
ARTIST_TEMPLATE varchar(64)
OUTCUE_TEMPLATE varchar(64)
DESCRIPTION_TEMPLATE varchar(64)

View File

@ -6,5 +6,5 @@ RDCatch module. Following is the layout of a record in the RDAIRPLAY table:
FIELD NAME TYPE REMARKS
------------------------------------------------------------------------------
ID int(10) unsigned * Primary key, Auto Increment
STATION char(64) Workstation, Indexed
ERROR_RML char(255)
STATION varchar(64) Workstation, Indexed
ERROR_RML varchar(191)

View File

@ -5,7 +5,7 @@ The RDLIBRARY table holds configuration data for the RDLibrary widget.
FIELD NAME TYPE REMARKS
------------------------------------------------------------------------------
ID int(10) unsigned * Primary key, Auto Increment
STATION char(40) Workstation, Indexed
STATION varchar(64) From STATIONS.NAME
INSTANCE int(10) unsigned
INPUT_CARD int(11) None=-1
INPUT_TYPE enum('A','D')
@ -21,10 +21,10 @@ DEFAULT_RECORD_MODE int(10) unsigned 0 = Manual, 1 = VOX
DEFAULT_TRIM_STATE enum('Y','N')
MAXLENGTH int(11) Max record length, in sec
TAIL_PREROLL int(10) unsigned
RIPPER_DEVICE char(64)
RIPPER_DEVICE varchar(64)
PARANOIA_LEVEL int(11)
RIPPER_LEVEL int(11)
CDDB_SERVER char(64)
CDDB_SERVER varchar(64)
READ_ISRC enum('N','Y')
ENABLE_EDITOR enum('N','Y')
SRC_CONVERTER int(11)

View File

@ -1,12 +1,11 @@
RDLOGEDIT Table Layout for Rivendell
The RDLOGEDIT table holds configuration data for the RDLogEdit widget.
Following is the layout of a record in the RDLOGEDIT table:
FIELD NAME TYPE REMARKS
------------------------------------------------------------------------------
ID int(10) unsigned * Primary key, Auto Increment
STATION char(64) Workstation, Indexed
STATION varchar(64) From STATIONS.NAME
INPUT_CARD int(11) None=-1
OUTPUT_CARD int(11) None=-1
OUTPUT_PORT int(11)

View File

@ -6,7 +6,7 @@ channels assignments and related information.
FIELD NAME TYPE REMARKS
------------------------------------------------------------------------------
ID int(10) unsigned * Primary key, Auto Increment
STATION_NAME char(64) From STATIONS.NAME
STATION_NAME varchar(64) From STATIONS.NAME
INSTANCE int(10) unsigned 0 = Main Log Output 1
1 = Main Log Output 2
2 = Sound Panel Output 1
@ -19,8 +19,8 @@ INSTANCE int(10) unsigned 0 = Main Log Output 1
9 = Sound Panel Output 5
CARD int(11)
PORT int(11)
START_RML char(255)
STOP_RML char(255)
START_RML varchar(191)
STOP_RML varchar(191)
GPIO_TYPE int unsigned 0 = Edge, 1 = Level
START_GPI_MATRIX int(11)
START_GPI_LINE int(11)

12
docs/tables/rdhotkeys.txt Normal file
View File

@ -0,0 +1,12 @@
RDHOTKEYS Table Layout for Rivendell
The RDHOTKEYS table holds key mappings.
FIELD NAME TYPE REMARKS
------------------------------------------------------------------------------
ID int(10) unsigned * Primary key, Auto Increment
STATION_NAME varchar(64) From STATIONS.NAME
MODULE_NAME varchar(64)
KEY_ID int(11)
KEY_VALUE varchar(64)
KEY_LABEL varchar(64)

16
docs/tables/rdpanel.txt Normal file
View File

@ -0,0 +1,16 @@
RDPANEL Table Layout for Rivendell
The RDPANEL table holds configuration data for the RDCatch module.
FIELD NAME TYPE REMARKS
--------------------------------------------------------------------------------
ID int(11) * Primary key, Auto Increment
STATION varchar(64) From STATIONS.NAME
STATION_PANELS int(11)
USER_PANELS int(11)
CLEAR_FILTER enum('N','Y')
FLASH_PANEL enum('N','Y')
PANEL_PAUSE_ENABLED enum('N','Y')
BUTTON_LABEL_TEMPLATE varchar(32)
DEFAULT_SERVICE varchar(10)
SKIN_PATH varchar(191)

View File

@ -6,7 +6,7 @@ channels assignments and related information.
FIELD NAME TYPE REMARKS
------------------------------------------------------------------------------
ID int(10) unsigned * Primary key, Auto Increment
STATION_NAME char(64) From STATIONS.NAME
STATION_NAME varchar(64) From STATIONS.NAME
INSTANCE int(10) unsigned 0 = Main Log Output 1 (Not Used)
1 = Main Log Output 2 (Not Used)
2 = Sound Panel Output 1
@ -19,8 +19,8 @@ INSTANCE int(10) unsigned 0 = Main Log Output 1 (Not Used)
9 = Sound Panel Output 5
CARD int(11)
PORT int(11)
START_RML char(255)
STOP_RML char(255)
START_RML varchar(255)
STOP_RML varchar(255)
GPIO_TYPE int unsigned 0 = Edge, 1 = Level
START_GPI_MATRIX int(11)
START_GPI_LINE int(11)

View File

@ -11,9 +11,9 @@ IS_ACTIVE enum('N','Y')
TYPE int(11) 0=Recording,1=Macro Event,
2=Switch Event,3=Playout,
4=Download,5=Upload
STATION_NAME char(64) From STATIONS.NAME
STATION_NAME varchar(64) From STATIONS.NAME
CHANNEL int(10) unsigned
CUT_NAME char(12) From CUTS.CUT_NAME
CUT_NAME varchar(12) From CUTS.CUT_NAME
SUN enum('N','Y')
MON enum('N','Y')
TUE enum('N','Y')
@ -21,7 +21,7 @@ WED enum('N','Y')
THU enum('N','Y')
FRI enum('N','Y')
SAT enum('N','Y')
DESCRIPTION char(64) Remarks
DESCRIPTION varchar(64) Remarks
START_TYPE int(10) 0=Hard Timed,1=GPI
START_TIME time
@ -57,8 +57,8 @@ EXIT_CODE int(11) 0 = Ok, 1 = Short Length,
2 = Low Level, 3 = High Level
EXIT_TEXT text
ONE_SHOT enum ('N','Y')
URL char(255)
URL_USERNAME char(64)
URL_PASSWORD char(64)
URL varchar(255)
URL_USERNAME varchar(64)
URL_PASSWORD varchar(64)
ENABLE_METADATA enum('N','Y')
FEED_ID int From FEEDS.ID

View File

@ -7,8 +7,8 @@ FIELD NAME TYPE REMARKS
------------------------------------------------------------------
ID int(10) unsigned auto_increment, not null
primary key
REPLICATOR_NAME char(32) from REPLICATORS.NAME
REPLICATOR_NAME varchar(32) from REPLICATORS.NAME
CART_NUMBER int(10) unsigned from CART.NUMBER
POSTED_FILENAME char(255)
POSTED_FILENAME varchar(191)
ITEM_DATETIME datetime
REPOST enum('N','Y')

View File

@ -7,6 +7,6 @@ FIELD NAME TYPE REMARKS
------------------------------------------------------------------
ID int(10) unsigned auto_increment, not null
primary key
REPLICATOR_NAME char(32) from REPLICATORS.NAME
CUT_NAME char(12) from CUTS.CUT_NAME
REPLICATOR_NAME varchar(32) from REPLICATORS.NAME
CUT_NAME varchar(12) from CUTS.CUT_NAME
ITEM_DATETIME datetime

View File

@ -5,17 +5,17 @@ configuration on the system.
FIELD NAME TYPE REMARKS
------------------------------------------------------------------
NAME char(32) not null, primary key
DESCRIPTION char(64)
NAME varchar(32) not null, primary key
DESCRIPTION varchar(64)
TYPE_ID int(10) unsigned not null
STATION_NAME char(64) from STATIONS.NAME
STATION_NAME varchar(64) from STATIONS.NAME
FORMAT int(10) unsigned
CHANNELS int(10) unsigned
SAMPRATE int(10) unsigned
BITRATE int(10) unsigned
QUALITY int(10) unsigned
URL char(255)
URL_USERNAME char(64)
URL_PASSWORD char(64)
URL varchar(255)
URL_USERNAME varchar(64)
URL_PASSWORD varchar(64)
ENABLE_METADATA enum('N','Y')
NORMALIZATION_LEVEL int(11) signed

View File

@ -0,0 +1,10 @@
REPORT_GROUPS Table Layout for Rivendell
The REPORT_GROUPS table holds data which groups are referenced by
a given report configuration.
FIELD NAME TYPE REMARKS
---------------------------------------------------------------
ID int(10) unsigned Primary Key
REPORT_NAME varchar(64)
GROUP_NAME varchar(10)

View File

@ -0,0 +1,10 @@
REPORT_SERVICES Table Layout for Rivendell
The REPORT_SERVICES table holds data which services are referenced by
a given report configuration.
FIELD NAME TYPE REMARKS
---------------------------------------------------------------
ID int(10) unsigned Primary Key
REPORT_NAME varchar(64)
SERVICE_NAME varchar(10)

View File

@ -0,0 +1,10 @@
REPORT_STATIONS Table Layout for Rivendell
The REPORT_STATIONS table holds data which hosts are referenced by
a given report configuration.
FIELD NAME TYPE REMARKS
---------------------------------------------------------------
ID int(10) unsigned Primary Key
REPORT_NAME varchar(64)
STATION_NAME varchar(64)

View File

@ -5,24 +5,24 @@ The REPORTS table holds data concerning each report configured on the system.
FIELD NAME TYPE REMARKS
---------------------------------------------------------------
ID int(10) unsigned Primary Key
NAME char(64)
DESCRIPTION char(64)
NAME varchar(64)
DESCRIPTION varchar(64)
EXPORT_FILTER int(11)
EXPORT_PATH char(255)
EXPORT_PATH varchar(191)
POST_EXPORT_CMD text
WIN_EXPORT_PATH char(255)
WIN_EXPORT_PATH varchar(191)
WIN_POST_EXPORT_CMD text
EXPORT_TFC enum('N','Y')
EXPORT_MUS enum('N','Y')
FORCE_MUS enum('N','Y')
EXPORT_GEN enum('N','Y')
STATION_ID char(16)
STATION_ID varchar(16)
CART_DIGITS int(10) unsigned
USE_LEADING_ZEROS enum('N','Y')
LINES_PER_PAGE int(11)
SERVICE_NAME char(64)
SERVICE_NAME varchar(64)
STATION_TYPE int(11)
STATION_FORMAT char(64)
STATION_FORMAT varchar(64)
FILTER_ONAIR_FLAG enum('N','Y')
FILTER_GROUPS enum('N','Y')
START_TIME time

View File

@ -7,6 +7,6 @@ to a given hour on a service's grid.
FIELD NAME TYPE REMARKS
---------------------------------------------------------------
ID int(11) signed Primary Key
SERVICE_NAME char(10) From SERVICES.NAME
SERVICE_NAME varchar(10) From SERVICES.NAME
HOUR int(11) signed
CLOCK_NAME char(64) From CLOCKS.NAME
CLOCK_NAME varchar(64) From CLOCKS.NAME

View File

@ -0,0 +1,11 @@
SERVICE_PERMS Table Layout for Rivendell
The SERVICE_PERMS table holds data concerning which is permitted
to run which service.
FIELD NAME TYPE REMARKS
---------------------------------------------------------------
ID int(10) unsigned Primary Key
STATION_NAME varchar(64) From CLOCKS.NAME
SERVICE_NAME varchar(10) From SERVICES.NAME

View File

@ -6,25 +6,25 @@ table:
FIELD NAME TYPE REMARKS
---------------------------------------------------------------
NAME char(10) unsigned Primary Key
DESCRIPTION char(255)
NAME_TEMPLATE char(255)
DESCRIPTION_TEMPLATE char(255)
PROGRAM_CODE char(255)
NAME varchar(10) unsigned Primary Key
DESCRIPTION varchar(191)
NAME_TEMPLATE varchar(191)
DESCRIPTION_TEMPLATE varchar(191)
PROGRAM_CODE varchar(191)
CHAIN_LOG enum('N','Y')
TRACK_GROUP char(10) From GROUPS.NAME
AUTOSPOT_GROUP char(10) From GROUPS.NAME
TRACK_GROUP varchar(10) From GROUPS.NAME
AUTOSPOT_GROUP varchar(10) From GROUPS.NAME
AUTO_REFRESH enum('N','Y')
DEFAULT_LOG_SHELFLIFE int(11)
LOG_SHELFLIFE_ORIGIN int(11) 0=Air Date, 1=Log Creation
LOG_SHELFLIFE_ORIGIN int(11) 0=Air Date, 1=Log Creation
ELR_SHELFLIFE int(11)
TFC_PATH char(255)
TFC_PATH varchar(191)
TFC_PREIMPORT_CMD text
TFC_WIN_PATH char(255)
TFC_WIN_PATH varchar(191)
TFC_WIN_PREIMPORT_CMD text
TFC_IMPORT_TEMPLATE char(64) From IMPORT_TEMPLATES.NAME
TFC_LABEL_CART char(32)
TFC_TRACK_CART char(32)
TFC_IMPORT_TEMPLATE varchar(64) From IMPORT_TEMPLATES.NAME
TFC_LABEL_CART varchar(32)
TFC_TRACK_CART varchar(32)
TFC_CART_OFFSET int(11)
TFC_CART_LENGTH int(11)
TFC_TITLE_OFFSET int(11)
@ -35,8 +35,6 @@ TFC_MINUTES_OFFSET int(11)
TFC_MINUTES_LENGTH int(11)
TFC_SECONDS_OFFSET int(11)
TFC_SECONDS_LENGTH int(11)
TFC_LENGTH_OFFSET int(11) RETIRED
TFC_LENGTH_LENGTH int(11) RETIRED
TFC_LEN_HOURS_OFFSET int(11)
TFC_LEN_HOURS_LENGTH int(11)
TFC_LEN_MINUTES_OFFSET int(11)
@ -49,15 +47,15 @@ TFC_EVENT_ID_OFFSET int(11)
TFC_EVENT_ID_LENGTH int(11)
TFC_ANNC_TYPE_OFFSET int(11)
TFC_ANNC_TYPE_LENGTH int(11)
MUS_PATH char(255)
MUS_PATH varchar(191)
MUS_PREIMPORT_CMD text
MUS_WIN_PATH char(255)
MUS_WIN_PATH varchar(191)
MUS_WIN_PREIMPORT_CMD text
MUS_IMPORT_TEMPLATE char(64) From IMPORT_TEMPLATES.NAME
MUS_LABEL_CART char(32)
MUS_TRACK_CART char(32)
MUS_BREAK_STRING char(64)
MUS_TRACK_STRING char(64)
MUS_IMPORT_TEMPLATE varchar(64) From IMPORT_TEMPLATES.NAME
MUS_LABEL_CART varchar(32)
MUS_TRACK_CART varchar(32)
MUS_BREAK_STRING varchar(64)
MUS_TRACK_STRING varchar(64)
MUS_CART_OFFSET int(11)
MUS_CART_LENGTH int(11)
MUS_TITLE_OFFSET int(11)
@ -74,8 +72,6 @@ MUS_LEN_MINUTES_OFFSET int(11)
MUS_LEN_MINUTES_LENGTH int(11)
MUS_LEN_SECONDS_OFFSET int(11)
MUS_LEN_SECONDS_LENGTH int(11)
MUS_LENGTH_OFFSET int(11) RETIRED
MUS_LENGTH_LENGTH int(11) RETIRED
MUS_DATA_OFFSET int(11)
MUS_DATA_LENGTH int(11)
MUS_EVENT_ID_OFFSET int(11)

View File

@ -6,7 +6,7 @@ FIELD NAME TYPE REMARKS
------------------------------------------------------------------------
ID int(10) unsigned Primary key, auto_increment
SCHED_STACK_ID int(10) unsigned
SERVICE_NAME char(10) From SERVICES.NAME
SERVICE_NAME varchar(10) From SERVICES.NAME
CART int(10) unsigned From CART.NUMBER
ARTIST varchar(255) From CART.ARTIST
SCHED_CODES varchar(255)

View File

@ -1,28 +1,27 @@
STATIONS Table Layout for Rivendell
The STATIONS table contains data about each workstation in the system.
Following is the layout of a record in the SERVICES table:
FIELD NAME TYPE REMARKS
---------------------------------------------------------------
NAME char(64) Primary Key
SHORT_NAME char(64)
DESCRIPTION char(64) Indexed
USER_NAME char(255) Current User
DEFAULT_NAME char(255) Default User
IPV4_ADDRESS char(15)
HTTP_STATION char(64) From STATIONS.NAME
CAE_STATION char(64) From STATIONS.NAME
NAME varchar(64) Primary Key
SHORT_NAME varchar(64)
DESCRIPTION varchar(64) Indexed
USER_NAME varchar(255) Current User
DEFAULT_NAME varchar(255) Default User
IPV4_ADDRESS varchar(15)
HTTP_STATION varchar(64) From STATIONS.NAME
CAE_STATION varchar(64) From STATIONS.NAME
TIME_OFFSET int(11)
BROADCAST_SECURITY int(10) unsigned 0=HostSec, 1=UserSec
HEARTBEAT_CART int(10) unsigned
HEARTBEAT_INTERVAL int(10) unsigned
STARTUP_CART int(10) unsigned
EDITOR_PATH char(255)
EDITOR_PATH varchar(255)
FILTER_MODE int(11) 0=Synchronous, 1=Asynchronous
START_JACK enum('Y','N')
JACK_SERVER_NAME char(64)
JACK_COMMAND_LINE char(255)
JACK_SERVER_NAME varchar(64)
JACK_COMMAND_LINE varchar(255)
JACK_PORTS int(11) signed
CUE_CARD int(11) signed
CUE_PORT int(11) signed
@ -41,6 +40,6 @@ HAVE_TWOLAME enum('N','Y')
HAVE_LAME enum('N','Y')
HAVE_MPG321 enum('N','Y')
HAVE_MP4_DECODE enum('N','Y')
HPI_VERSION char(16)
JACK_VERSION char(16)
ALSA_VERSION char(16)
HPI_VERSION varchar(16)
JACK_VERSION varchar(16)
ALSA_VERSION varchar(16)

View File

@ -0,0 +1,15 @@
SWITCHER_NODES Table Layout for Rivendell
The SWITCHER_NODES table holds data on Livewire nodes being used
as switcher devices.
FIELD NAME TYPE REMARKS
------------------------------------------------------------------------
ID int(11) Primary key, auto_increment
STATION_NAME varchar(64)
MATRIX int(11)
BASE_OUTPUT int(11)
HOSTNAME varchar(64)
PASSWORD varchar(64)
TCP_PORT int(11)
DESCRIPTION varchar(191)

View File

@ -1,6 +1,6 @@
SYSTEM Table Layout for Rivendell
The STATIONS table contains system-wide settings.
The SYSTEM table contains system-wide settings.
FIELD NAME TYPE REMARKS
---------------------------------------------------------------
@ -9,7 +9,7 @@ SAMPLE_RATE int(10) unsigned
DUP_CART_TITLE enum('N','Y')
FIX_DUP_CART_TITLES enum('N','Y')
MAX_POST_LENGTH int(10) unsigned
ISCI_XREFERENCE_PATH char(255)
TEMP_CART_GROUP char(10) From 'GROUPS.NAME'
ISCI_XREFERENCE_PATH varchar(191)
TEMP_CART_GROUP varchar(10) From 'GROUPS.NAME'
SHOW_USER_LIST enum('N','Y')
NOTIFICATION_ADDRESS char(15)
NOTIFICATION_ADDRESS varchar(15)

View File

@ -1,12 +1,11 @@
TRIGGERS Table Layout for Rivendell
The TRIGGERS table holds data concerning all triggers on the system.
Following is the layout of a record in the SERVICES table:
FIELD NAME TYPE REMARKS
-------------------------------------------------------------------------
ID int(10) unsigned Primary Key, Autoincrement
CUT_NAME char(12) Indexed
CUT_NAME varchar(12) From CUTS.CUT_NAME
TRIGGER_CODE int(10) unsigned
OFFSET int(10) Location

View File

@ -1,15 +1,15 @@
TTYS Table Layout for Rivendell
The TTYS table holds data concerning each configured tty port on the
system. Following is the layout of a record in the TTYS table:
system.
FIELD NAME TYPE REMARKS
------------------------------------------------------------------
ID int(10) unsigned Primary Key
PORT_ID int(10) unsigned
ACTIVE enum('N','Y')
STATION_NAME char(64) From STATIONS
PORT char(20) Unix device name
STATION_NAME varchar(64) From STATIONS
PORT varchar(20) Unix device name
BAUD_RATE int(11) signed in bits/sec
DATA_BITS int(11) signed
STOP_BITS int(11) signed

View File

@ -1,12 +1,10 @@
USER_PERMS Table Layout for Rivendell
The USER_PERMS table holds data concerning which audio groups are
are allowed to be accessed by which users. Following is the layout
of a record in the USER_PERMS table:
are allowed to be accessed by which users.
FIELD NAME TYPE REMARKS
---------------------------------------------------------------
ID int(10) unsigned Primary key, auto increment
USER_NAME char(255) From USERS.LOGIN_NAME
GROUP_NAME char(10) From GROUPS.NAME
USER_NAME varchar(191) From USERS.LOGIN_NAME
GROUP_NAME varchar(10) From GROUPS.NAME

View File

@ -7,5 +7,5 @@ are allowed to be accessed by which users.
FIELD NAME TYPE REMARKS
---------------------------------------------------------------
ID int(11) signed Primary key, auto increment
USER_NAME char(255) From USERS.LOGIN_NAME
SERVICE_NAME char(10) From SERVICES.NAME
USER_NAME varchar(191) From USERS.LOGIN_NAME
SERVICE_NAME varchar(10) From SERVICES.NAME

View File

@ -1,28 +1,25 @@
USERS Table Layout for Rivendell
The USERS table holds data concerning each individual user configured
on the system. Following is the layout of a record in the USERS
table:
on the system.
FIELD NAME TYPE REMARKS
--------------------------------------------------------------------------
LOGIN_NAME char(255) Primary key
FULL_NAME char(255) Indexed
PHONE_NUMBER char(20)
DESCRIPTION char(255)
PASSWORD char(32) Not-NULL, Hashed
LOGIN_NAME varchar(255) Primary key
FULL_NAME varchar(255) Indexed
PHONE_NUMBER varchar(20)
DESCRIPTION varchar(255)
PASSWORD varchar(32) Not-NULL, Hashed
WEBAPI_AUTH_TIMEOUT int(11) signed Seconds
ENABLE_WEB enum('N','Y')
LOCAL_AUTH enum('N','Y')
PAM_SERVICE char(32)
ADMIN_USERS_PRIV enum('N','Y') Retired
PAM_SERVICE varchar(32)
ADMIN_CONFIG_PRIV enum('N','Y')
CREATE_CARTS_PRIV enum('N','Y')
DELETE_CARTS_PRIV enum('N','Y')
MODIFY_CARTS_PRIV enum('N','Y')
EDIT_AUDIO_PRIV enum('N','Y')
WEBGET_LOGIN_PRIV enum('N','Y')
ASSIGN_CART_PRIV enum('N','Y') Retired
CREATE_LOG_PRIV enum('N','Y')
DELETE_LOG_PRIV enum('N','Y')
DELETE_REC_PRIV enum('N','Y')

View File

@ -3,12 +3,11 @@
The VGUEST_RESOURCES table holds data concerning the the mapping of
various Rivendell objects to resources in a Logitek Audio Engine
system.
Following is the layout of a record in the VGUEST_RESOURCES table:
FIELD NAME TYPE REMARKS
--------------------------------------------------------------------------
ID unsigned int(10) Primary key
STATION_NAME char(64) from STATIONS.NAME
STATION_NAME varchar(64) from STATIONS.NAME
MATRIX_NUM int(11) from MATRICES.MATRIX
VGUEST_TYPE int(11)
NUMBER int(11)

View File

@ -6,6 +6,6 @@ browser connection.
FIELD NAME TYPE REMARKS
--------------------------------------------------------------------------
SESSION_ID unsigned int(10) Primary key
LOGIN_NAME char(255) From USERS.LOGIN_NAME
IP_ADDRESS char(16)
LOGIN_NAME varchar(191) From USERS.LOGIN_NAME
IP_ADDRESS varchar(16)
TIMESTAMP datetime

View File

@ -24,7 +24,7 @@
/*
* Current Database Version
*/
#define RD_VERSION_DATABASE 296
#define RD_VERSION_DATABASE 297
#endif // DBVERSION_H

View File

@ -62,10 +62,8 @@
#define DEFAULT_MYSQL_DRIVER "QMYSQL3"
#define DEFAULT_MYSQL_HEARTBEAT_INTERVAL 360
#define DEFAULT_MYSQL_ENGINE "MyISAM"
#define DEFAULT_MYSQL_CHARSET "utf8"
#define DEFAULT_MYSQL_COLLATION "utf8_general_ci"
#define MYSQL_BUILTIN_DATABASE "mysql"
#define POSTGRESQL_BUILTIN_DATABASE "template1"
#define DEFAULT_MYSQL_CHARSET "utf8mb4"
#define DEFAULT_MYSQL_COLLATION "utf8mb4_general_ci"
/*
* Default Logging Settings

View File

@ -63,6 +63,13 @@ bool MainObject::CreateNewDb(QString *err_msg) const
//
// Create a Rivendell DB of schema number 286
//
// Maintainer's Note:
//
// DO NOT alter the schema in this method! Rather, when adding schema
// changes, add the update to the 'UpdateSchema()' [updateschema.cpp]
// and the reversion to the 'RevertSchema()' [revertschema.cpp] methods.
//
QString sql;
bool ok=false;

File diff suppressed because it is too large Load Diff

View File

@ -140,7 +140,7 @@ void MainObject::InitializeSchemaMap() {
global_version_map["2.17"]=268;
global_version_map["2.18"]=272;
global_version_map["2.19"]=275;
global_version_map["2.20"]=296;
global_version_map["3.0"]=297;
}

File diff suppressed because it is too large Load Diff