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

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (https://forum.kodi.tv/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


- cloverfield - 2009-11-16

Halibutt Wrote:Wrong address. It depends on the name of the folder you created in htdocs. In my case the HTTP-R files are located at: C:\XAMPP\xampplite\htdocs\xbmc

So the folder is named xbmc, and I find it by navigating to http://192.168.1.101/xbmc

In your case it could be 127.0.0.1/http-r, 127.0.0.1/remote, or whatever you called that folder.

Also, make sure your server is running, otherwise you won't see anything Smile
Cheers

That is not the problem... the adress is working (for local use). I get an interface (see picture), but I don't get the things you'll see in the youtube video > I only get what you see in that screenshot.


- Halibutt - 2009-11-16

That's because this app is not supposed to replace your standard HTTP interface! In my case I can go to 192.168.1.1:8080 and I would see the same thing as in your screen. So, in short, the address is working, but it's not the address you're looking for.
Cheers


- cloverfield - 2009-11-16

Halibutt Wrote:That's because this app is not supposed to replace your standard HTTP interface! In my case I can go to 192.168.1.1:8080 and I would see the same thing as in your screen. So, in short, the address is working, but it's not the address you're looking for.
Cheers
Sorry, but how do you mean that? The standard interface? Of what? xampp? xbmc? http-r?

I copied the http-r package in a folder called xbmc inside of the htdocs folder of xampp...? And I call http://IP/xbmc... isn't that correct?


- Halibutt - 2009-11-17

cloverfield Wrote:Sorry, but how do you mean that? The standard interface? Of what? xampp? xbmc? http-r?

I copied the http-r package in a folder called xbmc inside of the htdocs folder of xampp...? And I call http://IP/xbmc... isn't that correct?
That should do it. If when navigating to http://<your_servers_ip>/xbmc you see the XBMC http GUI instead of this HTTP-R interface, then most probably there's something wrong with your installation. Are you sure both XAMPP and XBMC are running?
Cheers


- Rody - 2009-11-17

When I open the URLhttp://192.168.0.197/xbmc I still get a blank page.

I noticed that every time I open this link my error log in Xammp (c:\xampplite/apache/logs/error.log) shows two new lines:

[Tue Nov 17 19:25:48 2009] [error] [client 192.168.0.197] (20024)The given path is misformatted or contained invalid characters: Cannot map GET /xbmc/%3C?=$template->path?>480/style.css HTTP/1.1 to file, referer: http://192.168.0.197/xbmc/

[Tue Nov 17 19:25:48 2009] [error] [client 192.168.0.197] (20024)The given path is misformatted or contained invalid characters: Cannot map GET /xbmc/%3C?=$template->path?>script.js HTTP/1.1 to file, referer: http://192.168.0.197/xbmc/
Could this be the reason that I get a blank page? And if so, what could be the solution?


- liriel - 2009-11-19

minimalko Wrote:I Have exactly the same problem. After I did suggested edits I get this

Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\XBMC\interface\ppc\inspire\index.php on line 62

Sorry but I am a total n00b when it comes to networks. I tried it on Nokia E71, also on PC using all known browsers including Opera 9.63..no luck though

Thanks in advance.

I am also having this problem and I installed xampp lite. Any ideas?


- XiniX88 - 2009-11-25

Well... I'm back... For all of those who can't get it working...

Quote:[Tue Nov 17 19:25:48 2009] [error] [client 192.168.0.197] (20024)The given path is misformatted or contained invalid characters: Cannot map GET /xbmc/%3C?=$template->path?>480/style.css
PHP isn't working! Configure apache correctly... use: <?php phpinfo(); ?> to see if PHP is working (add it to a new file called testphp.php).

Or just install (or reinstall) xampp

Quote:Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\XBMC\interface\ppc\inspire\index.p hp on line 62

You've probably messed up the configuration file, please readd config.php and try again.


If someone is willing to help develop (to create a n00b proof configuration script) please feel free to PM me, or write it and submit it.

Btw, I will re-upload my site tomorrow, this will also include a new version of the XBMC HTTP-R, (solved stability issues).
Edit: Site is up: http://xbmc.denhaas.info/ with version 4.0, 4.1 will be released soon, hopefully with this skin: http://i.imagehost.org/view/0962/XBMC included!


- XiniX88 - 2009-11-25

Halibutt Wrote:Yeah, TV shows as well. Interestingly, the only show that was indexed nicely and has a nice gfx is... a show I don't have. That is I have an empty folder titled ..\Firefly, a leftover from testing MIP. It has no content, yet automagically the HTTP-R displays a nice button. Where is it stored on my PC if not in the folder?

See the attached screenie (made on PC, but it looks the same on my PDA).

I will fix this problem in version 4.1. Is it possible to let you check this version first, because I don't have this error on my PHP / Apache setup.


- Halibutt - 2009-11-26

XiniX88 Wrote:I will fix this problem in version 4.1. Is it possible to let you check this version first, because I don't have this error on my PHP / Apache setup.
Yoohoo! Glad to see you back, can't wait to see this app working (especially that I started to experience serious focus stealing problems, which make my other remote solution not working).

Speaking of future releases, is it possible to make the crawler scan for icons in actual media folders rather than XBMC library? Like for instance folder.jpg file or movie.tbn? Alternatively it could scan for a non-standard filename, like wideicon.jpg, to make it work for those of us who don't use wide icons in XBMC. Most of the skins don't use them any more anyway.

Also, let me know should you need a place to host files, I got plenty on my webpage's server.
Cheers


- XiniX88 - 2009-11-26

Halibutt Wrote:Yoohoo! Glad to see you back, can't wait to see this app working (especially that I started to experience serious focus stealing problems, which make my other remote solution not working).

Speaking of future releases, is it possible to make the crawler scan for icons in actual media folders rather than XBMC library? Like for instance folder.jpg file or movie.tbn? Alternatively it could scan for a non-standard filename, like wideicon.jpg, to make it work for those of us who don't use wide icons in XBMC. Most of the skins don't use them any more anyway.

Also, let me know should you need a place to host files, I got plenty on my webpage's server.
Cheers

The XBMC HTTP API (this is what I'm using to connect to XBMC) can give me the images for a serie, movie or what-so-ever, BUT, this wasn't working when I started this script. Therefore I used the SQL database of XBMC, but it will only provide me scraped images...

I will investigate if it is currently working, so I can use it in my newer versions, else someone have to fill in a bug report. Details of this will follow in the next week.

Btw, I'm running a server at home, it has 2TB of data available so that should be enough Wink


- XiniX88 - 2009-11-26

Not yet in my download section, but available for download:

Version 0.5 Alpha 1:
- Code cleanup
- Image (getsize) error fixed
- Support for other mediacenter programs (currently MediaPortal + iPiMP TV-Server plugin) (NO SUPPORT GIVEN)
- Better indexer.php (more info, better coded)

NOTE! You will have to overwrite your config.php and reconfigure it again!!

http://xbmc.denhaas.info/XBMC_HTTP-R_v0.5a1.zip


- Halibutt - 2009-11-26

XiniX88 Wrote:Not yet in my download section, but available for download:

Version 0.5 Alpha 1:
- Code cleanup
- Image (getsize) error fixed
- Support for other mediacenter programs (currently MediaPortal + iPiMP TV-Server plugin) (NO SUPPORT GIVEN)
- Better indexer.php (more info, better coded)

NOTE! You will have to overwrite your config.php and reconfigure it again!!

http://xbmc.denhaas.info/XBMC_HTTP-R_v0.5a1.zip

Wow! At last the indexing went just fine, without any errors. However, none of my movies have any graphics and only the TV shows I set to use wideicons have graphics in HTTP-R. Which is kind of weird, as the skin I'm using for XBMC (Aeon) doesn't look too good with wideicons. Which means that I will either have them look nice on my PDA or on the TV screen.

Sadly, I know of no way to override this by, for instance, using both wideicons and posters/dvd covers in the XBMC library. Any suggestions?

Also, there seems to be some problem with music. With almost 1500 artists in my library tapping "Artist" in HTTP-R works, but it takes ages for the artist list to load.
Cheers


- angeloloi - 2009-11-28

I.ve installed everything. Xammp works, but when i try to access from mine pda to xbmc i get the message access forbidden.
This is what i see in de apache log:
Sat Nov 28 15:09:56 2009] [error] [client 192.168.1.10] (20024)The given path is misformatted or contained invalid characters: Cannot map GET /xbmc/%3C?__id=1 HTTP/1.1 to file, referer: http://192.168.1.14/xbmc/.
Any suggestions?


- GeniusCode - 2009-11-28

XiniX88 Wrote:Not yet in my download section, but available for download:

Version 0.5 Alpha 1:
- Code cleanup
- Image (getsize) error fixed
- Support for other mediacenter programs (currently MediaPortal + iPiMP TV-Server plugin) (NO SUPPORT GIVEN)
- Better indexer.php (more info, better coded)

NOTE! You will have to overwrite your config.php and reconfigure it again!!

http://xbmc.denhaas.info/XBMC_HTTP-R_v0.5a1.zip
Very Good Release! Thank you! Nod

Only one little note... If you install the latest PHP (i.e. XAMPP 1.7.2) the default settings for "short_open_tag" is off this means that PHP does not recognize code between <? and ?> because this tags are deprecated today. If you set "short_open_tag" to On all goes well.

But if not and you open http://localhost/XBMC_HTTP the browser report a script error in line 16, this is not the real problem, simply the PHP preprocessor doesn't have elaborate the code inside the <? ?> and the browser cannot use the object page.

I suggest you to modify your script, in the meantime put in the first page the right information for setup correctly the php Big Grin

I look forward for your next wonderful release! Nod


@angeloloi
You need to open your php.ini file in xampp/php directory and modify short_open_tag to On


- angeloloi - 2009-11-28

@angeloloi
You need to open your php.ini file in xampp/php directory and modify short_open_tag to On[/quote]

Thank you for the suggestion, but my short_open_tag is On