Kodi Community Forum
MediaFrontPage - Web interface with widget type architecture to control multiple apps - 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: MediaFrontPage - Web interface with widget type architecture to control multiple apps (/showthread.php?tid=83304)



- RaNaMaster - 2010-11-25

hermy65 Wrote:i dont suppose anyone can tell me why mine loads a blank page
maybe this i can be wrong but try turning extension=php_curl.dll on in ur PHP file


- Nick8888 - 2010-11-25

hermy65 Wrote:i dont suppose anyone can tell me why mine loads a blank page

Not without any info at all.


- hermy65 - 2010-11-25

RaNaMaster Wrote:maybe this i can be wrong but try turning extension=php_curl.dll on in ur PHP file

It ran fine before today when i downloaded the newest version from github


- Nick8888 - 2010-11-25

gugahoi Wrote:Awesome, thanks. That works perfectly. One think I noticed tho is that if I perform a search, the results get printed correctly as I expected and all but for some reason the xbmc related widgets break.

Another thing - is it possible to have the results printed on a highslide like page?

This may be a similar problem to the one that I was just experiencing. Is it just the xbmc ones or the sabnzbd too (ie all the ajax ones)? If so it could be because of errors, check your /var/log/apache2/error.log scroll to the bottom and see if any errors are occurring.

I realised I just had a couple of missing variables / css files which were causing the error


- hermy65 - 2010-11-25

Nick - what kind of info do you need from me, im new at this so tell me what you need and i will see what i can find


- Nick8888 - 2010-11-25

Targettio Wrote:I do love this project, it is a great idea and getting better and better.

One quick question, would it be possible to make a 'coming episodes' widget that didn't use sickbeard? As I don't use sickbeard (I use showrss) so can't use the sickbeard widget.
Only if someone cares to make it.


- Nick8888 - 2010-11-25

hermy65 Wrote:Nick - what kind of info do you need from me, im new at this so tell me what you need and i will see what i can find

Have you tried re-adding the files from the master branch https://github.com/nick8888/mediafrontpage?

Have you checked the file permissions?

What does your webserver log say?

What error messages does your browser produce?

What version worked, what version doesn't work?

Have you tried going back to the previous version?

Have you made any changes to your config file?


- Zarquon - 2010-11-25

hermy65 Wrote:It ran fine before today when i downloaded the newest version from github

As this code is really alpha code and changing rapidly, I would suggest renaming you config.php and then starting over with the default by copying to config.php and making edits.

Also try adding this to the top of your config.php
Code:
$DEBUG = true;
if(!empty($DEBUG) && $DEBUG) {
    ini_set('display_errors', 1);
    //ini_set('log_errors', 1);
    //ini_set('error_log', dirname(__FILE__) . '/error_log.txt');
    error_reporting(E_ALL | E_ERROR | E_WARNING | E_PARSE | E_NOTICE);
}
When the problem is solved you can then set the $DEBUG = false;


- Zarquon - 2010-11-25

gugahoi Wrote:Actually what I meant to say was, how can I have either the contents of the URL I want in a highslide from the php code? Or how can I have the contents of the php code itself, which I am 'echo'ing, displaying in a highslide?

Sorry for the newb question

Something like this - http://highslide.com/examples/form-submit.html
Well you could do it similar to what the RSS widget does. It has a popup javascript function that might meet your needs with some minor modification.


- gugahoi - 2010-11-25

Zarquon Wrote:Well you could do it similar to what the RSS widget does. It has a popup javascript function that might meet your needs with some minor modification.

Ye I though about that but I'm not too sure how it works. I'm trying to understand it now but I'll post the code I have for the search on pastebin and you guys can probably get it done way easier than me.

For now all it does is print the 15 top results of nzbmatrix.

in the results I printed name, size and category. More options are available but I wanted to keep it simple. I was thinking of maybe adding a sab icon with the link to add to queue which wouldn't be pretty hard as there already is a function for the rss feed and the NZBID is readily available with the result. Anyway, I'll show you the code so you can modify if you have the time.

http://pastebin.com/qYDi3U2d

edit: I forgot to mention these variables would be required in the config file. Also thought that it might help with the rss widget download as well as it can now use the variables so users won't need the information set in sab?
Code:
//enter NZBmatrix login
$nzbusername = '';        //username
$nzbapi = '';    //api



- toby77jo - 2010-11-25

any chance a couchpotatoe widget could be created?


- Nick8888 - 2010-11-25

not until this


- toby77jo - 2010-11-25

you are the man ..

off topic but maybe someone here could give a dummy guide step by step how to install ajaxterm in linux? Only thing I miss in mediafrontpage as link now is a web based SSH client ...


- Nick8888 - 2010-11-26

hotlobster Wrote:As i said before, image path, ( seen from firebug ) are coming from sickbeard, not MFP:

That's from MFP:
Code:
http://login:pass@url/sickbeard//showPoster/?show=153021
pointing directly to sickbeard url, not passing trought mfp php script.

It's possible one of the commits Smenus just made might fix your problem.


- Nick8888 - 2010-11-26

toby77jo Wrote:you are the man ..

off topic but maybe someone here could give a dummy guide step by step how to install ajaxterm in linux? Only thing I miss in mediafrontpage as link now is a web based SSH client ...

The control widget has the ability to execute shell commands if that's all you want to do.