18 Commits

Author SHA1 Message Date
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
1a88bcb999 2020-02-19 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug with the '%y' metadata wildcard where garbage would
	be returned if a valid year had not been set.
	* Added a 'metadata_wildcard_test' harness.
2020-02-19 11:52:40 -05: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
7abf94260f 2020-02-03 Fred Gleason <fredg@paravelsystems.com>
* Implemented the '%wm' ['MusicBrainz Recording ID'] and '%wr'
	['MusicBrainz Release ID'] metadata wildcards for PyPAD.
2020-02-03 19:07:57 -05:00
Fred Gleason
a529ed4b24 2020-01-23 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in the 'pypad-shoutcast1.py' script that threw an
	exception when processing PAD containing multi-type UTF-8 characters.
	* Added a 'python36-urllib3' dependency to the 'rivendell-pypad'
	RPM package.
2020-01-23 08:32:21 -05:00
Fred Gleason
e3dd3ef7a3 2019-12-23 Fred Gleason <fredg@paravelsystems.com>
* Added a work-around in the 'PyPAD.Receiver().__openDb()' method
	to work with versions of MySQLdb that do not support the
	'password=' parameter in 'MySQLdb.connect()'.
2019-12-23 12:53:19 -05:00
Fred Gleason
a6c1361d43 2019-09-02 Fred Gleason <fredg@paravelsystems.com>
* Modified the 'pypad' module so as not to throw a
	'UnicodeDecodeError' exception when processing a PAD update
	containing an invalid UTF-8 character.
2019-09-02 11:46:59 -04:00
Fred Gleason
1b70e21d0e 2019-09-02 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in the 'pypad' module that caused the DB connection
	to be opened in 'latin1' mode.
2019-09-02 11:39:28 -04:00
Fred Gleason
1b42a3ec36 2019-08-14 Fred Gleason <fredg@paravelsystems.com>
* Refactored the 'pypad.Update.shouldBeProcessed()' method to be LBYL.
2019-08-14 11:51:14 -04:00
Fred Gleason
56feb08896 2019-08-11 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in the 'pypad.update.shouldBeProcessed()' method
	that caused log selection directives to be ignored.
	* Refactored the 'pypad_icecast2.py' script to work properly with
	the fixed 'pypad.update.shouldBeProcessed()' method.
	* Refactored the 'pypad_shoutcast2.py' script to work properly with
	the fixed 'pypad.update.shouldBeProcessed()' method.
2019-08-11 17:44:44 -04:00
Fred Gleason
2dcae708ef 2019-07-02 Fred Gleason <fredg@paravelsystems.com>
* Implemented the '%v'/'%V' metadata wildcards for PyPAD.
2019-07-02 15:13:55 -04:00
Fred Gleason
26e4a2fa7a 2019-07-01 Fred Gleason <fredg@paravelsystems.com>
* Removed debugging code from the PyPAD library.
2019-07-01 13:16:56 -04:00
Fred Gleason
338fd54796 2019-06-24 Fred Gleason <fredg@paravelsystems.com>
* Added a 'pypad.rivendellConfig()' method.
	* Added a 'pypad.syslog()' method.
2019-06-24 18:22:36 -04:00
Fred Gleason
52dc14a3b3 2019-06-21 Fred Gleason <fredg@paravelsystems.com>
* Added a 'SyslogFacility=' directive to the '[Identity']
	section of rd.conf(5).
	* Added a 'syslog.openlog()' call to the constructor of the
	'PyPAD.Receiver' class.
	* Removed the 'syslog.openlog()' call from the 'pypad_icecast2.py'
	script.
	* Removed the 'syslog.openlog()' call from the 'pypad_live365.py'
	script.
	* Removed the 'syslog.openlog()' call from the 'pypad_serial.py'
	script.
	* Removed the 'syslog.openlog()' call from the 'pypad_shoutcast1.py'
	script.
	* Removed the 'syslog.openlog()' call from the 'pypad_spinitron.py'
	script.
	* Removed the 'syslog.openlog()' call from the 'pypad_tunein.py'
	script.
	* Removed the 'syslog.openlog()' call from the 'pypad_urlwrite.py'
	script.
	* Removed the 'syslog.openlog()' call from the 'pypad_walltime.py'
	script.
	* Removed the 'syslog.openlog()' call from the 'pypad_xcmd.py'
	script.
	* Removed the 'syslog.openlog()' call from the 'pypad_xmpad.py'
	script.
2019-06-21 18:57:33 -04:00
Fred Gleason
568fedd74a 2019-01-21 Fred Gleason <fredg@paravelsystems.com>
* Updated comments in 'pypad.Receiver::serviceDescription()' and
	'pypad.Receiver::padField()' methods to caution against confusing
	the two.
2019-01-21 16:37:24 -05:00
Fred Gleason
81049eec8e 2019-01-15 Fred Gleason <fredg@paravelsystems.com>
* Replaced deprecated 'configparser' method call in the
	'pypad.Receiver::setConfigFile()' method.
2019-01-15 17:43:37 -05:00
Fred Gleason
15b8db9164 2019-01-08 Fred Gleason <fredg@paravelsystems.com>
* Renamed the 'pypad.Receiver::setCallback()' method to
	'pypad.Receiver::setPadCallback()'.
2019-01-08 15:38:39 -05:00
Fred Gleason
087f3b811b 2019-01-08 Fred Gleason <fredg@paravelsystems.com>
* Changed the PyPAD namespace from 'PyPAD' to 'pypad'.
	* Changed the installation location of PyPAD scripts from
	'@libdir@/rivendell/PyPAD/' to '@libdir@/rivendell/pypad/'.
2019-01-08 15:27:44 -05:00