2013-05-26, 01:23
Hi,
Ace skin is great!
Notification() built-in function text appears on top but without image. Perhaps new releases could display it too
I use this function to report to xbmc activity from my CCTV system or to send several system notifications with icons. What do you thing?
To display it you could add this code to /addons/skin.ace/720p/DialogKaiToast.xml
I.E. sending this query to the API:
http://xbmc:xbmc@IP-XBMC/jsonrpc?request={"jsonrpc":"2.0","method":"GUI.ShowNotification","params":{"title":"EXAMPLE","message":"Warning","image":"smb://[IP-SERVER]/directory/warning.png"},"displaytime":20000,"id":1}
It would display the notification with the supplied image:
Ace skin is great!
Notification() built-in function text appears on top but without image. Perhaps new releases could display it too
I use this function to report to xbmc activity from my CCTV system or to send several system notifications with icons. What do you thing?
To display it you could add this code to /addons/skin.ace/720p/DialogKaiToast.xml
PHP Code:
<control type="image" id="400">
<description>avatar</description>
<posx>1080</posx>
<posy>20</posy>
<width>130</width>
<height>130</height>
<aspectratio>keep</aspectratio>
<texture>kai-warning.png</texture>
</control>
I.E. sending this query to the API:
http://xbmc:xbmc@IP-XBMC/jsonrpc?request={"jsonrpc":"2.0","method":"GUI.ShowNotification","params":{"title":"EXAMPLE","message":"Warning","image":"smb://[IP-SERVER]/directory/warning.png"},"displaytime":20000,"id":1}
It would display the notification with the supplied image: