problem with api
#1
Sad 
i want send a text to the xbox, from the same xbox. my code not works:

webpro = websock.read()
executebuiltin('xbmc.notification('webpro',line2)')

it send nothing and the var webpro must be from the page i read this. dont work too.

gives a faster way to send via httpHuh i work with websock = urllib.urlopen(base_url)

it was a background script, no gui needed in the first versions.
Reply
#2
webpro is a variable,
if you look, you will se that you have forgotten + to connect strings

executebuiltin('xbmc.notification('+webpro+',line2)')

Quote: - 01-06-2006 changed: order of icon and time in xbmc.notification. syntax is now xbmc.notification(header,message,time,icon).

by the way notification parameters have changed order recently. look at the quote to see what parameters it takes
http://manual.xboxmediacenter.de/wakka.p....s&v=98v



Reply
#3
the xbmc in front... hrhrhr...

thx, now works fine

i read: xbmc.notification(header,message[,time,icon])

the dimension of the icon must be? 32x32?



Reply
#4
Quote: 40x40 (if using pm3)...

http://www.xboxmediaplayer.de/cgi-bin....t=20997



Reply

Logout Mark Read Team Forum Stats Members Help
problem with api0