42 Commits

Author SHA1 Message Date
Patrick Linstruth
f3e7906a9f Add pypad_icecast2 to install 2018-12-14 13:00:51 -08:00
Patrick Linstruth
887bfd5590 Add pypad_icecast2.py 2018-12-14 12:58:54 -08:00
Patrick Linstruth
8316ee3b32 Added pypad_tunein.py to install 2018-12-13 22:18:39 -08:00
Patrick Linstruth
d2dd8fb13b Keeping up with the PyPAD API evolution 2018-12-13 22:16:11 -08:00
Patrick Linstruth
998c58b055 Merge remote-tracking branch 'upstream/rlm2' into rlm2
Conflicts:
	ChangeLog
2018-12-13 22:14:30 -08:00
Fred Gleason
d781b694fb 2018-12-13 Fred Gleason <fredg@paravelsystems.com>
* Added a 'PyPAD.Receiver::setConfigFile()' method.
	* Added a 'PyPAD.Update::shouldBeProcessed()' method.
	* Updated the 'pypad_filewrite.py' script to use the
	'PyPAD.Update::shouldBeProcessed()' method.
	* Updated the 'pypad_udp.py' script to use the
	'PyPAD.Update::shouldBeProcessed()' method.
2018-12-13 15:29:37 -05:00
Fred Gleason
b2007ee84a 2018-12-13 Fred Gleason <fredg@paravelsystems.com>
* Added a 'make install' rule in 'apis/PyPAD/examples/' to install
	PyPAD scripts in '${libdir}/rivendell/PyPAD/'.
	* Fixed a typo in the pseudo-bangpath line in the example PyPAD
	scripts.
2018-12-13 11:36:59 -05:00
Patrick Linstruth
6912ca1ebe Fixed error in eprint and iprint 2018-12-12 15:32:27 -08:00
Patrick Linstruth
f695dce512 Fix commit and add %PYTHON_BANGPATH% 2018-12-12 15:24:05 -08:00
Patrick Linstruth
15976fbe6f Updated to use Python 3 2018-12-12 15:20:05 -08:00
Patrick Linstruth
5873eaf24b Merge remote-tracking branch 'upstream/rlm2' into rlm2
Conflicts:
	ChangeLog
2018-12-12 15:18:40 -08:00
Fred Gleason
0302445c0b 2018-12-11 Fred Gleason <fredg@paravelsystems.com>
* Renamed 'apis/PyPAD/examples/pypad_test.py' to
	'apisPyPAD/tests/pad_test.py'.
	* Added a 'hostName' field to the JSON PAD 'padUpdate' object.
	* Added a 'PyPAD.Update::hostName()' method.
	* Added a 'shortHostName' field to the JSON PAD 'padUpdate' object.
	* Added a 'PyPAD.Update::shortHostName()' method.
	* Added a 'PyPAD.Update::resolveFilepath()' method.
	* Added 'apis/PyPAD/tests/filepath_test.py.
	* Added 'api/PyPAD/examples/pypad_filewrite.py'.
2018-12-12 13:20:24 -05:00
Patrick Linstruth
306d5354be Remove Daemonize option 2018-12-11 17:12:49 -08:00
Fred Gleason
e6b46cca76 2018-12-11 Fred Gleason <fredg@paravelsystems.com>
* Renamed 'apis/PyPAD/examples/pypad_test.py' to
	'apisPyPAD/tests/pad_test.py'.
	* Added a 'hostName' field to the JSON PAD 'padUpdate' object.
	* Added a 'PyPAD.Update::hostName()' method.
	* Added a 'shortHostName' field to the JSON PAD 'padUpdate' object.
	* Added a 'PyPAD.Update::shortHostName()' method.
	* Added a 'PyPAD.Update::resolveFilepath()' method.
	* Added 'apis/PyPAD/tests/filepath_test.py.
	* Added 'api/PyPAD/examples/pypad_filewrite.py'.
2018-12-11 16:50:28 -05:00
Patrick Linstruth
be7b02b126 Initial commit 2018-12-10 19:15:06 -08:00
Fred Gleason
e2a313a07d 2018-12-10 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in the 'pypad_udp.py' script that threw an exception
	when processing multi-byte UTF-8 characters.
2018-12-10 14:09:33 -05:00
Fred Gleason
66d0d465c1 2018-12-10 Fred Gleason <fredg@paravelsystems.com>
* Added support for the 'ProcessNullUpdates=' directive in the
	'pypad_udp.py' script.
	* Added support for the log selection directives in the
	'pypad_udp.py' script.
2018-12-10 13:30:49 -05:00
Fred Gleason
b693555c87 2018-12-10 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in 'PyPAD.Update::resolvePadFields()' that caused
	incorrect rendering of 'dddd' placeholders when processing '%d(<dt>)'
	wildcards.
2018-12-10 12:44:10 -05:00
Fred Gleason
387cbad1b0 2018-12-10 Fred Gleason <fredg@paravelsystems.com>
* Changed the name of the JSON PAD field 'logMachine' to 'machine'.
	* Changed the name of the 'PyPAD.Update::logMachine()' method to
	'PyPAD.Update::machine()'.
	* Changed the name of the JSON PAD field 'logMode' to 'mode'.
	* Added a 'PyPAD.Update::mode()' method.
	* Added a 'cutNumber' field to the JSON PAD 'now' and 'next' objects.
	* Added a 'PyPAD.FIELD_CUT_NUMBER' define.
	* Added 'api/PyPAD/examples/pypad_test.py'.
2018-12-10 11:07:07 -05:00
Fred Gleason
d3e35a8cab 2018-12-09 Fred Gleason <fredg@paravelsystems.com>
* Renamed the 'PyPAD.Update::padFields()' method to
	'PyPAD.Update::resolvePadFields()'.
	* Added a 'PyPAD.Update::padField()' method.
	* Added a 'PyPAD.Update::escape()' method.
2018-12-09 19:33:21 -05:00
Fred Gleason
2f4a4ada06 2018-12-08 Fred Gleason <fredg@paravelsystems.com>
* Renamed the 'PyPAD.Update::dateTime()' method to
	'PyPAD.Update::dateTimeString()'.
	* Changed the format of the 'dateTime' field in the PAD JSON structure
	from RFC822 to ISO 8601.
	* Added a 'startDateTime' field to the 'now' and 'next' objects in
	the PAD JSON structure.
	* Added a PAD Type enumeration for use in 'PyPAD.Update'.
	* Added 'PyPAD.Update::hasPadType()' and 'PyPAD.Update.startDateTime()'
	methods.
	* Removed 'PyPAD.Update::hasNowPad()' and 'PyPAD.Update:hasNextPad()'
	methods.
	* Added support for '%d(<dt>)' and '%D(<dt>)' wildcards in
	'PyPAD.Update::padFields()'.
2018-12-08 21:55:48 -05:00
Fred Gleason
265146f01e 2018-12-07 Fred Gleason <fredg@paravelsystems.com>
* Changed the Python namespace of the PyPAD classes from
	'rivendell.PyPAD' to 'PyPAD'.
	* Renamed the 'PyPAD.PyPADReceiver' class to 'PyPAD.Receiver'.
	* Renamed the 'PyPAD.PyPADUpdate' class to 'PyPAD.Update'.
	* Added a 'port' argument to the 'PyPAD.Receiver::start()' method.
	* Added an 'escaping' argument to the 'PyPAD.Update::padFields()'
	method.
	* Added support for the 'Encoding=' directive to the 'pypad_udp.py'
	script.
2018-12-07 13:52:57 -05:00
Fred Gleason
3a65043bd6 2018-12-06 Fred Gleason <fredg@paravelsystems.com>
* Added a 'pypad_udp.py' PyPAD script.
2018-12-06 18:40:56 -05:00
Fred Gleason
03141e6421 2018-12-06 Fred Gleason <fredg@paravelsystems.com>
* Added support for '\b', '\f', '\n' '\r' and '\t' control escapes
	in the 'PyPADUpdate::padFields()' method.
2018-12-06 17:49:00 -05:00
Fred Gleason
340f834839 2018-12-06 Fred Gleason <fredg@paravelsystems.com>
* Removed support for the 'priv' argument in callbacks in PyPAD
	scripts.
2018-12-06 15:54:19 -05:00
Fred Gleason
c80f67cfd0 2018-12-06 Fred Gleason <fredg@paravelsystems.com>
* Added comments to the 'now_and_next.py' PyPAD script.
2018-12-06 13:51:43 -05:00
Fred Gleason
1d8e303101 2018-12-05 Fred Gleason <fredg@paravelsystems.com>
* Added a set of Python classes for processing PAD updates.
2018-12-05 20:15:10 -05:00
Fred Gleason
0d271e168c 2018-11-07 Fred Gleason <fredg@paravelsystems.com>
* Modified rd_deleteaudio(7) in the rivwebcapi to process UTF-8.
2018-11-07 14:28:04 -05:00
Fred Gleason
e05d707ed5 2018-11-07 Fred Gleason <fredg@paravelsystems.com>
* Fixed buffer overflow bugs in the rd_export(7) rivcwebapi call.
	* Fixed buffer overflow bugs in the rd_listservices(7) rivcwebapi call.
	* Fixed buffer overflow bugs in the rd_trimaudio(7) rivcwebapi call.
2018-11-07 14:13:11 -05:00
Fred Gleason
22541425cf 2018-10-17 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rivwebcapi's 'RD_ListCartCuts()' and
	'RD_ListCartsCuts()' functions that threw a segfault if the WebAPI
	returned an error response.
2018-10-17 12:29:27 -04:00
Fred Gleason
ae75610054 2018-10-11 Fred Gleason <fredg@paravelsystems.com>
* Added an 'RD_ListCartsCuts()' function to 'rivwebcapi'.
2018-10-11 19:02:44 -04:00
Fred Gleason
3aa50b54cf 2018-10-10 Fred Gleason <fredg@paravelsystems.com>
* Added an 'RD_ListCartCuts()' function to 'rivwebcapi'.
	* Changed the length of the 'cut_name' member of the 'rd_cut' struct
	from 11 to 41 in 'rivwebcapi'.
	* Added a 'struct rd_cut *cart_cuts' member to the 'rd_cart' struct
	in 'rivwebcapi'.
2018-10-10 17:12:00 -04:00
Fred Gleason
0602962b46 2018-10-09 Fred Gleason <fredg@paravelsystems.com>
* Alphabetized the Makefile component lists in 'rivwebcapi'.
2018-10-09 14:03:37 -04:00
Fred Gleason
cdca805ed5 2018-09-17 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug that broke the build.
2018-09-17 15:08:18 +00:00
Fred Gleason
5179ba9563 2018-09-10 Fred Gleason <fredg@paravelsystems.com>
* Quadrupled the length of strings in 'struct rd_cart' in the
	'rivwebcapi' to accomodate UTF-8 characters.
2018-09-10 12:21:25 -04:00
Fred Gleason
f13aa1e3ae 2018-09-10 Fred Gleason <fredg@paravelsystems.com>
* Fixed bugs in the 'rivwebcapi' rd_savelog(7) call that caused
	log saves to fail.
2018-09-10 09:13:15 -04:00
Fred Gleason
220fef0c56 2018-09-04 Fred Gleason <fredg@paravelsystems.com>
* Modified rd_listlog(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_listschedcodes(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_listservices(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_listsystemsettings(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_removecart(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_removecut(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_savelog(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_trimaudio(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_unassignschedcode(7) in the rivwebcapi to process UTF-8
	strings correctly.
2018-09-04 17:03:56 -04:00
Fred Gleason
5fbfed9d38 2018-08-31 Fred Gleason <fredg@paravelsystems.com>
* Fixed buffer overflow vulnerabilities in the rivwebcapi test
	harnesses.
	* Modified rd_createticket(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_addcart(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_addcut(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_addlog(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_assignschedcode(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_audioinfo(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_audiostore(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_copyaudio(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_deletelog(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_editcart(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_editcut(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_export(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_exportpeaks(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_listcart(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_listcarts(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_listcartschedcodes(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_listcut(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_listcuts(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_listgroup(7) in the rivwebcapi to process UTF-8
	strings correctly.
	* Modified rd_listgroups(7) in the rivwebcapi to process UTF-8
	strings correctly.
2018-08-31 14:28:26 -04:00
Fred Gleason
e0dd678c8e 2018-08-31 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug that broke the build under MingW32.
2018-08-31 08:41:28 -04:00
Fred Gleason
fbb87ffed3 2018-08-31 Fred Gleason <fredg@paravelsystems.com>
* Added support for cross-compiling 'rivwebcapi' for Windows with
	the MingW64 environment.
2018-08-31 08:31:39 -04:00
Fred Gleason
6a71c397a2 2018-08-30 Fred Gleason <fredg@paravelsystems.com>
* Integrated the 'Rivendell-C-API'
	[from https://github.com/RadioFreeAsia/rivendell-c-api] in
	'apis/rivwebcapi/'.
	* Added a 'rivendell-webapi' RPM subpackage.
2018-08-30 14:06:12 -04:00
Fred Gleason
28a43eeae2 2018-08-30 Fred Gleason <fredg@paravelsystems.com>
* Moved RLM subsystem to 'apis/rlm/'.
2018-08-30 12:11:42 -04:00