[mythtv-commits] mythtv/master commit: 107fcd22b by Mark Kendall (mark-kendall)
MythTV
noreply at mythtv.org
Fri Feb 4 00:52:00 UTC 2011
Author: Mark Kendall <mkendall at mythtv.org>
Change Date: 2011-02-03T16:51:46-08:00
Push Date: 2011/02/03 16:51:58 -0800
Repository: mythtv
Branch: master
New Revision: 107fcd22bcfec4d629a8c321aef8b888ac2e78a2
Changeset: https://github.com/MythTV/mythtv/commit/107fcd22b
Log:
UPnP: Extend the MythFEXML interface to send actions directly to the
frontend.
In summary:-
Send a message to the frontend (N.B. syntax change).
- http://mythfrontend-ip:6547/MythFE/SendMessage?text='Hello world'
Send an action (e.g. UP) to the frontend.
- http://mythfrontend-ip:6547/MythFE/SendAction?action=UP
A list of valid actions is cached internally and used to validate the
submitted action. To retrieve a simple XML formatted list of those
actions, their descriptions and the contexts in which they are valid.
- http://mythfrontend-ip:6547/MythFE/GetActionList
To display an html test page of all valid actions.
- http://mythfrontend-ip:6547/MythFE/GetActionTest
GetServeDesc returns the service description for the first time (the
description needs updating).
N.B. There is every possibility that this interface will be tweaked
before 0.25 is released.
There are some issues around languages/translations with the action
descriptions and I make no apologies for the quality of my html/xml
(patches willingly accepted)
Modified:
mythtv/programs/mythfrontend/mythfexml.cpp
mythtv/programs/mythfrontend/mythfexml.h
More information about the mythtv-commits
mailing list