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
Nickman Offline
Fan
Posts: 468
Joined: Oct 2003
Reputation: 0
Location: Sweden
Post: #11
(nad @ jan. 04 2005,16:05 Wrote:nickman: i am pretty sure my client app will not work on your p800 since it requires the .net compact framework to run. however, i just had a look at the p800 web site and there is a reference to visual basic so it would probably be quite simple to port the client app (written in vb.net) to the p800. the http api is so simple that it would be easy to write a client app in any language that provides basic network access. my client app doesn't use a browser interface so the use of opera is not relevant.

affini: thanks for the appreciation. i must admit i have always undertaken this project for my own benefit, i.e. i wanted the functionality that is now offered. it is possible i will extend the api further but i can't promise anything. are there any functions you had in mind?

nad
ahh.. Blush stupid me i read http api and thought you showed it on ie in your ppc. doh.

now i understand though. :lol:

  • Xbox v1.3, 64MB, 120GB HD.
  • ASRock ION 330 Ubuntu XBMC.
  • 40" HDTV 720p, AC3/DTS Receiver.
Read the xbmc online-manual, faq and search the forums before posting.
find quote
nad Offline
Team-XBMC Developer
Posts: 265
Joined: Feb 2004
Reputation: 0
Post: #12
affini: i have added the ability to send key/button messages through my api.

i have demo'd this capability in my client by having an image of an xbox controller and then when the user clicks on specifics parts of the image the coresponding message is sent to xbmc, e.g. clicking on the dpad-up will simulate the pressing of the actuall controller's dpad-up button.

i will probably upload this new version tomorrow.

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: #13
i have come across a problem so the key message update won't be available for a few days.

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
Lennon Offline
Senior Member
Posts: 105
Joined: Jul 2004
Reputation: 0
Post: #14
hello nad,

first i would like to say this is a very cool little add-on program to xbmc. great job! i've been looking for something to replace vinyl and i think this willl do it.

second, sorry to post in this forum as i'm not a developer and i didn't know how to start a new post in the support forum with a link to this one.

anways a few questions...i'm using shares to access all my mp3s so when a playlist is loaded in xbmc and viewed in the pocket pc program most of the names get cut off on the right. can a scroll bar be added to the bottom for better viewing or can just the tag info be displayed?

i also found a strange bug having to do with album covers. if a playlist is loaded in xbmc all the album cover will display on screen and in the ppc program, but if a playlist is made or if songs are selected and played from the ppc program then no album cover is displayed both on xbmc and on ppc.. (i use folder.jpg for my covers)

again, this looks like it could be great add on to xbmc and i'm looking forward to trying new versions when available...any chance it will be added to the xbmc cvs soon for easer upgrades?

thanks again
lennon
find quote
nad Offline
Team-XBMC Developer
Posts: 265
Joined: Feb 2004
Reputation: 0
Post: #15
uploaded v0.8 of the xbmc patch code. this adds a new function setkey which allows a client to send button presses or key strokes to xbmc.

also included v0.93 of the demo client which takes advantage of the new setkey function. as i mentioned a couple of posts up clicking on the image of the contrller in the buttons tab will send the appropriate button messages, but what might not be obvious (it isn't) is that clicking on the ppc keyboard (or regular keyboard if running on a pc) will send those key strokes to xbmc.

lennon: i'll see what i can do to fix your problems. i would guess that the album bug is because i don't currently use folder.jpg for the album covers. (this new version doesn't fix them but you might want to try it out anyway.)

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
jnaeff Offline
Junior Member
Posts: 7
Joined: Jan 2005
Reputation: 0
Post: #16
this os looking real interesting. how do i install this aplication. i can't found any where the files or something like that.

wo can help me..
find quote
nad Offline
Team-XBMC Developer
Posts: 265
Joined: Feb 2004
Reputation: 0
Post: #17
the link to the code is in the first post of this thread (3 jan).

to enable the functionality described in this thread you will need to modify the xbmc source code and then compile and run the patched version.

i am hoping that the patch will become part of the cvs soon.

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
Lennon Offline
Senior Member
Posts: 105
Joined: Jul 2004
Reputation: 0
Post: #18
nad,

not sure what i'm doing wrong but i don't see the new buttons tab in the new version? do i need to do somthing in the build? under settings uper right corner it does show v.093..

lennon
find quote
nad Offline
Team-XBMC Developer
Posts: 265
Joined: Feb 2004
Reputation: 0
Post: #19
lennon,

you should find two new files in the latest package, controller.map and controller.jpg. both these files need to be present in the xbmccontrol executable folder for the buttons tab to appear.

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
nianhbg Offline
Member
Posts: 85
Joined: Mar 2004
Reputation: 0
Location: sweden
Post: #20
this are looking great :kickass:

i would like to try this. but i cant find any files on sf.net to download. perhaps im looking in wrong place.

i found it Smile

Livingroom: MacMini Mid summer 2010 4Gb RAM HDMI to Pioneer PDP-434 Plasma 1080i
Kitchen: one xbox 1.1 executer 2.3 chip 120 GB in HD 720p mode
Bedroom: Computer Intel Quad 9400, 8 GB RAM, NVIDIA GTX260, Vista Ultimate 64, Ubuntu 10.10
find quote
Post Reply