2018-05-09 Fred Gleason <fredg@paravelsystems.com>

* Added a 'LOG_MACHINES' table to the database.
	* Incremented the database version to 278.
This commit is contained in:
Fred Gleason
2018-05-09 23:46:16 +00:00
parent c096220570
commit 17d4817045
12 changed files with 637 additions and 77 deletions

View File

@@ -48,6 +48,7 @@ EXTRA_DIST = audio_perms.txt\
jack_clients.txt\
livewire_gpio_slots.txt\
log_format.txt\
log_machines.txt\
log_modes.txt\
logs.txt\
nownext_plugins.txt\

View File

@@ -0,0 +1,26 @@
LOG_MACHINES Table Layout for Rivendell
The RDAIRPLAY_CHANNELS table holds configuration data for the RDAirPlay
channels assignments and related information.
FIELD NAME TYPE REMARKS
------------------------------------------------------------------------------
ID int(10) unsigned * Primary key, Auto Increment
STATION_NAME char(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)
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_PORT int(10) unsigned
UDP_STRING char(255)
LOG_RML char(255)

View File

@@ -28,6 +28,8 @@ BUTTON_LABEL_TEMPLATE char(32)
PAUSE_ENABLED enum('N','Y')
DEFAULT_SERVICE char(10) From SERVICES.NAME
HOUR_SELECTOR_ENABLED enum('N','Y')
*** RETIRED ***
UDP_ADDR0 char(255)
UDP_PORT0 int(10) unsigned
UDP_STRING0 char(255)
@@ -40,6 +42,8 @@ UDP_ADDR2 char(255)
UDP_PORT2 int(10) unsigned
UDP_STRING2 char(255)
LOG_RML2 char(255)
*** RETIRED ***
EXIT_CODE int(11) 0=clean, 1=dirty
EXIT_PASSWORD char(41)
SKIN_PATH char(255)
@@ -49,6 +53,8 @@ TITLE_TEMPLATE char(64)
ARTIST_TEMPLATE char(64)
OUTCUE_TEMPLATE char(64)
DESCRIPTION_TEMPLATE char(64)
*** RETIRED ***
LOG0_START_MODE int(11) 0=start empty, 1=load last,
2=load specified
LOG0_AUTO_RESTART enum('N','Y')
@@ -79,3 +85,4 @@ LOG2_LOG_ID int(11)
LOG2_LOG_LINE int(11)
LOG2_NOW_CART int(10) unsigned
LOG2_NEXT_CART int(10) unsigned
*** RETIRED ***