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)



- Celox - 2011-01-18

@thezoggy , thanks for the changes i love em Big Grin

imo, sickbeard looks and feels even more slick with those changes.
there is one thing i've noticed which affects the drop-down menu and web_root. i posted it over in the sickbeard forum: http://sickbeard.com/forums/viewtopic.php?f=4&t=877


- thezoggy - 2011-01-18

Celox Wrote:@thezoggy , thanks for the changes i love em Big Grin

imo, sickbeard looks and feels even more slick with those changes.
there is one thing i've noticed which affects the drop-down menu and web_root. i posted it over in the sickbeard forum: http://sickbeard.com/forums/viewtopic.php?f=4&t=877

celox this should be fixed, sorry about that. forgot the $sbRoot from the paths.. what we get for doing updates at 3 in the am :/


- thezoggy - 2011-01-18

to fix mediafrontpage with the latest changes, open up: comingepisodes.css and change:

Quote:span.MainMenu, span.SubMenu,span#tagline
to
Quote:#MainMenu, #SubMenu



- Celox - 2011-01-18

i updated sickbeard and it works as expected. Smile updating metadata atm


- archerne - 2011-01-19

zoggy, so it should look like:
div#header, #MainMenu, #SubMenu , .h2footer, .footer, .plotInfo {


Because mine still isn't working for some reason.


- Aenima99x - 2011-01-19

archerne Wrote:zoggy, so it should look like:
div#header, #MainMenu, #SubMenu , .h2footer, .footer, .plotInfo {


Because mine still isn't working for some reason.

The top line should look just like this
Code:
#MainMenu, #SubMenu, .h2footer, .footer, .plotInfo {
and make sure you clear your cache after.


- thezoggy - 2011-01-19

Aenima99x Wrote:The top line should look just like this
Code:
#MainMenu, #SubMenu, .h2footer, .footer, .plotInfo {
and make sure you clear your cache after.

yes. pretty much you can always assume that when a webapp looks funny.. its due to your cache having stale info. you may want to turn off your browser's cache for LAN apps since there really is no need to save bandwidth.. then you shouldn't have to worry about doing this as often.


- DejaVu - 2011-01-20

Aenima99x Wrote:The top line should look just like this
Code:
#MainMenu, #SubMenu, .h2footer, .footer, .plotInfo {
and make sure you clear your cache after.

Added to Git. Smile


- Nick8888 - 2011-01-22

XBL. Wrote:Just installed the script. Looks nice, works good (and I like the fact that it's build to be quite extendable). Is there a list of current available widgets?



I'm the original author of the script. Unfortunately, I do not have the time to integrate it into mediafrontpage (also, I think it needs a rewrite since some of the PHP is very ugly - especially the way it talks to the sqlite db).

This is the purpose of the "control" widget. Just add the script somewhere in your web directory and add a shortcut to the control widget which points to it.

i.e.
Code:
$shortcut["Update Movie Ratings"] = "http://path/to/script";


As for a list of widgets, just look at the default-layout.php


- Nick8888 - 2011-01-22

Also, I'm struggling to keep up to date with this thread on a regular basis so if anyone believes the first post is missing anything and needs an update please pm me.


- thezoggy - 2011-01-22

Nick8888 Wrote:Also, I'm struggling to keep up to date with this thread on a regular basis so if anyone believes the first post is missing anything and needs an update please pm me.

do you guys have a irc channel? you own forum?


- rflores2323 - 2011-01-27

I have followed the steps in the first post however I am not getting anything yet, Please see below and advise

first off I installed XAMPP for linux and its running and I have the below saying that its ok. (installed in /opt/lampp

http://img441.imageshack.us/i/screenshot007c.png/

I then went to the git page and just downloaded the zip file and extracted it. Then I moved it to /var/www as you can see below

http://img507.imageshack.us/i/screenshot008s.png/

I then updated my config.php file to this Pastebin

I renamed the files and then just right sudo nautilus browsed to the files and then right clicked and changed permission to layout.php as per below

http://img248.imageshack.us/i/screenshot009zv.png/

Then I installed this sudo apt-get install php5-curl php5-sqlite as per below

Code:
xbmc@xbmc-desktop:~$ sudo apt-get install php5-curl php5-sqlite
[sudo] password for xbmc:
Reading package lists... Done
Building dependency tree      
Reading state information... Done
php5-curl is already the newest version.
php5-sqlite is already the newest version.
The following packages were automatically installed and are no longer required:
  intel-gpu-tools libfaad0
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 41 not upgraded.
xbmc@xbmc-desktop:~$

I then put another folder in the same www directory as sbpcache and allowed write access.

I then try to go to http://192.168.1.11/mediafrontpage/ and get the below error

http://img266.imageshack.us/i/screenshot011lj.png/

or my external address at the below and get another error

http://img832.imageshack.us/i/screenshot012m.png/

So what am I doing wrong?


- Nick8888 - 2011-01-27

thezoggy: no, we have just used pm on the xbmc forums and on github in the past.

rflores2323: Doesn't look like your webserver is working. Make sure you've put the files in the right folder and test by putting a basic text file in there named test.htm

then browse to http://192.168.1.11/test

if you cant see the contents of the file then you will need to troubleshoot on the xampp forum/website.


- rflores2323 - 2011-01-28

Nick8888 Wrote:thezoggy: no, we have just used pm on the xbmc forums and on github in the past.

rflores2323: Doesn't look like your webserver is working. Make sure you've put the files in the right folder and test by putting a basic text file in there named test.htm

then browse to http://192.168.1.11/test

if you cant see the contents of the file then you will need to troubleshoot on the xampp forum/website.

I read that the root directory is in /opt/lampp/htdocs and I put the test folder with a test.htm and I see file when I go to http://192.168.1.11/test.

I then put the folder mediafrontpage (renamed) to the same place and go to http://192.168.1.11/mediafrontpage/
and get a message sayings

It works!

This is the default web page for this server.

The web server software is running but no content has been added, yet.

I have some things added on couch potato and sickbeard but nothing showing up. Im not sure if i did my config correctly. never done one before. Here is a new one iwth some changes on it as i think I originally put some things in the wrong places. http://pastebin.com/NKiWSjUQ


- rflores2323 - 2011-01-29

any help on this anyone?