Database changes for Nexus integration

This commit is contained in:
Patrick Linstruth
2019-09-11 12:01:40 -07:00
parent 75ee836325
commit d1874b868a
11 changed files with 302 additions and 70 deletions

View File

@@ -28,6 +28,8 @@ USAGE_CODE int(11) 0=Feature, 1=Theme Open,
FORCED_LENGTH int(10) Playout this length, 0 = don't timeshift
AVERAGE_LENGTH int(10)
LENGTH_DEVIATION int(10) Maximum variation of underlying cuts
MINIMUM_TALK_LENGTH int(10) Minimum talk length of underlying cuts
MAXIMUM_TALK_LENGTH int(10) Maximum talk length of underlying cuts
AVERAGE_SEGUE_LENGTH int(10)
AVERAGE_HOOK_LENGTH int(10)
CUT_QUANTITY int(10) > 1 for rotators

View File

@@ -0,0 +1,13 @@
NEXUS_FIELDS Table Layout for Rivendell
The NEXUS_FIELDS table contains mappings between Rivendell database rows
and MusicMaster Nexus fields.
FIELD NAME TYPE REMARKS
--------------------------------------------------------------------------
ID int(11) Primary Key
STATION varchar(255) Nexus Station (Database)
RD_NAME varchar(255) Rivendell Name
NEXUS_NAME varchar(255) MusicMaster Field Name
NEXUS_ID int(11) MusicMaster Field ID

View File

@@ -0,0 +1,12 @@
NEXUS_QUEUE Table Layout for Rivendell
The NEXUS_QUEUE table holds notifications that could not be sent
to a MusicMaster Nexus server.
FIELD NAME TYPE REMARKS
--------------------------------------------------------------------------
ID int(11) Primary Key
NOTIFICATION varchar(255)
ERROR varchar(255)
CREATED timestamp

View File

@@ -0,0 +1,12 @@
NEXUS_SERVER Table Layout for Rivendell
The NEXUS_SERVER table holds data concerning integration with
a MusicMaster Nexus server.
FIELD NAME TYPE REMARKS
--------------------------------------------------------------------------
NUMBER int(10) unsigned
ENABLED enum('N','Y')
ADDRESS varchar(50)
PORT int(11)
STATION_NAME varchar(64)

View File

@@ -0,0 +1,14 @@
NEXUS_STATIONS Table Layout for Rivendell
The NEXUS_STATIONS table contains mappings and other information
between Rivendell and MusicMaster Nexus.
FIELD NAME TYPE REMARKS
--------------------------------------------------------------------------
STATION varchar(255) Nexus Station (Database)
CATEGORY varchar(10) Default MusicMaster Category
AUTO_MERGE enum('N','Y') Auto Merge MusicMaster Schedules
RD_SERVICE varchar(10) Rivendell Service
RD_GROUP_NAME varchar(10) Default Rivendell Group
RD_SCHED_CODE varchar(11) Default Rivendell Scheduler Code