[mythtv] Extending mythnotification UDP interface?

Jean-Yves Avenard jyavenard at gmail.com
Fri Jul 5 07:30:07 UTC 2013


For my purposes I add possibility to select predefined window definition
when notification is sent.

> Namely: if UDP received xml structure contains additional tag
> <type>some_type</type> then mythuinotification subsystem will load
> "notification-some_type" window definition from notification-ui.xml file.
> This allows to have multiple notification window definitions and select
> them via UDP.
> I'm attaching patch for this as I believe this might be nice "hidden
> feature".
>

I wish it was that simple...

The code heavily rely on all notification cards to have the same size, and
be displayed in a vertical fashion. That's it's the 3rd card for example is
all is needed to know where to place it on the screen.

If now you have different card types, all being displayed differently, it
becomes extremely more complicated to know how to display your stack of
cards; nor would the logic layout be that obvious.

So at this stage, I'm going to pass on the idea..

I feel that all can be done as it is by simply using different images for
your purpose
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-dev/attachments/20130705/1658f3fb/attachment.html>


More information about the mythtv-dev mailing list