214 Commits

Author SHA1 Message Date
Fred Gleason
02bfe63a6a 2023-05-15 Fred Gleason <fredg@paravelsystems.com>
* Added a usage note to 'apis/cdn/scripts/akamai_purge.cdn'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2023-05-16 16:54:44 -04:00
Fred Gleason
45b5c77c71 2023-05-15 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'apis/cdn/scripts/akamai_purge.cdn' that broke
	content purging on Akamai.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2023-05-15 17:25:47 -04:00
Fred Gleason
ff63adcf3c 2023-05-14 Fred Gleason <fredg@paravelsystems.com>
* Added a 'FEEDS.CDN_PURGE_PLUGIN_PATH' field to the database.
	* Incremented the database version to 369.
	* Added ' RDFeed::cdnPurgePluginPath()' and
	'RDFeed::setCdnPurgePluginPath()' methods.
	* Removed the RD_MODULES_DIR #define from 'lib/rd.h'.
	* Changed the RD_PYPAD_SCRIPT_DIR #define in 'lib/rd.h' to be
	a static value of "/usr/lib/rivendell/pypad".
	* Added a 'CDN Purge Plug-In' control to the 'Feed' dialog in
	rdadmin(1).

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2023-05-14 08:56:49 -04:00
Fred Gleason
8f9ab765c5 2023-03-03 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in the PyPAD API that caused incorrect date/time
	 resolutions when using the 'MMM' wildcard.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2023-03-03 15:46:07 -05:00
Florent Peyraud
f5fb7e6547 Fix undefined symbol when using ProcessNullUpdates in configuration file 2022-12-21 23:06:30 +01:00
Fred Gleason
aa74b0b9a0 2022-11-27 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression in the 'pypad-icecast2' plug-in threw a stack
	dump when attempting to print an error message.
	* Fixed a regression in the 'pypad-tunein' plug-in threw a stack
	dump when attempting to print an error message.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-11-27 15:06:09 -05:00
Fred Gleason
4071607711 2022-08-18 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in PyPAD where resolution of datetimes could be
	incorrect.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-08-18 16:28:20 -04:00
Fred Gleason
4b4a7156e2 2022-01-08 Fred Gleason <fredg@paravelsystems.com>
* Reset 'apis/pypad/tests/now_and_next.py' to use localhost.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-01-08 20:53:42 -05:00
Fred Gleason
96d0a3b5b6 2022-01-08 Fred Gleason <fredg@paravelsystems.com>
* Fixed a regression that broke the 'make rpm' target.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-01-08 16:35:01 -05:00
Fred Gleason
179f23a54f 2022-01-08 Fred Gleason <fredg@paravelsystems.com>
* Consolidated the 'pypad' and 'rivwebpyapi' Python modules into
	a single 'rivendellaudio' package namespace.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-01-08 15:36:33 -05:00
Fred Gleason
f0568a8d3c 2022-01-07 Fred Gleason <fredg@paravelsystems.com>
* Reset the version of the 'rivwebpyapi' module to 4.0.0b3.
	* Changed the upload PyPI repository for the 'rivwebpyapi' module
	from 'testpypi' to 'pypi'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2022-01-07 17:05:58 -05:00
Fred Gleason
77fd2a2497 2021-12-23 Fred Gleason <fredg@paravelsystems.com>
* Added an 'AR_PYTHON_MODULE()' autoconf macro.
	* Added a test for the PyPI module build chain to 'configure.ac'.
	* Bumped the minimum Python version dependency from 3.4 to 3.6.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-12-23 11:31:11 -05:00
Fred Gleason
c1d95b01a9 2021-12-23 Fred Gleason <fredg@paravelsystems.com>
* Refactored the build of the 'python3-rivwebpyapi' deb package
	so as to include proper PyPI package metadata.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-12-23 10:00:54 -05:00
Fred Gleason
52a52cef52 2021-12-17 Fred Gleason <fredg@paravelsystems.com>
* Rearranged the ordering of the module imports in
	'apis/rivwebpyapi/api/rivwebpyapi.py' to conform to recommendations
	in Python PEP 8.
	* Added a 'requests' dependency to the PyPI package requirements
	for the 'rivwebpyapi' API.
	* Incremented the version of the 'rivwebpyapi' PyPI package to
	4.0.0b8.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-12-17 12:37:46 -05:00
Fred Gleason
4d81883a5d 2021-12-16 Fred Gleason <fredg@paravelsystems.com>
* Consolidated all canonical version declarations in 'versions/'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-12-16 16:07:16 -05:00
Fred Gleason
79e3ace473 2021-12-15 Fred Gleason <fredg@paravelsystems.com>
* Renamed the 'rivwebpyapi.rivwebpyapi()' class to
	'rivwebpyapi.Site()'.
	* Added 'make pypi' and 'make post-pypi' targets to
	'apis/rivwebpyapi/Makefile.am'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-12-15 20:27:13 -05:00
Fred Gleason
732c7300fa 2021-12-14 Fred Gleason <fredg@paravelsystems.com>
* Updated the comment headers of files below 'apis/rivwebpyapi/' to
	reflecting licensing under the GNU Lesser General Public License v2
	rather than the GNU General Public License version 2.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-12-14 15:38:14 -05:00
Fred Gleason
5b379da45f 2021-12-13 Fred Gleason <fredg@paravelsystems.com>
* Added support for HTTP connection reuse to the
	'rivewebpyapi.rivwebpyapi' class.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-12-13 16:50:21 -05:00
Fred Gleason
d276d58aac 2021-12-13 Fred Gleason <fredg@paravelsystems.com>
* Added a 'LogLock()' type class to the 'rivwebpyapi' API.
	* Modified the 'rivwebpyapi.LockLog()' call to return
	a  'rivwebpyapi.LogLock' object.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-12-13 16:29:05 -05:00
Fred Gleason
da9cb3eae3 2021-12-12 Fred Gleason <fredg@paravelsystems.com>
* Added a 'SystemSettings()' type class to the 'rivwebpyapi' API.
	* Modified the 'rivwebpyapi.ListSystemSettings()' call to return
	a  'rivwebpyapi.SystemSettings' object.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-12-12 16:54:58 -05:00
Fred Gleason
6b923ffbda 2021-12-12 Fred Gleason <fredg@paravelsystems.com>
* Added a 'Service()' type class to the 'rivwebpyapi' API.
	* Modified the 'rivwebpyapi.ListServices()' call to return
	a list of 'rivwebpyapi.Service' objects.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-12-12 16:47:21 -05:00
Fred Gleason
0443fd9341 2021-12-12 Fred Gleason <fredg@paravelsystems.com>
* Added a 'Group()' type class to the 'rivwebpyapi' API.
	* Modified the 'rivwebpyapi.ListGroup()' call to return
	a  'rivwebpyapi.Group' object.
	* Modified the 'rivwebpyapi.ListGroups()' call to return
	a list of 'rivwebpyapi.Group' objects.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-12-12 16:39:43 -05:00
Fred Gleason
b9164bad15 2021-12-12 Fred Gleason <fredg@paravelsystems.com>
* Added a 'SchedulerCode()' type class to the 'rivwebpyapi' API.
	* Modified the 'rivwebpyapi.ListCartSchedCodes()' call to return
	a list of 'rivwebpyapi.SchedulerCode' objects.
	* Modified the 'rivwebpyapi.ListSchedulerCodes()' call to return
	a list of 'rivwebpyapi.SchedulerCode' objects.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-12-12 16:28:45 -05:00
Fred Gleason
c216bc618c 2021-12-12 Fred Gleason <fredg@paravelsystems.com>
* Added a 'RivendellType()' base class to the 'rivwebpyapi' API.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-12-12 16:10:10 -05:00
Fred Gleason
9104070ba8 2021-12-12 Fred Gleason <fredg@paravelsystems.com>
* Added an 'SaveLog()' method to the 'rivwebpyapi' API.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-12-12 15:12:50 -05:00
Fred Gleason
f8f0b937bc 2021-12-11 Fred Gleason <fredg@paravelsystems.com>
* Added a 'Log' class to the 'rivwebapi' API.
	* Modified the 'ListLogs()' method to use the 'Log' class in the
	'rivwebapi' API.
	* Added a 'LogLine' class to the 'rivwebapi' API.
	* Modified the 'ListLog()' method to use the 'LogLine' class in the
	'rivwebapi' API.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-12-11 13:16:15 -05:00
Fred Gleason
dd3cee96d4 2021-12-11 Fred Gleason <fredg@paravelsystems.com>
* Added a 'Cut' class to the 'rivwebapi' API.
	* Modified the 'AddCut()', 'ListCut()' and 'ListCuts()' methods
	to use the 'Cut' class in the 'rivwebapi' API.
	* Added an 'EditCut()' method to the 'rivwebpyapi' API.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-12-11 12:24:50 -05:00
Fred Gleason
4071b6a5ac 2021-12-11 Fred Gleason <fredg@paravelsystems.com>
* Added a 'Cart' class to the 'rivwebapi' API.
	* Modified the 'AddCart()', 'ListCart()' and 'ListCarts()' methods
	to use the 'Cart' class in the 'rivwebapi' API.
	* Added an 'EditCart()' method to the 'rivwebpyapi' API.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-12-11 11:04:58 -05:00
Fred Gleason
ec616f3685 2021-12-09 Fred Gleason <fredg@paravelsystems.com>
* Added a 'PostRss()' method to the 'rivwebpyapi' API.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-12-09 16:32:45 -05:00
Fred Gleason
ac63e90bb4 2021-12-09 Fred Gleason <fredg@paravelsystems.com>
* Added a 'RemoveRss()' method to the 'rivwebpyapi' API.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-12-09 16:24:05 -05:00
Fred Gleason
c7fdbf8559 2021-12-09 Fred Gleason <fredg@paravelsystems.com>
* Added a 'RemoveImage()' method to the 'rivwebpyapi' API.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-12-09 16:10:03 -05:00
Fred Gleason
1287cce718 2021-12-09 Fred Gleason <fredg@paravelsystems.com>
* Added a 'PostImage()' method to the 'rivwebpyapi' API.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-12-09 16:02:13 -05:00
Fred Gleason
6409a778a1 2021-12-09 Fred Gleason <fredg@paravelsystems.com>
* Added a 'RemovePodcast()' method to the 'rivwebpyapi' API.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-12-09 15:37:46 -05:00
Fred Gleason
e00bf0c53f 2021-12-09 Fred Gleason <fredg@paravelsystems.com>
* Added a 'PostPodcast()' method to the 'rivwebpyapi' API.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-12-09 15:21:03 -05:00
Fred Gleason
e3db96770d 2021-12-09 Fred Gleason <fredg@paravelsystems.com>
* Added a 'GetPodcast()' method to the 'rivwebpyapi' API.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-12-09 13:43:04 -05:00
Fred Gleason
dc3915b601 2021-12-09 Fred Gleason <fredg@paravelsystems.com>
* Added a 'SavePodcast()' method to the 'rivwebpyapi' API.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-12-09 11:59:48 -05:00
Fred Gleason
cf0f9d9de8 2021-12-08 Fred Gleason <fredg@paravelsystems.com>
* Added a 'TrimAudio()' method to the 'rivwebpyapi' API.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-12-08 16:32:07 -05:00
Fred Gleason
ef111c461f 2021-12-08 Fred Gleason <fredg@paravelsystems.com>
* Added a 'Rehash()' method to the 'rivwebpyapi' API.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-12-08 15:49:27 -05:00
Fred Gleason
a23077197e 2021-12-08 Fred Gleason <fredg@paravelsystems.com>
* Added a 'LockLog()' method to the 'rivwebpyapi' API.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-12-08 14:26:48 -05:00
Fred Gleason
4b3ae602b9 2021-12-08 Fred Gleason <fredg@paravelsystems.com>
* Modified the 'rivwebpyapi.Import()' method to return a dictionary
	containing the cart and cut numbers of the import destination.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-12-08 13:24:27 -05:00
Fred Gleason
9d4e6bbf2c 2021-12-07 Fred Gleason <fredg@paravelsystems.com>
* Added a 'RivWebPyError' exception type to the 'rivwebpyapi' API.
	* Modified the 'rivwebpyapi.AddCart()' method to return a single
	dictionary.
	* Modified the 'rivwebpyapi.AddCut()' method to return a single
	dictionary.
	* Modified the 'rivwebpyapi.AudioInfo()' method to return a single
	dictionary.
	* Modified the 'rivwebpyapi.AssignSchedCode()' method to return a
	single dictionary.
	* Modified the 'rivwebpyapi.AudioStore()' method to return a single
	dictionary.
	* Modified the 'rivwebpyapi.ListCart()' method to return a single
	dictionary.
	* Modified the 'rivwebpyapi.ListCut()' method to return a single
	dictionary.
	* Modified the 'rivwebpyapi.ListGroup()' method to return a single
	dictionary.
	* Modified the 'rivwebpyapi.ListSystemSettings()' method to return a
	single dictionary.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-12-07 18:11:46 -05:00
Fred Gleason
61d3b9a19b 2021-12-07 Fred Gleason <fredg@paravelsystems.com>
* Added an 'Import()' method to the 'rivwebpyapi' API.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-12-07 13:53:35 -05:00
Fred Gleason
09c880fefa 2021-12-07 Fred Gleason <fredg@paravelsystems.com>
* Added an 'ExportPeaks()' method to the 'rivwebpyapi' API.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-12-07 12:11:10 -05:00
Fred Gleason
fa28a37c47 2021-12-07 Fred Gleason <fredg@paravelsystems.com>
* Added an 'Export()' method to the 'rivwebpyapi' API.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-12-07 11:35:54 -05:00
Fred Gleason
0dd11053fb 2021-12-06 Fred Gleason <fredg@paravelsystems.com>
* Added an 'DeleteAudio()' method to the 'rivwebpyapi' API.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-12-06 17:19:55 -05:00
Fred Gleason
63704fbd68 2021-12-06 Fred Gleason <fredg@paravelsystems.com>
* Added an 'AudioStore()' method to the 'rivwebpyapi' API.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-12-06 17:07:21 -05:00
Fred Gleason
7390967c4b 2021-12-06 Fred Gleason <fredg@paravelsystems.com>
* Added an 'AudioInfo()' method to the 'rivwebpyapi' API.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-12-06 16:55:43 -05:00
Fred Gleason
7df741b8a1 2021-12-06 Fred Gleason <fredg@paravelsystems.com>
* Added an 'UnassignSchedCode()' method to the 'rivwebpyapi' API.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-12-06 16:30:33 -05:00
Fred Gleason
0615903a32 2021-12-06 Fred Gleason <fredg@paravelsystems.com>
* Added an 'AssignSchedCode()' method to the 'rivwebpyapi' API.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-12-06 16:23:50 -05:00
Fred Gleason
8b1f655dca 2021-12-06 Fred Gleason <fredg@paravelsystems.com>
* Added an 'DeleteLog()' method to the 'rivwebpyapi' API.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
2021-12-06 16:04:39 -05:00