• 1
  • 34
  • 35
  • 36
  • 37(current)
  • 38
WebServer HTTP API (HttpApi): for PocketPC and Web-client Remote Control Apps
Forgot to post a reply but a couple of weeks ago KeyRepeat command (see wiki) was added to implement smcnally75's request.

Reply
Just in case there are any Javascript programmers wanting to know how to create a Vista Sidebar gadget; have a look here: http://forum.xbmc.org/showthread.php?p=1...post173274

Reply
Hope someone can help, I ahve downloaded v1.91 if XBMC Control for my PDA. I can connect to XBMC which in turn connects to my PC via Wifi where all my music is stored. Is there a way I can browse by Artist/Album in the same way you browse in XBMC. I currently have to search the individual folders of my PC via the PDA which really slows this down for me.
Reply
Smile 
Hi Guys,

The source for my slightly less impressive PDA Application can be found on sourceforge. The url is;

http://xbmcm.svn.sourceforge.net/viewvc/xbmcm/

There is a readonly repository there for Subversion users.

You will need VS2008 to compile this, and please bear in mind its a beta, and I havent really done much with it since my Xbox blew up !!!

If you have any changes, let me know and I will grant you developer rights on the SourceForge project site.

Cheers

Kev
Reply
I have looked right through this thread and haven't found what I am looking for.

I have modified the default web interface to work with a 10.4" touch screen, much the same as some others here. I have all the functionality that I want, but I would like to display the currently playing song, current song progress/total, and the next song in the playlist.

Has anyone got a complete web interface available for download that I could have a look at? Perhaps someone can just give me a hand with the commands and what I have to do to make the songs and times show, and update properly. I really like this little ppc app, but like Affini, I want to use this in a browser interface.

Hopefully someone can help and point me in the right direction.

Thanks,
Jase
Reply
Have a look at LiquidIce's Ajax code https://xbmcajax.bountysource.com/downloads Unfortunately he (?) stopped developing it but it it already pretty impressive and it does what you are after. It is buggy in IE.

Reply
Hmm. My coding skills aren't really all that high. I pulled all the scripts from his ajax code and put them into mine, then put in the call for the details I wanted but I just couldn't get it working.
Reply
The actual logic you need is straightforward:

response = http://xbox/xbmcCmds/xbmcHttp?command=Ge...thumb.jpg)

//parse the response to get the fields you wish to display

thumbnail.src = http://xbox//thumb.jpg

NB the version of GetCurrentlyPlaying which has the optional parameter (as above) is only availabe in recent builds of xbmc.

Reply
nad,

First of all I am not certain exactly how to parse the results. What exactly is the thumb.jpg meant to be? I don't have this image on my xbox? I think i am close to getting what I need, I just need a little more direction.

Is it possible perhaps if someone can paste a snippit the code that deals with the parsing of the results, so I can get an idea of the code and exactly how its configured with the desired results.

I have the latest T3CH SVN.

Hopefully you can help me, some more, again.

Thanks guys,
Jase

nad Wrote:The actual logic you need is straightforward:

response = http://xbox/xbmcCmds/xbmcHttp?command=Ge...\thumb.jpg)

//parse the response to get the fields you wish to display

thumbnail.src = http://xbox//thumb.jpg

NB the version of GetCurrentlyPlaying which has the optional parameter (as above) is only availabe in recent builds of xbmc.
Reply
I was just reading more on the parameters of that command. I found in the help (which i've read about 10 times now) this: http://xbox/xbmcCmds/xbmcHttp?command=Ge...\thumb.jpg

Now it says that the parameter must be an absolute path (as seen by the xbox) I have XBMC installed to: e:\_xbmc and of course the path of the web is e:\_xbmc\web

Will this help at all?
Reply
Have you looked at the GetCurrentlyPlaying entry in the online help?:

http://wiki.xbmc.org/?title=WebServerHTTP-API

If after reading the above it is still not clear (in fact if it is not clear let me know how I can make it clearer and I'll update the entry) try the following.

Enter

http://xbox/xbmcCmds/xbmcHttp?command=Ge...\thumb.jpg)

into your browser (change the xbox address if necessary) and you will see the (very simple) format that you need to parse (use view source).

Issuing the above command also creates the thumb.jpg file on your xbox. So now enter

http://xbox/thumb.jpg

into your browser and you will see the thumbnail of the currently playing media.

Reply
Niroth: I posted my reply before seeing your latest.

q: is a drive mapping that xbmc sets up which is independent of the actual folder xbmc is installed in. Therefore my examples should still work on your set up.

Reply
Ok, I have read it all. I don't think its so much that it doesn't make sense as much as I just dont understand how to take all the commands and get the result I want. I have used the getplaying command and it does show what I want I just dont know how to display it.

Secondly, I have a host record the xbox to my xbox's IP, so thats no issue. I have punched in that command, as well as the &parameter= version as well, and it has created the thumb, but the thumb is just an image of like a movie timeboard? Is that what its supposed to be? I have read that it is supposed to be a thumb od the currently playing (I have a movie on in theback ground) I just want to make sure that the responses that I am getting are correct.

I don't know how to get all the results from the getcurrentlyplaying and then take only the filename for example and display that on the web interface.

I do apologise if I am not explaining myself properly, or if u are getting frustrated. I appreciate the help, and I have a feeling that I am just || <this close.

Jase
Reply
I take the getcurrentlyplaying response as one large string then split the data up at every <li> and ":" and reference the field to retreve the data.

A Lua example is getcurrentlyplaying.data["thumbnail"] = "q:\thumb"
Reply
Trex,

This is EXACTLY what I want to do. Are you able to show me snippits of our code that retrieves the information, as well as an example of how to call on that information.

I still dont get the thumb thing... all i see is speakers for the fact that its playing music, is it meant to show something else? If not, this little image is of no use to me, its the song name that I am after.

Perhaps if its easier you can contact me on msn @ [email protected]

Thanks again guys,
Jase

TREX6662k5 Wrote:I take the getcurrentlyplaying response as one large string then split the data up at every <li> and ":" and reference the field to retreve the data.

A Lua example is getcurrentlyplaying.data["thumbnail"] = "q:\thumb"
Reply
  • 1
  • 34
  • 35
  • 36
  • 37(current)
  • 38

Logout Mark Read Team Forum Stats Members Help
WebServer HTTP API (HttpApi): for PocketPC and Web-client Remote Control Apps0