WebServer Built-in for Remote Control
#1
if there is a webserver being built into xbmc, it would be nice if you could send text strings via http with options such as color, duration to be displayed on the screen: e.g.

[url=http://xboxipaddress/onscreendisplay?s="call]http://xboxipaddress/onscreendisplay?s="call[/url] from john doe"&time=20&color=green

i'm thinking that with this feature, users could easily write scipts to run on the pc to forward messages like:

new mail notification, caller id, rss updates, etc...

to xmbc to be displayed on the tv. perhaps you could even cache icons and sounds on the xbox and reference them for display and playback with an additional options to the onscreendisplay command, e.g.

[url=http://xboxipaddress/onscreendisplay?string="call]http://xboxipaddress/onscreendisplay?string="call[/url] from john doe"&time=20&color=green&icon="phone.bmp"&sound="ring.wav"
Reply
#2
i think that should already be possible with the build in python script support. you can start a server listening on a specified port and output the data in a messagebox on the screen.



read the xbmc online-manual, faq and search the forums before posting! do not e-mail the xbmc-team asking for support!
read/follow the forum rules! note! team-xbmc never have and never will host or distribute ms-xdk binaries/executables!
Reply
#3
that woiuld be very cool - caller id functionality would be a nice addition but this would also allow home automation program to send messages to the xbmc.

does this mean you could also use python to control xbmc through a home automation program or remote control program (netremote ?) ?

hmmm, gotta learn python, gotta learn python, gotta learn python ...
Reply
#4
nice, but you can do this with python already (i think)
if not then we should ask darkie to make this possible
frodo
XBMC Project Founder (Retired), now head programmer of MediaPortal
Reply
#5
you could have a look at spyce which is integrated into the goahead webserver http://spyce.sourceforge.net

with spyce you can call python scripts embedded in a web page which at it's turn can control xbmc.

that would mean if python can draw text to a window you could use for example http://xboxipaddress/onscree....r=green with the result, text is drawn in xbmc.

but.... Smile
if you have followed

http://www.xboxmediaplayer.de/cgi-bin....w;st=30 you would see that writing text to a window is not possible yet (you can only write text to the(settings->scritps->output window).
showing a dialog with some information is possible, but this would require that the user clicks ok to get rid of the window
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply

Logout Mark Read Team Forum Stats Members Help
WebServer Built-in for Remote Control0