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: #541
Forgot to post a reply but a couple of weeks ago KeyRepeat command (see wiki) was added to implement smcnally75's request.

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: #542
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

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
meddle Offline
Junior Member
Posts: 6
Joined: Aug 2007
Reputation: 0
Post: #543
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.
find quote
KevMoore123 Offline
Junior Member
Posts: 26
Joined: Dec 2007
Reputation: 0
Location: England
Smile  XBMCM Sourceforge Post: #544
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
find quote
Niroth Offline
Junior Member
Posts: 8
Joined: Apr 2008
Reputation: 0
Post: #545
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
find quote
nad Offline
Team-XBMC Developer
Posts: 265
Joined: Feb 2004
Reputation: 0
Post: #546
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.

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
Niroth Offline
Junior Member
Posts: 8
Joined: Apr 2008
Reputation: 0
Post: #547
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.
find quote
nad Offline
Team-XBMC Developer
Posts: 265
Joined: Feb 2004
Reputation: 0
Post: #548
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.

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]
(This post was last modified: 2008-04-11 12:01 by nad.)
find quote
Niroth Offline
Junior Member
Posts: 8
Joined: Apr 2008
Reputation: 0
Post: #549
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.
find quote
Niroth Offline
Junior Member
Posts: 8
Joined: Apr 2008
Reputation: 0
Post: #550
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?
find quote
Post Reply