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)



- kontax - 2011-08-12

DejaVu Wrote:I'm guessing here, but check to make sure your PHP.ini can extract zip files.

Good guess Smile That's a nice addition, well played lads!

For anyone else searching this, the first error I got was because I had open_basedir enabled. I think this also affects the hard drive widget, as php doesn't have permissions to view flags of folders outside the one's you specify.


How to update? - shadowfighter - 2011-08-12

Hi,

I followed the new install instructions, but how can I update? Or is it automatically?

Thanks!


- _Mikie_ - 2011-08-12

shadowfighter Wrote:Hi,

I followed the new install instructions, but how can I update? Or is it automatically?

Thanks!

I think only DejaVu repo has the update option currently. Unless you running that? Its under the settings.


- shadowfighter - 2011-08-12

_Mikie_ Wrote:I think only DejaVu repo has the update option currently. Unless you running that? Its under the settings.

No not seeing an auto update version. Is there a way to use GIT to update the code?


- jdutia - 2011-08-12

Hi, i would like to make a feature request.
I was wondering if you can add a widget to your webinterface which displays the status of various services like sabnzbd, couchpotato, sickbeard, airplay server, samba server etc...
Also, if it is possible to add the ability to start and stop these services or restart them when they become unstable.

i understand these can be easily achieved from within their own individual interfaces, but since mediafrontpage was designed to be a unified interface for various services, this feature would make it even more better.

what do you say?
Thanks


- _Mikie_ - 2011-08-12

How can I check which section a widget belongs to? Any quick and easy function?


SubSonic in MFP - lunias - 2011-08-12

I've just got MFP up and running. I am using DejaVu's git repo (checked out this morning), but SubSonic doesn't work properly. I can access it through the frame inside of MFP, but the play/pause buttons do not work. If I go directly to my-ip:4040 outside of MFP it works flawlessly. I have tested it in Chrome, Safari, and Conkeror with similar results. Is there something that I am missing here?

Are there any logs that I can grab that would be beneficial?

Thanks in advance,

Lunias


- kontax - 2011-08-12

lunias Wrote:I've just got MFP up and running. I am using DejaVu's git repo (checked out this morning), but SubSonic doesn't work properly. I can access it through the frame inside of MFP, but the play/pause buttons do not work. If I go directly to my-ip:4040 outside of MFP it works flawlessly. I have tested it in Chrome, Safari, and Conkeror with similar results. Is there something that I am missing here?

Are there any logs that I can grab that would be beneficial?

Thanks in advance,

Lunias

I believe this is a javascript security issue - mine don't play because I get the following error:

Unsafe JavaScript attempt to access frame with URL etc....

In chrome, try pressing ctrl-shift-j to bring up the javascript console, then try play a song, see what pops up. Doesn't mean I know how to fix it mind Wink Although maybe reverse proxies might sort out the issue..


- DejaVu - 2011-08-12

lunias Wrote:I've just got MFP up and running. I am using DejaVu's git repo (checked out this morning), but SubSonic doesn't work properly. I can access it through the frame inside of MFP, but the play/pause buttons do not work. If I go directly to my-ip:4040 outside of MFP it works flawlessly. I have tested it in Chrome, Safari, and Conkeror with similar results. Is there something that I am missing here?

Are there any logs that I can grab that would be beneficial?

Thanks in advance,

Lunias
There is a post in this thread explaning why SubSonic does not play nice in frames. It's a reported (yet ignored) bug, but it is also fixable...
http://forum.xbmc.org/showpost.php?p=840944&postcount=1830

jdutia Wrote:Hi, i would like to make a feature request.
I was wondering if you can add a widget to your webinterface which displays the status of various services like sabnzbd, couchpotato, sickbeard, airplay server, samba server etc...
Also, if it is possible to add the ability to start and stop these services or restart them when they become unstable.

i understand these can be easily achieved from within their own individual interfaces, but since mediafrontpage was designed to be a unified interface for various services, this feature would make it even more better.

what do you say?
Thanks

Do you mean a summary widget with stop/start/reboot/exit functions?
I'm not sure how that would work, but I guess something can be added. Please add a ticket @ http://mediafrontpage.lighthouseapp.com for it to be taken into consideration. Any further information would also help. Smile


- DejaVu - 2011-08-12

_Mikie_ Wrote:How can I check which section a widget belongs to? Any quick and easy function?

Only in the layout.php if I understand you correctly. A widget does not belong to a section, they dynamically move.


- DejaVu - 2011-08-12

shadowfighter Wrote:Hi,

I followed the new install instructions, but how can I update? Or is it automatically?

Thanks!

In Settings you see a Commit number. If it's out of date an Update button appears... Click it. Simplez! Smile


Comparing your Commit with the Original Master is going to be added to my repo this weekend, so you can see the differences made before updating.


- lunias - 2011-08-12

DejaVu Wrote:There is a post in this thread explaning why SubSonic does not play nice in frames. It's a reported (yet ignored) bug, but it is also fixable...
http://forum.xbmc.org/showpost.php?p=840944&postcount=1830
Thanks DejaVu! That fixed it up. Although I saw that this change is also needed:

In playAddDownload.jsp (Change top to parent)
Code:
<a href="javascript:noop()" onclick="parent.playlist.onPlay('${path}');">
    <img src="<spring:theme code="playImage"/>" alt="<fmt:message key="common.play"/>" title="<fmt:message key="common.play"/>"></a>

Also, did you include a 3 column configuration in your repo yet? I can't seem to figure it out. May hack up the CSS myself soon, but I'd prefer an example since web development isn't my forte Tongue

Thanks.


- Mar2zz - 2011-08-12

I updated the wiki 'Xbmcliveinstall'. This is a more secure way to install mediafrontpage.
It also covers apache and dependency installations now and updating with git pull.

Hope it's okay to do that without asking.


- _Mikie_ - 2011-08-12

DejaVu Wrote:Only in the layout.php if I understand you correctly. A widget does not belong to a section, they dynamically move.

Yeah I know they dynamically move. But say I want to have a page that lists all the widgets and which section they are in and then if I move a widget and refresh the page it would update the section next to that widget name. Basically I need to check which section a widget is at that given time. Any ideas how to accomplish this?

EDIT: Got it. Smile


- lunias - 2011-08-13

I have a problem now where SickBeard coming episodes are not being displayed in the coming episodes widget. SickBeard is working fine and this seems to only happen when accessing MFP from an external network.

The widget is just blank.

Any thoughts?

Edit: More info - curl_exec is being called with $url = http://myuser:mypass@myhost:8081/comingEpisodes/ but the html is not returned? I can access this url in my browser from outside my local network so it should be valid. Still confused...