[mythtv-commits] mythtv/master commit: 7b4f59ae0 by Mark Kendall (mark-kendall)

MythTV noreply at mythtv.org
Thu Dec 23 08:19:56 UTC 2010


      Author:  Mark Kendall <mkendall at mythtv.org>
 Change Date:  2010-12-23T00:19:40-08:00
   Push Date:  2010/12/23 00:19:53 -0800
  Repository:  mythtv
      Branch:  master
New Revision:  7b4f59ae03d1ffd9a3051649d57d3b06d70e9668
   Changeset:  https://github.com/MythTV/mythtv/commit/7b4f59ae0

Log:

Add a new MythUDPListener class to libmythui.

To test:- mythtvosd --template=alert --alert_text='Hello world!'

This replaces the old udpnotify class in libmythtv and the new object is
owned by MythMainWindow. The UDP port setting is reinstated and moved
from the Playback screen to the General settings pages.

I've retained the XML functionality to ensure we don't pick up stray UDP
broadcast messages and to make the most of the eXtensibility once we've
settled on a general framework and UI for messaging (e.g. to add timeout
settings).

For the time being, mythtvosd will work as above but I will replace it
with a new command line utility (mythmessage?) with the template
handling removed.

Added:

   mythtv/libs/libmythui/mythudplistener.cpp
   mythtv/libs/libmythui/mythudplistener.h

Modified:

   mythtv/libs/libmythui/libmythui.pro
   mythtv/libs/libmythui/mythmainwindow.cpp
   mythtv/programs/mythfrontend/globalsettings.cpp



More information about the mythtv-commits mailing list