[mythtv-commits] mythtv/master commit: 59f88dd88 by Robert McNamara (rmcnamara)
MythTV
noreply at mythtv.org
Thu Apr 7 01:38:46 UTC 2011
Author: Robert McNamara <rmcnamara at mythtv.org>
Change Date: 2011-04-06T18:34:54-07:00
Push Date: 2011/04/06 18:38:44 -0700
Repository: mythtv
Branch: master
New Revision: 59f88dd88f2b7dc871d095f19e880b0bc499ada3
Changeset: https://github.com/MythTV/mythtv/commit/59f88dd88
Log:
API: Add a SendMessage method to the Myth service.
More or less exactly approximates the functionality of the mythmessage program, but is not usable from a browser, scriptable, callable from JSON, etc. Causes a message to appear on all frontends, or on a single frontend.
Usage:
http://BackendServerIP:6544/Myth/SendMessage?Message=Here is some message text&Address=192.168.0.5&udpPort=6948
Address and udpPort arguments are both optional. They default to 255.255.255.255 (all connected frontends) and 6948, respectively. So send a message to all frontends at once, quickly:
http://BackendServerIP:6544/Myth/SendMessage?Message=The system is going down!
Modified:
mythtv/libs/libmythservicecontracts/services/mythServices.h
mythtv/programs/mythbackend/services/myth.cpp
mythtv/programs/mythbackend/services/myth.h
More information about the mythtv-commits
mailing list