mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-04-23 09:18:34 +02:00
* 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'.
67 lines
3.0 KiB
Plaintext
67 lines
3.0 KiB
Plaintext
CUTS Table Layout for Rivendell
|
|
|
|
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).
|
|
|
|
FIELD NAME TYPE REMARKS
|
|
---------------------------------------------------------------
|
|
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 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
|
|
END_DATETIME datetime
|
|
START_DAYPART time
|
|
END_DAYPART time
|
|
SUN enum('N','Y')
|
|
MON enum('N','Y')
|
|
TUE enum('N','Y')
|
|
WED enum('N','Y')
|
|
THU enum('N','Y')
|
|
FRI enum('N','Y')
|
|
SAT enum('N','Y')
|
|
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
|
|
UPLOAD_DATETIME datetime Copy-split upload timestamp
|
|
PLAY_COUNTER int(10) unsigned
|
|
LOCAL_COUNTER int(10) Resets when cart structure changes
|
|
VALIDITY int(10) 0 = Invalid, 1 = Conditionally Valid,
|
|
2 = Valid
|
|
CODING_FORMAT int(10) unsigned 0 = PCM16, 2 = Layer-2, 3 = Layer-3
|
|
SAMPLE_RATE int(10) unsigned In samples/sec
|
|
BIT_RATE int(10) unsigned In bits/sec, PCM16 = 0
|
|
CHANNELS int(10) unsigned 1 = mono, 2 = stereo
|
|
PLAY_GAIN int(11) signed In 1/100 dB
|
|
START_POINT int(10) unsigned Offset to Start point in ms
|
|
FADEUP_POINT int(10) unsigned Offset to FadeUp point in ms
|
|
FADEDOWN_POINT int(10) unsigned Offset to FadeDown point in ms
|
|
END_POINT int(10) unsigned Offset to End point in ms
|
|
HOOK_START_POINT int(10) unsigned Offset to Hook Start point in ms
|
|
HOOK_END_POINT int(10) unsigned Offset to Hook End point in ms
|
|
TALK_START_POINT int(10) unsigned Offset to Talk Start point in ms
|
|
TALK_END_POINT int(10) unsigned Offset to Talk End point in ms
|
|
|
|
|
|
* Names of WAV files are calculated as follows:
|
|
|
|
CCCCCC_NNN.wav
|
|
|
|
where:
|
|
CCCCCC = The cart number (000000 - 999999)
|
|
NNN = The rotator offset (000 - 999)
|
|
|
|
Thus, we can accomodate up to 1000 cuts in a single rotator. The
|
|
base name is that part of the name prior to '.wav'.
|
|
|