58 Commits

Author SHA1 Message Date
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
Fred Gleason
b24d298d1e 2017-09-20 Fred Gleason <fredg@paravelsystems.com>
* Added a '--to-mono' option to rdimport(1).
2017-09-20 11:29:56 -04:00
Fred Gleason
aef7c2229b 2017-08-31 Fred Gleason <fredg@paravelsystems.com>
* Modified web client components to use a distinctive http USER_AGENT
	string.
2017-08-31 12:38:39 -04:00
Fred Gleason
fc332c3655 2016-07-12 Fred Gleason <fredg@paravelsystems.com>
* Added an '--xml' switch to rdimport(1) in
	'utils/rdimport/rdimport.cpp' and 'utils/rdimport/rdimport.h'.
2016-07-12 08:52:29 -04:00
Wayne Merricks
f1175cd2f2 Fixes for invalid NULL sql on date/times
Most files are simple swaps to get rid of extra " as a NULL return will give
invalid SQL if used as follows UPDATE x SET y="NULL";

See github issue 121 for more info.

Extra changes have been made to the following files:
* lib/rdcartslot.cpp
- Added a QDateTime variable to prevent EVENT_DATETIME becoming
  "2016-06-09" "NULL" as it was checked separately for date and time
* lib/rdcut.cpp
- Reworked START_DATETIME and END_DATETIME to save the SQL ifs.  I believe this
  makes it easier to read and understand.
- The >QDate(1900,1,1) and < 8000 is probably not needed but I left it there
  just in case.
* lib/rdescape_string.cpp
- Reworked to add extra " if the date is not NULL see issue 121
* lib/rdfeed.cpp && lib/rdpodcast.cpp
- Had to add a SetRow for QDateTime as with the string conversion the existing
  SetRow would add an extra set of "
* lib/rdsound_panel.cpp && rdairplay/log_traffic.cpp
        && utils/rddgimport/rddgimport.cpp
- Added a QString to contain EVENT_DATETIME to prevent double checks of date
  and time separately (similar to lib/rdcartslot.cpp)
* rdcatchd/rdcatchd.cpp
- Reverted the changes.  The RML here is not touching the DB so is fine, plus
  with the RDCheckDateTime changes you'd have extra " unless it was NULL
* tests/sas_switch_torture.cpp && sas_torture.cpp
- Included missing rdescape_string.h
2016-06-09 00:01:38 +01:00
Wayne Merricks
9f52968a02 utils/rdimport/rdimport.cpp MySQL v5.7+ date/time changes 2016-06-04 23:50:26 +01:00
Fred Gleason
698b475933 2016-05-24 Fred Gleason <fredg@paravelsystems.com>
* Removed all CVS tags.
	* Removed 'const char *name' parameter from all QObject contructors.
2016-05-24 13:13:26 -04:00
Fred Gleason
16284179cc Consolidated .gitignore files 2015-05-28 12:05:07 -04:00
Fred Gleason
f8d2a7905c 2014-12-01 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'utils/rdimport/rdimport.cpp' that failed to
	apply automatic segues correctly when the audio store was not
	locally accessible.
	* Fixed a bug in 'utils/rdimport/rdimport.cpp' that caused the
	value of the '--segue-level' options to be wrong by a factor of
	100.
	* Refactored the 'RDCut::autoSegue()' method to fetch trim data
	via 'RDTrimAudio'.
	* Added language in the rdimport(1) man page to resolve ambiguity
	regarding how the --segue-level location is dteremined when
	normalization is specified.
2014-12-01 17:50:54 -05:00
Fred Gleason
48f663763a 2014-11-21 Fred Gleason <fredg@paravelsystems.com>
* Added a '--clear-daypart-times' option to rdimport(1) in
	'utils/rdimport/rdimport.cpp' and 'utils/rdimport/rdimport.h'.
2014-11-21 18:58:37 -05:00
Fred Gleason
55d0a43edf 2014-11-21 Fred Gleason <fredg@paravelsystems.com>
* Added a '--clear-datetimes' option to rdimport(1) in
	'utils/rdimport/rdimport.cpp' and 'utils/rdimport/rdimport.h'.
2014-11-21 15:48:12 -05:00
Fred Gleason
0091c531d4 2014-10-26 Fred Gleason <fredg@paravelsystems.com>
* Implemented '--set-datetimes' option for rdimport(1) in
	'utils/rdimport/rdimport.cpp' and 'utils/rdimport/rdimport.h'.
2014-10-26 16:39:57 -04:00
Fred Gleason
c6b756fcad 2014-10-26 Fred Gleason <fredg@paravelsystems.com>
* Implemented '--set-string-description' and '--set-string-outcue'
	options for rdimport(1) in 'utils/rdimport/rdimport.cpp' and
	'utils/rdimport/rdimport.h'.
2014-10-26 08:19:41 -04:00
Fred Gleason
bc6ce6fcb2 2014-10-25 Fred Gleason <fredg@paravelsystems.com>
* Implemented '--set-string-*=' options for rdimport(1) in
	'utils/rdimport/rdimport.cpp' and 'utils/rdimport/rdimport.h'.
2014-10-25 20:09:57 -04:00
Fred Gleason
e0238e12da 2014-10-25 Fred Gleason <fredg@paravelsystems.com>
* Added fade markers to the 'MarkerSet::dump()' method in
	'utils/rdimport/markerset.cpp'.
2014-10-25 19:02:57 -04:00
Fred Gleason
1afd09366c 2014-10-25 Fred Gleason <fredg@paravelsystems.com>
* Implemented '--set-marker-fadedown=' and '--set-marker-fadeup*='
	options for rdimport(1) in 'utils/rdimport/markerset.cpp',,
	'utils/rdimport/markerset.h', 'utils/rdimport/rdimport.cpp' and
	'utils/rdimport/rdimport.h'.
2014-10-25 18:42:18 -04:00