![]() |
|
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) |
- skusa93 - 2010-04-17 06:11 Been struggling with this for hours now and about to give up, hopefully someone can figure it out. In Config.php I've set the IP to 192.168.1.193, port to 8080 and my MAC is set correctly. I believe I have XAMPP Lite installed and working properly, 192.168.1.193 returns a workable XAMPP page. Testing this with my laptop on my local network before trying going outside my LAN, and "192.168.1.193/interface/" returns an index page, with one folder inside "XBMC". Opening the folder XBMC returns a blank white page titled "XBMC HTTP-R". Going to 192.168.1.193/interface/XBMC/indexing.php returns a page that says "Can't Index: HTPC, is offline!" Not sure what's going wrong?' Edit: Been messing with it again, and although I've no idea what I did, I got it to sort of work. now 192.168.1.193/interface/xbmc returns the HTTP-R remote, but it says "XBMC is offline" and "This machine is not responding" with an option to "Turn on". If I click the turn on option, it will just sit unresponsive until I close the page. Suggestions? - rvank - 2010-04-17 22:43 skusa93 Wrote:Been struggling with this for hours now and about to give up, hopefully someone can figure it out. The ip-address in the config.php file should point to your xbmc machine, took me a while to figure that one out. suc6 - Bram77 - 2010-04-18 01:29 For getimagesize you'll need the PHP GDlib extension to be installed. And if you're using the latest SVN version of XBMC it'll have the new webservice and this app might not work as the old HTTP api is deprecated. - tamago_quin - 2010-04-23 03:47 I'd like to change a few things in HTTP-R for my own personal needs but I'm having a difficult time with sqlite and php syntax. I would like to create a string similar to this: "E:\Movies\filename-fanart.jpg" here is what I think should be done, but I can't write it correctly Code: SELECT strPath FROM path WHERE (strContent = 'movies'), LEFT(strFilename)-4 FROM files, || '-fanart.jpg' WHERE idFile.file=idfile.movieI don't know if I should use LEFT or Right to remove the filename suffix(.mkv .avi etc). this is confusing maybe but some help would be great! - transcender - 2010-04-27 07:39 tamago_quin Wrote:I'd like to change a few things in HTTP-R for my own personal needs but I'm having a difficult time with sqlite and php syntax. I would like to create a string similar to this: "E:\Movies\filename-fanart.jpg" I dont really know sql or what your refrencing but couldnt strip the extension before the SQL query like: stfilename =left(strfilename)-4 cause i think LEFT is a sql command. - tamago_quin - 2010-04-28 16:27 transcender Wrote:I dont really know sql or what your refrencing but couldnt strip the extension before the SQL query like: stfilename =left(strfilename)-4 cause i think LEFT is a sql command. it seems left or right do not work with sqlite, but I can use a nested replace command. Not perfect but it does the job. Code: select path.strPath || replace(replace(files.strFilename, '.mkv',''),'.avi','') || '-fanart.jpg' from path, files, movie where path.strContent='movies' and files.idPath='1' and movie.idFile=files.idFilenow my problem is the php code. this is the current code: Quote:public function get_thumb() this is what I have changed it to: Quote:public function get_thumb()I get no errors when I run indexing.php but it doesn't process any images. is my syntax incorrect? remind you, I know absolutely nothing about php... I'm guessing that return image part is incorrect...
- Juannie - 2010-05-08 23:37 I'm trying to get this working and running into a problem - index.php is blank. I saw one suggestion to make a test php file and did that (result at the bottom, but it looked fine to me). I'm using XBMC-live on my PC, and trying to use a stand alone setup. The strange thing is that indexing.php seems to be working because it is filling the images directory with a bunch of jpgs that have been created from my media collection. I'm using IP address and not netbios name if that matters. Are there any other settings I need to enable in xbmc (other than the webserver)? Any suggestions to fix this or better diagnose it? Edit: I'm trying to browse the site from a PC (not a mobile device) and have tried a few different browsers if it makes a difference... Code: PHP Version 5.2.6-3ubuntu4.5- robweber - 2010-05-11 22:50 This is quickly becoming my favorite applications for controlling XBMC. It works especially well for my outside yard speakers so that I can queue up music through the XBMC frontend inside the house while having cook-outs and such. My question though is regarding the new JSON web api that will be out with the new version of XBMC (already in the SVN). Are there any plans to overhaul the code when this becomes available? I'm one of those people that likes to jump to the new version of XBMC as soon as it comes out so I'd hate to miss out on this app because of the API differences. thanks for all the great work on it so far. requirements? - transcender - 2010-05-17 04:19 Are there other requirements? the indexing page works but blank index page? the default webpage works. Is there a minimum XBMC rev? I'm trying with the latest xbmc live / linux build on a nettop but with the sql / apache install on seperate server? - Regul - 2010-05-19 10:55 I am having some problems with getting this to work. I have read the whole thread, and tried everything in here what could help solve my errors, but nothing worked. I am getting the following errors when going to index.php: Notice: Undefined index: version in C:\wamp\www\index.php on line 44 Notice: Undefined index: info in C:\wamp\www\index.php on line 46 Notice: Undefined index: __id in C:\wamp\www\interface\ppc\inspire\index.php on line 19 Safe mode is off Short tags are on I defined the ip and port in the config.php I am getting those errors with 3 buttons to select a xbmc. Anyone around that can help me? Would be much appreciated!
|