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)



- DejaVu - 2011-08-26

rflores2323 Wrote:has a way been figured out how to update automatically from the application?

Yes. Settings page automatically recognises what Commit your on. If your behind, Gugahoi's update script updates MFP for you. Wink


- rflores2323 - 2011-08-26

DejaVu Wrote:Yes. Settings page automatically recognises what Commit your on. If your behind, Gugahoi's update script updates MFP for you. Wink

I a this on the main mfp repo or on gugahoi? Has your been updated with this? Also where do I get script or does it install when I clone a repo?


- _Mikie_ - 2011-08-26

A while back the Crazy Layout branch was half developed. It basically meant that you could have multiple pages for widgets. Is anyone still interested in this? Would they like me to redevelop it or not?


- tom101 - 2011-08-26

I just installed this on my linkstation NAS with apache2. I can load the pages and configure everything, permissions for the folder are set to 777 recursively, but the main page just shows the widget bars with no content. Does anyone have a clue why that might be?

Results of my server check are:

PHP Version 5.2.6-1+lenny13
LibXML found
cURL found
Config found.
layout.php found

I installed DejaVu's Alternative version too. I can see from that that my connections to programs are good.


- prophetizer - 2011-08-26

i know dejavu somewhere in this thread explained the different branches, but i can't find it. so what are the differences?

also, since nick8888 is MIA how come nobody started a new thread, so that the first post can be updated with all relevant information?

thanks


- _Mikie_ - 2011-08-26

prophetizer Wrote:i know dejavu somewhere in this thread explained the different branches, but i can't find it. so what are the differences?

also, since nick8888 is MIA how come nobody started a new thread, so that the first post can be updated with all relevant information?

thanks

If you look in my signature. The Master is the Master obviously and that's where all the changes once checked end up. Within that there are a couple branches which are old and I wouldn't advice using as they are so out dated.

DeJaVu's one is his own personal adaptation of mfp which has a different menu structure but ultimately has everything the Master has. Gugahoi and mine are similar to the Masters however we test out new things so they aren't always 100% working. They do however contain new features that are being looked into which might make the Master at some stage.

All the relevant info is on the wiki on the Master Repo if you are looking for it. I think a new thread hasn't been started just because its easier if everything is kept together.

Regards

@gugahoi and DeJaVu : The lengths of the widgets. Some of them are defined in the css or hard coded into the widgets. How do the others get there length?


- tom101 - 2011-08-26

I found some errors in the apache log

http://pastebin.com/ZGXpbCZL

like

Quote:[Fri Aug 26 17:45:00 2011] [error] [client 192.168.2.101] File does not exist: /var/www/js/jquery.scrollTo-1.3.3-min.js, referer: http://192.168.2.99:19815/settings.php

Is this relevant to the issue I'm having?

Oh, and another one at the top of the settings page

Quote:Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /var/www/settings.php:58) in /var/www/config.php on line 432



- Erwin - 2011-08-26

I just finished an install of mfp that almost works on a synology nas.
i used firefox 6.0 on a windows Xp professional PC to access the settings page.

My first remark concenrs the settings page.
When you go to: Settings --> Nav Bar
Add only one new item (at the bottom)
Click "Save & Reload"
Then: the page is not refreshed. After a manual refresh all navlinks are gone. The Nav Bar is empty. Adding them all in one action does work.

Second question:
The xbmc and xwmm links don't work. What can be wrong ?
XBMC runs on another PC (192.168.1.135)
I can acces the default xbmc webinterface at http://192.168.1.135:8080/
I can access the XWMM webinterface at http://192.168.135:8080/XWMM/movies/index.html
If I ommit "index.html", firefox gives the following error message:
Quote:The page isn't redirecting properly
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
I have added following in the apache config file on the synology NAS:
Quote:<Location /xbmc/>
ProxyPass http://192.168.1.135:8080/
ProxyPassReverse http://192.168.1.135:8080/
<>Location>
<Location /xwmm/>
ProxyPass http://192.168.1.135:8080/XWMM/movies/
ProxyPassReverse http://192.168.1.135:8080/XWMM/movies/
<>Location>
I have added these two items to the Nav Bar:
XBMC --> /xbmc/
XWMM --> /xwmm/

manually typing: http://nas/xbmc/ shows an almost empty page with two bullets: Movies and Music
manually typing: http://nas/xwmm/ shows the Synology "sorry this page is not found" page and the url i type is replaced with: http://nas/XWMM/movies//

Can sombody point me in the right diraction please ?


- _Mikie_ - 2011-08-26

tom101 Wrote:I found some errors in the apache log

http://pastebin.com/ZGXpbCZL

like



Is this relevant to the issue I'm having?

Oh, and another one at the top of the settings page

The first one along with your paste bin results seem to be errors which might be causing it. Strange that it works for everyone else though because it probably shouldn't. If you open settings.php like 70ish

PHP Code:
<script src="js/jquery.scrollTo-1.3.3-min.js" type="text/javascript"></script>
  <
script src="js/jquery.localscroll-1.2.5-min.js" type="text/javascript"></script>
  <
script src="js/jquery.serialScroll-1.2.1-min.js" type="text/javascript"></script

replace the above with

PHP Code:
<script src="js/jquery.scrollTo-1.4.2-min.js" type="text/javascript"></script>
  <
script src="js/jquery.localscroll-1.2.7-min.js" type="text/javascript"></script>
  <
script src="js/jquery.serialScroll-1.2.2-min.js" type="text/javascript"></script

That should remove most of the errors

The one below I'm not quite sure about though but try it with the corrections about and lets see how it goes.
PHP Code:
[Fri Aug 26 17:46:22 2011] [error] [client 192.168.2.101File does not exist: /var/www/css/customcss/.cssrefererhttp://192.168.2.99:19815/settings.php 

Your last error I don't know either. Sorry

@gugahoi, please remove/fix these links. I can't send a push to the repo as I'm ahead of it now.


- el_cabong - 2011-08-27

_Mikie_ Wrote:A while back the Crazy Layout branch was half developed. It basically meant that you could have multiple pages for widgets. Is anyone still interested in this? Would they like me to redevelop it or not?

I would like to see some more development with this idea.

I think it will work well if/when more people begin writing widgets for this interface. Also, this design can help with multiple room htpc setups, where each room can have its own page with its own control/info widgets.


- prophetizer - 2011-08-27

_Mikie_ Wrote:If you look in my signature. The Master is the Master obviously and that's where all the changes once checked end up. Within that there are a couple branches which are old and I wouldn't advice using as they are so out dated.

DeJaVu's one is his own personal adaptation of mfp which has a different menu structure but ultimately has everything the Master has. Gugahoi and mine are similar to the Masters however we test out new things so they aren't always 100% working. They do however contain new features that are being looked into which might make the Master at some stage.

All the relevant info is on the wiki on the Master Repo if you are looking for it. I think a new thread hasn't been started just because its easier if everything is kept together.

Regards

@gugahoi and DeJaVu : The lengths of the widgets. Some of them are defined in the css or hard coded into the widgets. How do the others get there length?

thanks for the info, i appreciate it.Big Grin


- Nick8888 - 2011-08-27

Quote:MediaFrontPage's First post is outdated. You should now follow these (WIP) instructions to install it. We do not have contact with Nick8888 ATM to update it.

prophetizer Wrote:i know dejavu somewhere in this thread explained the different branches, but i can't find it. so what are the differences?

also, since nick8888 is MIA how come nobody started a new thread, so that the first post can be updated with all relevant information?

thanks

I have said it before but I'll say it again... PM me with any changes required on the first post or website. I am yet to receive any.


- _Mikie_ - 2011-08-27

el_cabong Wrote:I would like to see some more development with this idea.

I think it will work well if/when more people begin writing widgets for this interface. Also, this design can help with multiple room htpc setups, where each room can have its own page with its own control/info widgets.

How many pages? 4 good?


- tom101 - 2011-08-27

Hi Mikie, thanks for your help. Now I get these errors in my apache logs
PHP Code:
[Sat Aug 27 09:42:11 2011] [error] [client 192.168.2.101File does not exist: /var/www/css/customcss/.cssrefererhttp://192.168.2.99:19815/index.php
[Sat Aug 27 09:44:09 2011] [error] [client 192.168.2.101File does not exist: /var/www/mediafrontpage
[Sat Aug 27 10:06:02 2011] [error] [client 192.168.2.101File does not exist: /var/www/mfp/css/footer.cssrefererhttp://192.168.2.99:19815/mfp/settings.php
[Sat Aug 27 10:06:03 2011] [error] [client 192.168.2.101File does not exist: /var/www/mfp/css/footer.cssrefererhttp://192.168.2.99:19815/mfp/settings.php
[Sat Aug 27 10:06:07 2011] [error] [client 192.168.2.101File does not exist: /var/www/mfp/css/.cssrefererhttp://192.168.2.99:19815/mfp/mediafrontpage.php
[Sat Aug 27 10:06:07 2011] [error] [client 192.168.2.101File does not exist: /var/www/mfp/css/.cssrefererhttp://192.168.2.99:19815/mfp/mediafrontpage.php 

By the way, I deleted the old contents of /var/www and have downloaded mediafrontpage anew to /var/www/mfp is it OK to do that or does everything need to live in /var/www?


- _Mikie_ - 2011-08-27

tom101 Wrote:Hi Mikie, thanks for your help. Now I get these errors in my apache logs
PHP Code:
[Sat Aug 27 09:42:11 2011] [error] [client 192.168.2.101File does not exist: /var/www/css/customcss/.cssrefererhttp://192.168.2.99:19815/index.php
[Sat Aug 27 09:44:09 2011] [error] [client 192.168.2.101File does not exist: /var/www/mediafrontpage
[Sat Aug 27 10:06:02 2011] [error] [client 192.168.2.101File does not exist: /var/www/mfp/css/footer.cssrefererhttp://192.168.2.99:19815/mfp/settings.php
[Sat Aug 27 10:06:03 2011] [error] [client 192.168.2.101File does not exist: /var/www/mfp/css/footer.cssrefererhttp://192.168.2.99:19815/mfp/settings.php
[Sat Aug 27 10:06:07 2011] [error] [client 192.168.2.101File does not exist: /var/www/mfp/css/.cssrefererhttp://192.168.2.99:19815/mfp/mediafrontpage.php
[Sat Aug 27 10:06:07 2011] [error] [client 192.168.2.101File does not exist: /var/www/mfp/css/.cssrefererhttp://192.168.2.99:19815/mfp/mediafrontpage.php 

By the way, I deleted the old contents of /var/www and have downloaded mediafrontpage anew to /var/www/mfp is it OK to do that or does everything need to live in /var/www?

Line 69 in settings.php, delete it.

PHP Code:
<link rel="stylesheet" type="text/css" href="css/footer.css"

The 3 referring /css/.css aren't an issue. Its just a bad bit of code. It got to do with themes. It will need a rewrite which I will do and get it put into the master. Shouldn't affect anything. If you want to make these changes, look here https://github.com/Mikie-Ghost/mediafrontpage/commit/9a4b3e738545e4781298811b3d6375352c3f3cb3

In your files replace the red with the green. The second one is settings.php not themes. My version just working slightly different so has a different name.

It should work perfectly when you put it into a folder. Make that one change and see if you still get errors. I however don't think you not seeing the widgets is because of the errors but they need fixing never the less.

What OS are you running?