Re: [Mvpmc-devel] [Patch] Add alerting function via web server
Status: Alpha
Brought to you by:
gettler
From: Iain M. <imc...@ti...> - 2008-01-22 17:44:04
|
On Saturday 19 January 2008 23:45:18 MVallevand wrote: > On Jan 18, 2008 12:13 PM, Iain McFarlane <imc...@ti...> wrote: > > This patch allows you to pop up messages on the MVP while you are using it. > > To use it just send a POST to http://mvpmc-address/alert?title=message and a message will show on > > This is cool, what it needs an a widget to overlay an alpha overlay on > video, like the menu button gives. Until then it will need to check > some states to not overlay video. Also note the webserver is not open > active when ReplayTV is running unless the web server is on alternate > port. It won't affect the function just the usage notes. > > Martin You can do this by adding something like this to your dongle.config - I use the "Big Orange" theme hence the colour choice cat <<EOF > /tmp/user_override.xml <mvpmctheme version="0" name="user override"> <widget type="dialog" name="warning"> <color type="bg" alpha="50%">black</color> <color type="fg" alpha="50%">white</color> <color type="title_bg" alpha="50%">black</color> <color type="title_fg" alpha="50%">orange3</color> <color type="border">white</color> <style type="border_size">0</style> <font>large</font> </widget> </mvpmctheme> EOF This would change the settings for all instances of the warning dialog. Or I have another patch that adds a second warning widget and allows you to set another colour scheme specifically for alerts. Anyone got a preference? Regards, Iain |