XBMC Community Forum
XBMC HTTP-R, Remote Control Web App for PDA, PPC, or Smartphone (developers wanted) - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for XBMC (/forumdisplay.php?fid=116)
+--- Thread: XBMC HTTP-R, Remote Control Web App for PDA, PPC, or Smartphone (developers wanted) (/showthread.php?tid=40958)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31


- mkleynhans - 2009-12-29 20:13

Hey Xini, firstly mate, congrats on the superb development work - this is really good stuff.
I am very excited at the prospect of running this on an RTI remote control,
the T3-V which has built in support of basic web browsing. Unfortunately it uses a PPC version of Internet Explorer.
It doesnt seem to work with your verion 2 - 5a releases but I am wondering whether it might work with your up and coming Java releases.

Here is the screen dump from your test site.

Width / Height test
BodyElementWidth: 480
BodyElementHidth: 640

BodyWidth: 480
BodyHeight: 640

Element ClientWidth: 480
Element ClientHeight: 640

Element OffsetWidth: 480
Element OffsetHeight: 640

Element2 ClientWidth: 0
Element2 ClientHeight: 0


OnResize function: Waiting for rotation... (or not working)

Keep up the amazing work and Merry Christmas!!!


- Johan2W - 2009-12-31 13:47

The HTTP-Remote is working quite well for me. Thanks XiniX88!

Altough there was one thing I had some trouble with:
I'm running it on XAMPP on a Windows Server (my media center is running on Ubuntu on a separate machine) and so I was trying to get the wake on lan to function.
I couldn't get it to work, even though I entered the correct information in config.php and I was able to wake the machine using another utility (WolCmd).

Finally I had a look at the wakeup function in includes\classes\modules\xbmc\xbmc.php and I found the call: socket_sendto($s, $msg, strlen($msg), 0, "255.255.255.255", $socket_number)
If I replace the general broadcast address 255.255.255.255 with my network specific broadcast address 192.168.1.255 it works like a charm.

Maybe it has something to do with my network configuration, but I thought I should let you know.


- XiniX88 - 2009-12-31 14:20

Johan2W Wrote:The HTTP-Remote is working quite well for me. Thanks XiniX88!

Altough there was one thing I had some trouble with:
I'm running it on XAMPP on a Windows Server (my media center is running on Ubuntu on a separate machine) and so I was trying to get the wake on lan to function.
I couldn't get it to work, even though I entered the correct information in config.php and I was able to wake the machine using another utility (WolCmd).

Finally I had a look at the wakeup function in includes\classes\modules\xbmc\xbmc.php and I found the call: socket_sendto($s, $msg, strlen($msg), 0, "255.255.255.255", $socket_number)
If I replace the general broadcast address 255.255.255.255 with my network specific broadcast address 192.168.1.255 it works like a charm.

Maybe it has something to do with my network configuration, but I thought I should let you know.

Yes it has Smile your router doesn't want to broadcast to ALL intern networks (though I don't think you are using VLAN's). Therefore the "magic packet" (or wake on lan packet) won't be pushed to your PC.

Also I have to know the network mask to "calculate" the specific broadcast address, don't think lots of users know what it is Wink, but I will create a config entry in which you can give a specific broadcast address in my next release

Btw, sorry to keep you all waiting, I'm trying to fix the image problem (it's more difficult than i thought (and with all the holidays I don't have much time to fix it)), but it will be here before next weekend.

Also I'm creating a TV plugin which you can find here: http://forum.xbmc.org/showthread.php?p=469175#post469175 it uses the MediaPortal TV Server to view your TV Smile

@mkleynhans: If you are using IE6 mobile, you can use 0.5.0 alpha 1 (or prev builds), Also you can install Opera Mobile 10 beta ? for free on windows mobile, this is also working with my 0.5.0 a1 < versions. The upcoming release should also support WinMo Internet Explorer 6 mobile.


- champagnecharly - 2010-01-03 16:08

Hello,

I seem to have a problem... index.PHP is showing as a text file in browser. I have
apache
- PHP 5.2
- GD Lib

All on ubuntu Karmic..

i tried XAMPP although there were conflicts.. MySql runnin and php running. So I stopped the proccesses and tried again. But to no avail. Same result.

Have extracted zip to:

USR/Share/XBMc/Web

and try and connect using

internalIp:8080/index.php

Probably something really simple going wrong but would apreciate some guidance.

Also is XAMPP really necisery if MYSQL/ apache & PHP5 are already installed?

Thanks

Looking forward to java version!! hope it runs ok on n800


- champagnecharly - 2010-01-04 03:10

Above seems sorted. I removed apache2 MySQL etc followed the readme more carefully.

However I do have 1 prob..

When I load page in browser

1)

Code:
Notice: Undefined index: version in /opt/lampp/htdocs/xbmc/4/index.php on line 44

Notice: Undefined index: info in /opt/lampp/htdocs/xbmc/4/index.php on line 46

2) All i see is forward back etc + slidebar.

I have made sure short tag are set to true.Username is still set in System > networks.. I have tried to remove username "XBMC" and setting to nothing but "XBMC" keeps comming back

Hope somebody can help.

Thanks


- XiniX88 - 2010-01-04 19:55

champagnecharly Wrote:Hello,

I seem to have a problem... index.PHP is showing as a text file in browser. I have
apache
- PHP 5.2
- GD Lib

All on ubuntu Karmic..

You have to enable the module. sudo a2enmod php5 should do the trick.

champagnecharly Wrote:Above seems sorted. I removed apache2 MySQL etc followed the readme more carefully.

However I do have 1 prob..

When I load page in browser

1)

Code:
Notice: Undefined index: version in /opt/lampp/htdocs/xbmc/4/index.php on line 44

Notice: Undefined index: info in /opt/lampp/htdocs/xbmc/4/index.php on line 46

2) All i see is forward back etc + slidebar.

I have made sure short tag are set to true.Username is still set in System > networks.. I have tried to remove username "XBMC" and setting to nothing but "XBMC" keeps comming back

Hope somebody can help.

Thanks

Modify php.ini (located in the php folder) search for safe_mode set it to safe_mode = Off .


- champagnecharly - 2010-01-09 13:39

Hi,

thanks for responding.. I tried quickly shortly after getting you message but to no avail..

Quote:You have to enable the module. sudo a2enmod php5 should do the trick.

Was enabled

Quote:Modify php.ini (located in the php folder) search for safe_mode set it to safe_mode = Off .

When I did this.. All i saw was a white (html) page with the error lines..

Putting safe_mode = on allowed me to see "some" graphics.

Am going to try yet another clean install.

Regards


Can connect but indexing gives all zero's! - konti - 2010-01-11 22:57

I'm having some problems allready mentioned here, that i cannot find a direct answer to.

Having one linux machine (xbmc + the http-r site set up) and one linux machine xbmc only). Trying to connect the xbmc+http-r to connect with the xbmc machine. Is it necessary for the user to be 'xbmc' (i changed it)?

It's connecting and i am not getting any errors. But indexing gives me all zero's as mentioned before. Also put a source in music, but also there is nothing showing. I have a movies folder set up with scraping. Library also works fine.

I read that you have to disable the password field in the xbmc webserver config. But using multiple xbmc's in one network i don't want others have access to my xbmc pc. Is there another way?

What would be the best way to secure the http-r installation for when i'm forwarding ports. Would that be Apache authentication?

Ow and one other question. Will you ever implement browsing video's. So that i can also control anime and music video's?

Thx allot for working on this!


- viaimpedita - 2010-01-13 01:00

I have installed XBMC on karmic koala and i want try XBMC HTTP-r on my htc
I have install all but when i connect on localhost ie said that the page not found.
I have unzipped the file in htdocs that i found in usr/share/doc/python-mako/...etc/htdocs, but this is the real folder?OoOo
Or i have unzipped in another folder?
plz help
ps i try to connect to localhost:8080 and the webui of xbmc is ok!Frown


- HenryFord - 2010-01-24 22:48

Dunno if you still need this, but I would love to see a version fitting to my mobile screen:

Phone: Nokia XM 5800
Browser: Opera 10

Results:
BodyElementWidth: 640
BodyElementHidth: 315

BodyWidth: 640
BodyHidth: 315

Element ClientWidth: 640
Element ClientHidth: 315

Element OffsetWidth: 640
Element OffsetHidth: 315

Element2 ClientWidth: 640
Element2 ClientHidth: 315

OnResize function: Waiting for rotation... (or not working)


Test2.html:
I can scroll down to the bottom, the control fields are moving as well
The line "The name of this item..." is not broken apart, it continues out of the screen, scrolling isn't possible, I cannot read the whole line
My header isn't woving Mode: 0

Dunno what you exactly need, just reply, I will give you anything you need!

Btw: Very nice project, very well done!