WebServer HTTP API (HttpApi): for PocketPC and Web-client Remote Control Apps

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
nad Offline
Team-XBMC Developer
Posts: 265
Joined: Feb 2004
Reputation: 0
Post: #41
incognegro: have you checked that the two roots in your xbmccontroldesktop.ini.txt file are pointing to folders that exist on your xbox? i think this is the problem.

just going offline isn't the most obvious error message - i'll change this in the next version.

nad

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: badge.gif]
find quote
salle78 Offline
Junior Member
Posts: 15
Joined: Feb 2004
Reputation: 0
Post: #42
i have a small request, it would be great if these two asp-commands also existed like http-api-commands:

xbmccfgbookmarksize(type)
xbmccfggetbookmark(type, "name/path", position)

then you could get a list of all the bookmarks (and their path) without creating a asp-page to get it from.
find quote
HaggleLad Offline
Member
Posts: 56
Joined: Oct 2004
Reputation: 0
Post: #43
firstly sorry for my ignorance but i've just quickly viewed this post coz its linked from the changelog for the new cvs (2005-04-01) which i've just installed.

looking at the screen shots from the first post it looks like an impressive piece of kit, good work.

i'm guessing this will not work on my palm tungsten t5 or will it? also is there any way to access the gui from a pc (if so whats the url)?

many thanks

Acer Revo R3700, XBMC Darma on Windows 7 - Xbox with X3, X3CP & X3IR, XBMC as dash, Xbox v1.4, Vantec 80mm Stealth Fan Mod
find quote
salle78 Offline
Junior Member
Posts: 15
Joined: Feb 2004
Reputation: 0
Post: #44
(opearmain @ april 03 2005,11:47 Wrote:also is there any way to access the gui from a pc (if so whats the url)?
if you have enabled the webserver in xbmc you can surf to your xbox, if your xbox for example has the ip 192.168.0.3, just enter http://192.168.0.3/default.asp in your webbrowser. another way is to use nad's or my windows-application, however my application don't support the new features like handle playlists and set volume, but i'm working on a new version that will support that ( http://www.geocities.com/grundir4/xbmr/ )

(opearmain @ april 03 2005,11:47 Wrote:i'm guessing this will not work on my palm tungsten t5 or will it?
nope, both mine and nad's pocketpc-application requires the .net compact framework, and will only work on pocketpc. but if you have a webbrowser on your palm you can use that to control xbmc on the same way that you can control it from your webbrowser on your pc. you may however want to install another web-skin that is more adopted for a device with a small screen like your palm.
find quote
HaggleLad Offline
Member
Posts: 56
Joined: Oct 2004
Reputation: 0
Post: #45
salle78 thanks very much for your reply. its a shame it won't work on my palm but nevermind maybe i'll just have to get a pocket pc especially!!! (ps: does it need to be wireless or does it work through infrared)

Quote:also is there any way to access the gui from a pc (if so whats the url)?
what i mean by this question is - does the application that runs on the pocket pc also work on a desktop pcConfused
(i find the standard xbmc webserver a bit cumbersome and am interested if your app does things better)
edited: i have just download the zip file and i can see that the app does have a desktop version, i'll try it at home later, looks great - thanks!!!!!!!

re: xbox media remote
i just downloaded v0.1a and it didn't work, dunno why, (i can post error messages if you'd like)

also: mvoosten commented that the zip file is corrupt. i found it was corrupt too when using my w2000 pc at home two days ago but i've just tried again at work on xp today and it works!!!

thanks everyone

Acer Revo R3700, XBMC Darma on Windows 7 - Xbox with X3, X3CP & X3IR, XBMC as dash, Xbox v1.4, Vantec 80mm Stealth Fan Mod
find quote
taily Offline
Junior Member
Posts: 4
Joined: Mar 2005
Reputation: 0
Post: #46
hey nad!
i think your doing some great work, both on the gui and the xbmc extension, which in their turn have inspired me to create one for linux.

currently i only have a command line application to feed those commands to the xbox, but i would greatly appriciate if you could go through some parameters and functions for some commands with me!
once i got those under controll i could start working on a gui =), most likely in gtk..

and to the rest of you, are there people out there who would like this kind of program? i mean surely there has to be some linux users here Tongue
find quote
nad Offline
Team-XBMC Developer
Posts: 265
Joined: Feb 2004
Reputation: 0
Post: #47
salle: i'm having a look at the asp commands and will hopefully have anupdate soon.

opearmain: as you have gathered the client doesn't work on the palm. however, i wrote the interface to be as simple as possible so that if you are able to do a bit of string processing and are able to get a network connection to xbmc from your palm it shouldn't be that difficult. i believe there are some basic like development environments for the palm which may make things more straightforward.

taily: great news to hear we are branching out to linux. are you just asking for information on what the parameters to the commands are? my lazy response would be just to point you in the direction of my client code. however, i am meaning to write some more detailed documentation. any of the commands in particular?

nad

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: badge.gif]
find quote
taily Offline
Junior Member
Posts: 4
Joined: Mar 2005
Reputation: 0
Post: #48
(nad @ april 09 2005,11:24 Wrote:taily: great news to hear we are branching out to linux. are you just asking for information on what the parameters to the commands are? my lazy response would be just to point you in the direction of my client code. however, i am meaning to write some more detailed documentation. any of the commands in particular?

nad
hmm.. not really, seems i got most of them under controll now after a little bit of experimenting Smile..

some things i still wonder about though is:
# getcurrentplaylist
# setcurrentplaylist
and
# getplaylistsong (returns the number playing and an error)

now to get working on a gui Tongue..

thanks,
taily
find quote
nad Offline
Team-XBMC Developer
Posts: 265
Joined: Feb 2004
Reputation: 0
Post: #49
taily: the playlist values are as follows

-1 = playlist_none no playlist active
0 = playlist_music playlist from music playlist window
1 = playlist_music_temp playlist started in a normal music window
2 = playlist_video playlist from music playlist window
3 = playlist_video_temp playlist started in a normal video window

the error being returned on getplaylistsong is a bug. you can safely ignore it for now, but i'll fix it in the next update.

nad

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: badge.gif]
find quote
nad Offline
Team-XBMC Developer
Posts: 265
Joined: Feb 2004
Reputation: 0
Post: #50
just updated the cvs with the new httpapi command: config. this exposes the following configuration commands which correspond to the existing asp commands and take the same parameters:

bookmarksize
getbookmark
addbookmark
savebookmark
removebookmark
saveconfiguration
getoption
setoption

examples of their use:

xbmccmds/xbmchttp?command=config&parameter=getbookmark;music;name;1

xbmccmds/xbmchttp?command=config&parameter=getoption;dashboard

nad

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: badge.gif]
find quote
Post Reply