if anyone is using my xbmc client app on a pc (it is written for the pocketpc but because it is written with .net also works on a pc) and have just upgarded to framework 1.1 sp1 they will find it no longer works. i believe it is because there is a slight flaw in the http headers generated by the xbmc web server (goahead). sp1 detects this flaw as a potential security threat. (http://blogs.msdn.com/gzunino/archive/20...25881.aspx)
to get around this problem you can turn off sp1's tight security checking by creating a text file with the file name 'xbmccontrol.exe.config' in the same folder as 'xbmccontrol.exe' and with the following content:
<configuration>
<system.net>
<settings>
<httpwebrequest useunsafeheaderparsing='true' />
</settings>
</system.net>
</configuration>
hope this is of use to someone.
(should this post be in the support section? i am sure it will be moved if it should be.)
nad
WebServer HTTP API (HttpApi): for PocketPC and Web-client Remote Control Apps
nad
Team-XBMC Developer Posts: 265 Joined: Feb 2004 Reputation: 0 |
2004-11-07 00:32
Post: #1
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. ![]() |
| find quote |
ca001560
Junior Member Posts: 5 Joined: Aug 2004 Reputation: 0 |
2004-12-09 18:13
Post: #2
i'm having problems with this app and could use some help please.
i know the xbox is working as http://xbox/xbmccmds/xbmchttp?command=ge...tlyplaying works fine. whenever i load the control app though it just hangs. i tried the sp1 fix but still had no luck. any help you can give with this would be great as the web interface just doesen't do what i want cheers |
| find quote |
elupus
Team-XBMC Developer Posts: 3,776 Joined: Mar 2004 Reputation: 2 |
2004-12-10 20:12
Post: #3
nad, i looked at your patch and while i like the idea behind it and most of the implementations, i was kinda discuraged to see that it was based on http pages that was returned which then had to be parsed.
do you think you could rewrite it so that it's has a more standardized xml approch to it. i'm not that good at xml myself. but by just making sure all returns confine to xml standards. i bet it would be much easier to parse, plus it would be easier to document. also, that issue you wrote about at the start of this thread, if you could track that down in goahead it would be awesome. an extension to that would be to provide xbmc with a soap interface (webservices), which would make it even better. but that is possibly a future addition. elupus 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. ![]() |
| find quote |
nad
Team-XBMC Developer Posts: 265 Joined: Feb 2004 Reputation: 0 |
2004-12-12 13:20
Post: #4
ca001560: it sounds as if you have not specified the correct ip address of your xbox in the xbmccontrol.ini.txt file. the ini file that is created when you first run the app is just a dummy place holder ready for you to modify with your own settings. also, are you running it on a pc or a pocketpc? if the latter are you sure the network is working properly? the 1.1 sp1 fix mentioned in this thread wouldn't show up as a hang but rather as an error message on the network status display on the app's exit tab.
elupus: there is very little structure in the information returned by the api it is generally all line based (e.g. entries in a folder; entries in a playlist; curent playing item) so it is already very easy to parse. i would argue that it is easier to parse as it currently is unless you wish to use some xml parsing tool/code. in my client app i provide the code to parse the information. as far as a web service interface i thought about that myself when i started coding the interface but at that time i just wanted something availabel quickly to expose the information and functionality that i required to control the audio features of xbmc without turningthe tv on! i may return to the idea but not for a while i'm afraid. bob 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. ![]() |
| find quote |
nad
Team-XBMC Developer Posts: 265 Joined: Feb 2004 Reputation: 0 |
2005-01-03 18:53
Post: #5
i have just uploaded a (slightly) modified version of my xbmc http patch and a new feature complete (until the next time!)version of the demo pocketpc and windows client.
[edit 31 july 2005] the patch is now part of the cvs so the patch is no longer required and you can get the client here client the following are some screen shots (kindly hosted by imageshack): ![]() ![]() ![]() ![]() 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. ![]() |
| find quote |
Nickman
Fan Joined: Oct 2003 Reputation: 0 Location: Sweden |
2005-01-04 01:40
Post: #6
(nad @ jan. 03 2005,17:53 Wrote:i have just uploaded a (slightly) modified version of my xbmc http patch and a new feature complete (until the next time!)version of the demo pocketpc and windows client.looks cool :kickass: i wounder if it will work on my p800 and opera
|
| find quote |
Livin
Posting Freak Posts: 3,446 Joined: May 2004 Reputation: 17 Location: above ground |
2005-01-04 06:15
Post: #7
nad,
i (and others i'm sure) appreciate you extending the http functionality. do you plan to continure extending the api to include more xbmc functions? this would be a great addition and used by many i'd guess. I'm not an expert but I play one at work. |
| find quote |
nad
Team-XBMC Developer Posts: 265 Joined: Feb 2004 Reputation: 0 |
2005-01-04 17:05
Post: #8
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 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. ![]() |
| find quote |
Livin
Posting Freak Posts: 3,446 Joined: May 2004 Reputation: 17 Location: above ground |
2005-01-04 22:01
Post: #9
i'd love to see these features...
1) modify xbmc settings 2) have a "mimic" mode. where the web site acts as "remote control". so, a change on the web site (say choosing "my videos" would trigger a change on the tv screen so the screen enters "my videos"... like a big remote! I'm not an expert but I play one at work. |
| find quote |
nad
Team-XBMC Developer Posts: 265 Joined: Feb 2004 Reputation: 0 |
2005-01-08 13:30
Post: #10
affini,
1) i believe this would involve quite a lot of coding especially on the gui side most of which would be a replication of the core xbmc stuff so i doubt if this will come any time soon. 2) i'll have a look into this one. i don't need this myself since i use my ppc as an alternative to the tv interface, obviously when listening to music rather than watching videos! 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. ![]() |
| find quote |

![[Image: badge.gif]](http://www.ohloh.net/projects/149/badge.gif)
![[Image: badge.gif]](http://www.ohloh.net/p/xbmc/badge.gif)
![[Image: maintags9or.jpg]](http://img129.exs.cx/img129/1667/maintags9or.jpg)
![[Image: mainreview6ap.jpg]](http://img129.exs.cx/img129/15/mainreview6ap.jpg)
![[Image: browser8np.jpg]](http://img129.exs.cx/img129/796/browser8np.jpg)
![[Image: playlist8sf.jpg]](http://img129.exs.cx/img129/4554/playlist8sf.jpg)
Search
Help