1499 Commits

Author SHA1 Message Date
Fred Gleason
9daa30ba44 2018-06-11 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug that broke the build when JACK support was disabled.
2018-06-11 16:28:57 +00:00
Fred Gleason
173289d0f6 2018-06-11 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rddbmgr(8) that broke --modify when using an
	implied schema.
2018-06-11 16:03:02 +00:00
Fred Gleason
96fdfff8a0 2018-06-11 Fred Gleason <fredg@paravelsystems.com>
* Added a 'STATIONS.JACK_PORT' field to the database.
	* Incremented the database version to 287.
	* Added an 'Initial Audio Ports' control to the 'JACK Configuration'
	dialog in rdadmin(1).
	* Implemented 'Activate JACK Port' ['JA'] and 'Remove JACK Port' ['JR']
	RMLs.
2018-06-11 15:59:05 +00:00
Fred Gleason
bcf29e8de3 2018-06-08 Fred Gleason <fredg@paravelsystems.com>
* Fixed typos in the rddbmgr(8) man page.
2018-06-08 18:15:45 +00:00
Fred Gleason
047e2d05be 2018-06-08 Fred Gleason <fredg@paravelsystems.com>
* Added a sanity check to rddbmgr(8) to prevent reverting from an
	unknown schema.
	* Added a sanity check to rddbmgr(8) to prevent inadvertent
	reversion to an	implied schema.
2018-06-08 18:13:49 +00:00
Fred Gleason
1196cda562 2018-06-08 Fred Gleason <fredg@paravelsystems.com>
* Removed support for the '--admin-username', '--admin-password',
	'--admin-hostname', '--admin-dbname', '--create-db-hostname',
	'--skip-backup' and '--backup-filename' switches from rdadmin(1).
	* Removed the 'Backup Database' and 'Restore Database' buttons
	from rdadmin(1).
	* Removed the database creation and updater code from rdadmin(1).
2018-06-08 13:44:52 +00:00
Fred Gleason
a6bed61842 2018-06-08 Fred Gleason <fredg@paravelsystems.com>
* Removed rddbcheck(8).
	* Removed rdrevert(8).
2018-06-08 12:47:46 +00:00
Fred Gleason
fa307d948c 2018-06-08 Fred Gleason <fredg@paravelsystems.com>
* Added an rddbmgr(8) man page.
2018-06-08 12:19:47 +00:00
Fred Gleason
bc4f1b3ca5 2018-06-07 Fred Gleason <fredg@paravelsystems.com>
* Implemented the '--check' command in rddbmgr(8).
2018-06-07 18:07:10 +00:00
Fred Gleason
b791ca8a04 2018-06-07 Fred Gleason <fredg@paravelsystems.com>
* Implemented show database status in rddbmgr(8).
2018-06-07 14:01:38 +00:00
Fred Gleason
f8b0970b7b 2018-06-05 Fred Gleason <fredg@paravelsystems.com>
* Implemented the '--modify' command in rddbmgr(8).
2018-06-06 00:11:08 +00:00
Fred Gleason
7133d0f388 2018-06-01 Fred Gleason <fredg@paravelsystems.com>
* Stubbed out rddbmgr(8).
	* Implemented the '--create' command in rddbmgr(8).
	* Fixed a bug in 'RDStation::create()' that generated corrupt records
	in the 'AUDIO_INPUT' and 'AUDIO_OUTPUTS' tables when creating a
	new host with no exemplar.
2018-06-01 23:23:58 +00:00
Fred Gleason
fec324abd8 2018-05-31 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug that broke the build on RHEL 6.
2018-05-31 17:12:46 -04:00
Fred Gleason
eaef3d607f 2018-05-31 Fred Gleason <fredg@paravelsystems.com>
* Incremented the package version to 2.19.2vlog03.
v2.19.2vlog03
2018-05-31 20:31:34 +00:00
Fred Gleason
e536ae7bfe 2018-05-31 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression that broke the 'make rpm' target.
2018-05-31 20:30:10 +00:00
Fred Gleason
3215d07445 2018-05-31 Fred Gleason <fredg@paravelsystems.com>
* Incremented the package version to 2.19.2vlog02.
v2.19.2vlog02
2018-05-31 19:15:04 +00:00
Fred Gleason
84430a10ef 2018-05-31 Fred Gleason <fredg@paravelsystems.com>
* Refactored table drops to use 'RDApplication::dropTable()'.
2018-05-31 19:11:16 +00:00
Fred Gleason
c6bbac7267 2018-05-31 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up SQL errors in rdadmin(1).
2018-05-31 18:31:56 +00:00
Fred Gleason
42ccd6c3be 2018-05-31 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdcatchd(8) that caused Upload events to
	be generated with the incorrect sample rate.
2018-05-31 17:32:06 +00:00
Fred Gleason
b64c6c377d Merge branch 'deltecent-issue157-stack' into stable 2018-05-31 16:54:42 +00:00
Fred Gleason
15b0f638d8 2018-05-31 Patrick Linstruth <patrick@deltecent.com>
* Implemented purging of STACK_* tables for RDMaint(1) in
        'utils/rdmaint/rdmaint.cpp' and 'utils/rdmaint/rdmaint.h'.
2018-05-31 16:54:23 +00:00
Fred Gleason
415878a9a3 2018-05-31 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdadmin(1) that caused 'Length' parameters in
	custom log import settings to fail to be copied correctly when
	cloning a new service.
	* Dropped the 'SERVICES.TFC_LENGTH_OFFSET' field from the database.
	* Dropped the 'SERVICES.TFC_LENGTH_LENGTH' field from the database.
	* Dropped the 'SERVICES.MUS_LENGTH_OFFSET' field from the database.
	* Dropped the 'SERVICES.MUS_LENGTH_LENGTH' field from the database.
	* Incremented the database version to 286.
2018-05-31 16:48:33 +00:00
Fred Gleason
5d187d1e38 2018-05-31 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdrevert(8) that threw SQL errors when reverting
	schema change 278.
2018-05-31 15:54:36 +00:00
Fred Gleason
32b3d1775c 2018-05-30 Fred Gleason <fredg@paravelsystems.com>
* Removed drop of the 'RECORDINGS.SAMPRATE' field from schema
	change 285.
	* Cleaned up SQL calls in rdcatchd(8).
	* Cleaned up SQL calls in 'RDStation'.
	* Cleaned up SQL calls in 'RDLibraryConf'.
	* Cleaned up SQL calls in 'RDLogeditConf'.
	* Cleaned up SQL calls in 'RDLogLine'.
	* Cleaned up SQL calls in 'RDSvc'.
	* Cleaned up SQL calls in rivendell_filter(1).
2018-05-31 00:09:35 +00:00
Patrick Linstruth
60b397a981 Update 2018-05-30 14:33:07 -07:00
Patrick Linstruth
0120221326 Implemented purging of STACK_* tables 2018-05-30 13:59:12 -07:00
Fred Gleason
37ad8d7094 2018-05-30 Fred Gleason <fredg@paravelsystems.com>
* Merged pull request #000062, "Optimize CPU usage in caed alsa
	playback (fixed version)".
2018-05-30 20:27:23 +00:00
Fred Gleason
6d7ed78c62 Merge branch 'caed_playback_tuning' of https://github.com/tryphon/rivendell into tryphon-caed_playback_tuning 2018-05-30 20:14:26 +00:00
Fred Gleason
c7b3074c65 2018-05-30 Fred Gleason <fredg@paravelsystems.com>
* Updated 'AUTHORS'.
2018-05-30 18:54:00 +00:00
Fred Gleason
adc747d35e 2018-05-30 Fred Gleason <fredg@paravelsystems.com>
* Implemented '%v/%V' metadata wildcards for event length (seconds).
2018-05-30 18:37:24 +00:00
Fred Gleason
fb48347eba 2018-05-30 Fred Gleason <fredg@paravelsystems.com>
* Merged pull request #000200, "Set SCHEDULED_AT when adding to
	the STACK".
2018-05-30 17:36:10 +00:00
Fred Gleason
18cd34ce3f
Merge pull request #200 from deltecent/issue192-scheduledat
Merged into 'stable'. Thanks!
2018-05-30 17:34:03 +00:00
Fred Gleason
2cbc9e6e3c 2018-05-29 Fred Gleason <fredg@paravelsystems.com>
* Dropped the 'CART.ISRC' field from the database.
	* Dropped the 'DECKS.DEFAULT_SAMPRATE' field from the database.
	* Dropped the 'RDLIBRARY.INPUT_STREAM' field from the database.
	* Dropped the 'RDLIBRARY.OUTPUT_STREAM' field from the database.
	* Dropped the 'RDLIBRARY.RECORD_GPI' field from the database.
	* Dropped the 'RDLIBRARY.PLAY_GPI' field from the database.
	* Dropped the 'RDLIBRARY.STOP_GPI' field from the database.
	* Dropped the 'RDLIBRARY.DEFAULT_SAMPRATE' field from the database.
	* Dropped the 'RECORDINGS.DEFAULT_SAMPRATE' field from the database.
	* Dropped the 'RDLOGEDIT.SAMPRATE' field from the database.
	* Dropped the 'SERVICES.TFC_START_OFFSET' field from the database.
	* Dropped the 'SERVICES.TFC_START_LENGTH' field from the database.
	* Dropped the 'SERVICES.MUS_START_OFFSET' field from the database.
	* Dropped the 'SERVICES.MUS_START_LENGTH' field from the database.
	* Incremented the database version to 285.
2018-05-29 23:16:35 +00:00
Fred Gleason
f831241638 2018-05-29 Fred Gleason <fredg@paravelsystems.com>
* Dropped the 'RDAIRPLAY.INSTANCE' field from the database.
	* Dropped the 'RDAIRPLAY.CARD<n>' fields from the database.
	* Dropped the 'RDAIRPLAY.PORT<n>' fields from the database.
	* Dropped the 'RDAIRPLAY.START_RML<n>' fields from the database.
	* Dropped the 'RDAIRPLAY.STOP_RML<n>' fields from the database.
	* Dropped the 'RDAIRPLAY.OP_MODE' field from the database.
	* Dropped the 'RDAIRPLAY.START_MODE' field from the database.
	* Dropped the 'RDPANEL.INSTANCE' field from the database.
	* Dropped the 'RDPANEL.CARD<n>' fields from the database.
	* Dropped the 'RDPANEL.PORT<n>' fields from the database.
	* Dropped the 'RDPANEL.START_RML<n>' fields from the database.
	* Dropped the 'RDPANEL.STOP_RML<n>' fields from the database.
	* Altered the default value of the 'MATRICES.PORT field to 0.
	* Altered the default value of the 'MATRICES.PORT_2 field to 0.
	* Altered the default value of the 'MATRICES.INPUTS field to 0.
	* Altered the default value of the 'MATRICES.OUTPUTS field to 0.
	* Altered the default value of the 'MATRICES.GPIS field to 0.
	* Altered the default value of the 'MATRICES.GPOS field to 0.
	* Incremented the database version to 284.
	* Fixed bugs in rdcatch(1) that incorrectly escaped host
	names in SQL calls.
	* Fixed a bug in 'RDLog::create()' that failed to initialize
	the modified datetime correctly.
2018-05-29 21:39:22 +00:00
Fred Gleason
b97f158435 2018-05-29 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression that caused meters to fail when rdvairplayd(8)
	was operated with invalid channel assignments.
2018-05-29 19:12:21 +00:00
Fred Gleason
954252fd62 2018-05-29 Fred Gleason <fredg@paravelsystems.com>
* Merged pull request #000212, "Patches for building on Ubuntu 18.04".
2018-05-29 15:54:53 +00:00
Fred Gleason
3ea62636d5 Merge branch 'danielbair-stable' into stable 2018-05-29 15:40:27 +00:00
Daniel Bair
44582bb67b Patches for building on Ubuntu 18.04
There are several more bugs I don't really know the answer for.
Most are I suspect related to MySQL 5.7 security.
To setup the initial database, rdadmin must be run as root.

Then there are about a half dozen mysql errors while running the various rivendell applications, rdadmin, rdcatch, rdlogedit, rdlogmanager, rdpanel:

rdadmin
invalid SQL or failed DB connection[Field 'INSTANCE' doesn't have a default value QMYSQL3: Unable to execute query]: insert into RDPANEL set STATION="Rivendell-VirtualBox"

Database connection failed: insert into RDPANEL set STATION="Rivendell-VirtualBox"
QSqlQuery::value: not positioned on a valid record

invalid SQL or failed DB connection[Field 'PORT_2' doesn't have a default value QMYSQL3: Unable to execute query]: insert into MATRICES set STATION_NAME="Rivendell-VirtualBox",NAME="New Switcher",GPIO_DEVICE="/dev/gpio0",MATRIX=0, PORT=0, TYPE=15, INPUTS=0, OUTPUTS=0, GPIS=0, GPOS=0, PORT_TYPE=0, PORT_TYPE_2=2

invalid SQL or failed DB connection[Field 'TYPE_ID' doesn't have a default value QMYSQL3: Unable to execute query]: insert into REPLICATORS set NAME="Test"

rdcatch
invalid SQL or failed DB connection[Field 'STATION_NAME' doesn't have a default value QMYSQL3: Unable to execute query]: insert into RECORDINGS set ID=1
Database connection failed: insert into RECORDINGS set ID=1
Segmentation fault (core dumped)

rdlogedit
invalid SQL or failed DB connection[Field 'MODIFIED_DATETIME' doesn't have a default value QMYSQL3: Unable to execute query]: insert into LOGS set NAME="MyTest",TYPE=0,DESCRIPTION="MyTest log ",ORIGIN_USER="user",ORIGIN_DATETIME=now(),LINK_DATETIME=now(),SERVICE="Production"
Database connection failed: insert into LOGS set NAME="MyTest",TYPE=0,DESCRIPTION="MyTest log",ORIGIN_USER="user",ORIGIN_DATETIME=now(),LINK_DATETIME=now(),SERVICE="Production"

rdlogmanager
Grabbing the mouse failed with "GrabInvalidTime"
invalid SQL or failed DB connection[Field 'MODIFIED_DATETIME' doesn't have a default value QMYSQL3: Unable to execute query]: insert into LOGS set NAME="Production-0425",TYPE=0,DESCRIPTION="Production-0425 log ",ORIGIN_USER="RDLogManager",ORIGIN_DATETIME=now(),LINK_DATETIME=now(),SERVICE="Production"
Database connection failed: insert into LOGS set NAME="Production-0425",TYPE=0,DESCRIPTION="Production-0425 log ",ORIGIN_USER="RDLogManager",ORIGIN_DATETIME=now(),LINK_DATETIME=now(),SERVICE="Production"

rdpanel
invalid SQL or failed DB connection[Field 'INSTANCE' doesn't have a default value QMYSQL3: Unable to execute query]: insert into RDPANEL set STATION="Kubuntu-VirtualBox"
Database connection failed: insert into RDPANEL set STATION="Kubuntu-VirtualBox"
QSqlQuery::value: not positioned on a valid record
Segmentation fault (core dumped)

rdselect
Segmentation fault (core dumped)
2018-05-28 14:05:26 +07:00
Fred Gleason
1557de175f Merge branch 'deltecent-issue195-rlm_filewrite' into stable 2018-05-25 21:57:01 +00:00
Fred Gleason
41ac60e2a0 2018-05-25 Fred Gleason <fredg@paravelsystems.com>
* Merged pull request #000197, "Issue 195 rlm_filewrite filename
	wildcards".
2018-05-25 21:56:37 +00:00
Fred Gleason
6757bcef9b Merge branch 'issue195-rlm_filewrite' of https://github.com/deltecent/rivendell into deltecent-issue195-rlm_filewrite 2018-05-25 21:27:36 +00:00
Fred Gleason
60d54598db Merge branch 'deltecent-issue193-rdhpi' into stable 2018-05-25 21:17:43 +00:00
Fred Gleason
dd76b01135 2018-05-25 Fred Gleason <fredg@paravelsystems.com>
* Merged pull request #000191, "Add RLM to update metadata on TuneIn."
	* Updated the 'rlm_tunein' plug-in to support vlogs.
2018-05-25 21:17:04 +00:00
Fred Gleason
ae720dd730 2018-05-25 Fred Gleason <fredg@paravelsystems.com>
* Merged pull request #000191, "Add RLM to update metadata on TuneIn."
	* Updated the 'rlm_tunein' plug-in to support vlogs.
2018-05-25 20:43:34 +00:00
Fred Gleason
576504a810 Merge branch 'deltecent-issue172-tunein' into stable 2018-05-25 20:25:40 +00:00
Fred Gleason
236fed27d7 Merge branch 'issue172-tunein' of https://github.com/deltecent/rivendell into deltecent-issue172-tunein 2018-05-25 20:25:26 +00:00
Fred Gleason
fe53086197 2018-05-25 Fred Gleason <fredg@paravelsystems.com>
* Merged pull request #000195, "Fixed bug where CheckOrphanedTracks()
	would remove valid voice tracks".
2018-05-25 20:19:31 +00:00
Fred Gleason
b50069f846
Merge pull request #190 from deltecent/issue189-rddbcheck
Fixed bug where CheckOrphanedTracks() would remove valid voice tracks…
2018-05-25 20:17:34 +00:00
Fred Gleason
fedb1ba339 2018-05-25 Fred Gleason <fredg@paravelsystems.com>
* Merged pull request #000205, "Makefile fixes".
2018-05-25 20:13:57 +00:00
Fred Gleason
6983840cc9 Merge branch 'chrko-makefile_fixes' into stable 2018-05-25 20:01:14 +00:00