73 Commits

Author SHA1 Message Date
Fred Gleason
4c45d63f5a 2022-03-22 Fred Gleason <fredg@paravelsystems.com>
* Modified rdimport(1) to allow the '--by-isci' option to take
	a service name option.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-03-22 16:30:08 -04:00
Fred Gleason
85faf123ed 2022-03-22 Fred Gleason <fredg@paravelsystems.com>
* Added '--by-isci' and '--dump-isci-xref' options to rdimport(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-03-22 13:44:19 -04:00
Fred Gleason
0b401e3f86 2021-07-29 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdimport(1) that caused the cart title
	uniqueness check to be applied to the incorrect string when
	the '--set-string-title=' switch was used.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-07-29 11:28:09 -04:00
Fred Gleason
dd5eaa1b21 2021-05-28 Fred Gleason <fredg@paravelsystems.com>
* Fixed a use-after-delete bug in rdimport(1) that could cause
	a segfault when the '--fix-broken-formats' switch was given.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-05-28 10:27:31 -04:00
Fred Gleason
26e323f672 2021-04-06 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdimport(1) where the title of an existing cart
	would be overwritten with a default title even when no title
	was found in the file metadata.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-04-06 11:58:16 -04:00
Fred Gleason
6c904bf189 2021-04-05 Fred Gleason <fredg@paravelsystems.com>
* Added the value of the detected CartChunk CutID to the error
	message	generated when rejecting said CutID as invalid when using
	the '--use-cartchunk-cutid' switch in rdimport(1).
	* Added code to print the value of the detected CartChunk CutID
	when using both the '--use-cartchunk-cutid' and '--verbose' flags
	in rdimport(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-04-05 14:48:05 -04:00
Fred Gleason
0a54812cfa 2020-12-24 Fred Gleason <fredg@paravelsystems.com>
* Modified rdimport(1) so as to send e-mail reports to the address
	of the current Rivendell user in addition to the group's
	Notification E-Mail Address.
	* Modified the Webget service so as to send e-mail reports to the
	address	of the current Rivendell user in addition to the group's
	Notification E-Mail Address.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-12-24 12:29:06 -05:00
Fred Gleason
7667ef70f6 2020-12-10 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdimport(1) that caused generation of double
	error messages when processing invalid audio files.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-12-10 10:00:30 -05:00
Fred Gleason
503de8000d 2020-12-07 Fred Gleason <fredg@paravelsystems.com>
* Added a 'RDCart::ensureTitleIsUnique()' static method.
	* Removed code to make cart titles automatically unique from
	'RDCart::setTitle()'.
	* Refactored rdimport(1) to allow detection of duplicate titles.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-12-07 15:44:06 -05:00
Fred Gleason
50a06191d9 2020-11-23 Fred Gleason <fredg@paravelsystems.com>
* Added a '--ticket=' option to rdimport(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-11-23 16:22:20 -05:00
Fred Gleason
1932e277df 2020-11-23 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdimport(1) that could cause generation of
	mail reports to be bypassed.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-11-23 13:04:38 -05:00
Fred Gleason
e5a89ae833 2020-11-22 Fred Gleason <fredg@paravelsystems.com>
* Added '--send-mail' and '--mail-per-file' options to rdimport(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-11-23 11:56:35 -05:00
Fred Gleason
27b1387e91 2020-11-01 Fred Gleason <fredg@paravelsystems.com>
* Fixed bugs in rdimport(1) that caused incorrect exit codes to
	be emitted when a non-existent group was specified.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-11-01 19:38:17 -05:00
Fred Gleason
2aa5aea4f9 2020-10-31 Fred Gleason <fredg@paravelsystems.com>
* Added an 'RDApplication::ExitCode'.
	* Implemented 'RDApplication::ExitCode' in rdimport(1).
	* Implemented 'RDApplication::ExitCode' in rdlogmanager(1).
	* Implemented 'RDApplication::ExitCode' in rdservice(8).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-10-31 16:47:41 -04:00
Fred Gleason
b7702a9c79 2020-10-31 Fred Gleason <fredg@paravelsystems.com>
* Added an '--output-pattern' switch to rdimport(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2020-10-31 12:18:02 -04:00
Fred Gleason
0344db5fee 2020-02-07 Fred Gleason <fredg@paravelsystems.com>
* Added a '%wc' ['Industry Standard Commercial Identification (ISCI)
	Code'] metadata wildcard.
	* Implemented the '%wc' metadata wildcard for PyPAD.
	* Added support for the '%wc' wildcards to the '--metadata-pattern='
	switch in rdimport(1).
	* Added '--set-string-isci' switch to rdimport(1).
	* Added support for the '%wc' wildcard to the '--metadata-pattern='
	switch in rdexport(1).
2020-02-07 08:58:48 -05:00
Fred Gleason
cf5018c32e 2020-02-04 Fred Gleason <fredg@paravelsystems.com>
* Added '--set-string-isrc', '--set-string-recording-mbid' and
	'--set-string-release-mbid' switches to rdimport(1).
2020-02-04 12:25:58 -05:00
Fred Gleason
edf23ce677 2020-02-04 Fred Gleason <fredg@paravelsystems.com>
* Added support for the '%wi', '%wm' and '%wr' wildcards to
	the '--metadata-pattern=' switch in rdimport(1).
2020-02-04 11:47:19 -05:00
Fred Gleason
f036872fd6 2020-01-28 Fred Gleason <fredg@paravelsystems.com>
* Added a 'libmusicbrainz5' dependency.
	* Added a 'libdiscid' dependency.
	* Added a 'readcd_test' test harness.
2020-01-28 17:26:09 -05:00
Fred Gleason
2b3b733c0e 2019-12-16 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdimport(1) that caused non-Latin1 characters
	to be corrupted when using standard input.
2019-12-16 12:59:44 -05:00
Fred Gleason
8ea0983cdb 2019-12-13 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdimport(1) that caused UTF-8 multibyte characters
	in filenames to be corrupted.
2019-12-16 11:25:20 -05:00
Fred Gleason
a6983df520 2019-10-28 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in rdimport(1) that caused a segfault when
	invoked with the '--metadata-pattern' and '--log-syslog' switches.
2019-10-28 16:28:57 -04:00
Fred Gleason
bfee1c8440 2019-09-27 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdimport(1) that caused it to throw an exception
	when given a '--metadata-pattern' of less than three characters.
2019-09-27 12:30:03 -04:00
Fred Gleason
b9722a3be7 2019-08-20 Fred Gleason <fredg@paravelsystems.com>
* Added a 'DROPBOXES.LOG_TO_SYSLOG' field to the database.
	* Incremented the database version to 309.
	* Added a 'Log Events in Syslog' checkbox to the
	'Dropbox Configuration' dialog in rdadmin(1).
	* Added special name logic to RDApplication to detect when a
	dropbox is being started.
	* Modified the '--log-filename=' switch in rdimport(1) to accept
	both directory and filename components.
	* Removed the '--log-directory=' switch from rdimport(1).
	* Added an 'ID' column to the list of dropbox configurations in the
	'Rivendell Dropbox Configurations; dialog in rdadmin(1).
2019-08-20 18:50:56 -04:00
Fred Gleason
f50447eb8b 2019-06-21 Fred Gleason <fredg@paravelsystems.com>
* Added 'RDApplication::syslog()' methods.
2019-06-24 16:40:18 -04:00
Fred Gleason
a094fbc788 2019-06-17 Fred Gleason <fredg@paravelsystems.com>
* Refactored logging system to use syslog(3) exclusively.
	* Removed the 'Facility=', 'LogDirectory=', 'CoreDumpDirectory='
	and 'LogPattern=' directives from rd.conf(5).
2019-06-17 17:46:26 -04:00
Fred Gleason
128a977d56 2019-05-03 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up a compiler warning for rdimport(1).
2019-05-03 16:59:32 -04:00
Patrick Linstruth
e2e1902127 Fixed a regression in rdimport(1) that broke the "--set-daypart-times" argument. 2019-03-31 12:19:51 -07:00
Fred Gleason
d024d27474 2019-03-06 Fred Gleason <fredg@paravelsystems.com>
* Added an 'RDWaveData::validateMarkers()' method.
	* Added an 'RDWaveData::validateDateTime()' method.
	* Removed the 'RDWaveData::checkDateTimes()' method.
2019-03-06 10:32:37 -05:00
Patrick Linstruth
bc0ec04b8a Fixed regression with rdimport(1) that threw SQL errors when importing into an existing cart. 2018-11-30 17:29:20 -08:00
Patrick Linstruth
c265cc6044 Merge branch 'master' into RDImport
Conflicts:
	ChangeLog
2018-10-17 08:43:20 -07:00
Patrick Linstruth
9cf8ad6fd0 Changed logging to better support command line and dropbox execution 2018-10-16 16:24:27 -07:00
Patrick Linstruth
82794caa92 Add LogError() 2018-10-16 09:40:41 -07:00
Patrick Linstruth
84f6b5566e Missed removal of an fprintf(stderr,...) 2018-10-16 09:39:15 -07:00
Patrick Linstruth
ff98934f23 Send all errors to stderr in addition to rda->log() 2018-10-16 09:34:17 -07:00
Patrick Linstruth
d65e81981b Change logging from fprintf to use RDConfig::log(). Allow overriding
[Logs] section in rd.conf with new --log-directory, --log-filename,
and --log-syslog options.
2018-10-03 20:26:13 -07:00
Fred Gleason
8d11616b4b 2018-08-08 Fred Gleason <fredg@paravelsystems.com>
* Modified all instances of 'QStringList::split()' calls to use
	'QString::split()'.
2018-08-08 18:11:23 -04:00
Fred Gleason
796e1bebc3 2018-08-07 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'pam_rd' plug-in.
	* Removed rdchunk(1).
	* Upgraded Qt3 to Qt4.
2018-08-07 10:09:49 -04:00
Fred Gleason
6b1a06a910 2018-08-03 Fred Gleason <fredg@paravelsystems.com>
* Fixed bugs in 'RDWaveFile' that caused corruption of UTF-8
	strings in RDXL chunks.
2018-08-03 15:21:39 -04:00
Fred Gleason
e8d7d204cc 2018-07-19 Fred Gleason <fredg@paravelsystems.com>
* Cleaned up SQL quieries in 'utils/rdimport/' to ensure UTF-8
	compatibility.
2018-07-19 13:51:17 +00:00
Fred Gleason
471c6498fd 2018-03-21 Fred Gleason <fredg@paravelsystems.com>
* Added support for cart notifications to the RDXport service.
	* Added support for notifications to rdimport(1).
2018-03-21 15:54:50 -04:00
Fred Gleason
957772c5e6 2018-02-04 Fred Gleason <fredg@paravelsystems.com>
* Refactored the RDAudioImport class to use RDApplication.
2018-02-04 07:11:12 -05:00
Fred Gleason
7a7e3c9b6b 2018-02-03 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug that broke command processing in rdimport(1).
2018-02-03 04:27:02 -05:00
Fred Gleason
a639001137 2018-02-02 Fred Gleason <fredg@paravelsystems.com>
* Converted rdimport(1) to use RDApplication.
2018-02-01 11:32:12 -05:00
Fred Gleason
f692a3ac0d 2018-01-30 Fred Gleason <fredg@paravelsystems.com>
* Added an 'RDApplication'class.
	* Converted rdlibrary(1) to use RDApplication.
2018-01-30 03:57:04 -05:00
Fred Gleason
c63ae45991 2018-01-03 Fred Gleason <fredg@paravelsystems.com>
* Fixed races in creation of new carts.
2018-01-03 15:36:45 -05:00
Fred Gleason
e07cabc72f 2017-12-16 Fred Gleason <fredg@paravelsystems.com>
* Added support for filepath wildcards in macro carts.
2017-12-16 16:45:51 -05:00
Fred Gleason
3b1ce13e77 2017-12-15 Fred Gleason <fredg@paravelsystems.com>
* Removed the 'RDTempDir()' function.
2017-12-15 07:47:41 -05:00
Fred Gleason
4a73221714 2017-10-17 Fred Gleason <fredg@paravelsystems.com>
* Added sane defaults when processing '%k','%K', '%q' and '%Q'
	wildcards in rdimport(1).
2017-10-17 08:22:43 -04:00
Fred Gleason
1dade3e38e 2017-10-16 Fred Gleason <fredg@paravelsystems.com>
* Implemented '%k', '%K', '%q' and '%Q' metadata wildcards for
	rdimport(1).
2017-10-16 14:21:51 -04:00