Kodi Community Forum

Full Version: MediaFrontPage - Web interface with widget type architecture to control multiple apps
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
steve1977 Wrote:I didn't fully understand all of your post, but can confirm that I can "skin" google in the way that you are suggesting above.

Open Config.php and add my last commit (or reclone)
Around the bottom of the page - line 375 onwards...

Code:
$headphones_url = 'http://'.$GLOBAL_IP.'/'.$HEADPHONES_WEBROOT.'/home/';
     }
     if(!empty($SUBSONIC_WEBROOT)){
          $subsonic_url = 'http://'.$GLOBAL_IP.'/'.$SUBSONIC_WEBROOT.'/login.view?user=$SUBSONIC_USERNAME&password=$SUBSONIC_PASS/';
     }
} else {

Then http://url/programs.php?p=SubSonic should work correctly and you wont need to change anything OOTB.
DejaVu Wrote:Open Config.php and add my last commit (or reclone)
Around the bottom of the page - line 375 onwards...

Code:
$headphones_url = 'http://'.$GLOBAL_IP.'/'.$HEADPHONES_WEBROOT.'/home/';
     }
     if(!empty($SUBSONIC_WEBROOT)){
          $subsonic_url = 'http://'.$GLOBAL_IP.'/'.$SUBSONIC_WEBROOT.'/login.view?user=$SUBSONIC_USERNAME&password=$SUBSONIC_PASS/';
     }
} else {

Then http://url/programs.php?p=SubSonic should work correctly and you wont need to change anything OOTB.

Thanks! Will look at it once home at my server. Just one question out of curiosity - why is the code so different for headphones and subsonic? Headphones should equally need username and password?
DejaVu Wrote:Open Config.php and add my last commit (or reclone)
Around the bottom of the page - line 375 onwards...

Code:
$headphones_url = 'http://'.$GLOBAL_IP.'/'.$HEADPHONES_WEBROOT.'/home/';
     }
     if(!empty($SUBSONIC_WEBROOT)){
          $subsonic_url = 'http://'.$GLOBAL_IP.'/'.$SUBSONIC_WEBROOT.'/login.view?user=$SUBSONIC_USERNAME&password=$SUBSONIC_PASS/';
     }
} else {

Then http://url/programs.php?p=SubSonic should work correctly and you wont need to change anything OOTB.

Just got back home and made a fresh pull from your repo. Unfortunately, it still does not work both headphones and subsonic. "Feels" like no change commpared to before.

*edited* did the "save button" disappear in the config GUI in the reverse-proxy menu?

On separate note, I did check my config.ini in CP for settings related to reverse-proxies and didn't find anything. Is it not working both using the IP and the URL?
DejaVu Wrote:Post up your config.php or config.ini file and we'll have a look.
Remember to remove your API' and Passwords.

Here's a link to my config.ini...coming eps. posters and banners don't load
Thanks
I tried to make an installer for Mediafrontpage for Synology NAS with bootstrap installed (the other one is for Ubuntu)
I believe the only extra dependency is php-curl (all other php-packages are default in Webstation?)

I do not own a Synology, so I can't test myself. Who want's to try?
Log in on your syno with ssh and:
Code:
wget http://dl.dropbox.com/u/18712538/Spotweb/mediafrontpage_syn.sh && chmod +x mediafrontpage_syn.sh && sh mediafrontpage_syn.sh

Basically it comes down to this:
Code:
Enable webserver in DSM (including php)
ipkg install git
ipkg install textutils
ipkg install php-curl
git clone https://github.com/Mediafrontpage/mediafrontpage.git /volume1/web/mediafrontpage

That should do it I hope (I have no synology, so I can't test).
Please post Issues with it in my own topic or on Github.
Lunatixz Wrote:Here's a link to my config.ini...coming eps. posters and banners don't load
Thanks

I had this too. It loaded banners at first, when I used the hostname of the server where sickbeard is installed in mediafrontpage-settings. Then I changed it to localhost to see if it would speed things up (sickbeard loads slow), but then it would load without banners. So I tried 0.0.0.0 after that, no banners either. Then I entered the hostname again and the banners returned. Weird, because MFP and sickbeard are on the same machine.
steve1977 Wrote:Just got back home and made a fresh pull from your repo. Unfortunately, it still does not work both headphones and subsonic. "Feels" like no change commpared to before.
Will have another look at this. Not sure what else is missed.
steve1977 Wrote:*edited* did the "save button" disappear in the config GUI in the reverse-proxy menu?
This should be repaired.
steve1977 Wrote:On separate note, I did check my config.ini in CP for settings related to reverse-proxies and didn't find anything. Is it not working both using the IP and the URL?
CP's Webroot settings are in it's config file as urlbase=
Lunatixz Wrote:Here's a link to my config.ini...coming eps. posters and banners don't load
Thanks

There is a fault in your config.ini file under the NavBar Section.
Code:
[NAVBAR]
XBMC = "http://KSG-HTPC/programs.php?p=http://KSG-HTPC:8080"
SickBeard = "http://KSG-HTPC/programs.php?p=http://KSG-HTPC:8086"
CouchPotato = "http://KSG-HTPC/programs.php?p=http://KSG-HTPC:8087"
SubSonic = "http://KSG-HTPC/programs.php?p=http://KSG-HTPC:8089"
HeadPhones = "http://KSG-HTPC/programs.php?p=http://KSG-HTPC:8088"
SabNZBd = "http://KSG-HTPC/programs.php?p=http://KSG-HTPC:8085"
uTorrent = "http://KSG-HTPC/programs.php?p=http://KSG-HTPC:8081"
I believe this is confusing MFP as your pulling the address from itself too many times and I believe it is conflicting. Try changing it to this.
Code:
[NAVBAR]
XBMC = "programs.php?p=XBMC"
SickBeard = "programs.php?p=SickBeard"
CouchPotato = "programs.php?p=CoucPotato"
SubSonic = "programs.php?p=SubSonic"
HeadPhones = "programs.php?p=HeadPhones"
SabNZBd = "programs.php?p=SabNZBd"
uTorrent = "programs.php?p=uTorrent"
The variables that are in the above will pull the correct settings from the config.ini file.
Seeing as you have a few computers setup, you may want to change your Global URL to either http://KSG-HTPC or it's IP Address.
nzbmatrix rssfeeds keep returning if you delete them, possibly if you do not enter any other RSS-feeds. Every reboot they are back. I don't need them, I have an account without premium stuff, so I can't download nzb's from it.
Mar2zz Wrote:nzbmatrix rssfeeds keep returning if you delete them, possibly if you do not enter any other RSS-feeds. Every reboot they are back. I don't need them, I have an account without premium stuff, so I can't download nzb's from it.
config.ini does not have write permission's by the sound of it.
Remove them, click Save. Reboot - Back?
After you click Save, check the config.ini to see if it's removed them.

You can do it manually if you prefer.

EDIT:
I now see what you mean. Deleting them does nothing...!?

Could be this linked to having 'url=' in the URL column? Moreover, can that be removed and added to the Widget itself?
I had the same problem, with a brand new install, I just edited the config.ini file by hand, and now it's sticking.

DejaVu Wrote:config.ini does not have write permission's by the sound of it.
Remove them, click Save. Reboot - Back?
After you click Save, check the config.ini to see if it's removed them.

You can do it manually if you prefer.

EDIT:
I now see what you mean. Deleting them does nothing...!?

Could be this linked to having 'url=' in the URL column? Moreover, can that be removed and added to the Widget itself?
Manually editing it is not a cure and usually not recommended, but it's work around til we can work out why it's not working. Thanks for reporting Mar2zz.
DejaVu Wrote:There is a fault in your config.ini file under the NavBar Section.
Code:
[NAVBAR]
XBMC = "http://KSG-HTPC/programs.php?p=http://KSG-HTPC:8080"
SickBeard = "http://KSG-HTPC/programs.php?p=http://KSG-HTPC:8086"
CouchPotato = "http://KSG-HTPC/programs.php?p=http://KSG-HTPC:8087"
SubSonic = "http://KSG-HTPC/programs.php?p=http://KSG-HTPC:8089"
HeadPhones = "http://KSG-HTPC/programs.php?p=http://KSG-HTPC:8088"
SabNZBd = "http://KSG-HTPC/programs.php?p=http://KSG-HTPC:8085"
uTorrent = "http://KSG-HTPC/programs.php?p=http://KSG-HTPC:8081"
I believe this is confusing MFP as your pulling the address from itself too many times and I believe it is conflicting. Try changing it to this.
Code:
[NAVBAR]
XBMC = "programs.php?p=XBMC"
SickBeard = "programs.php?p=SickBeard"
CouchPotato = "programs.php?p=CoucPotato"
SubSonic = "programs.php?p=SubSonic"
HeadPhones = "programs.php?p=HeadPhones"
SabNZBd = "programs.php?p=SabNZBd"
uTorrent = "programs.php?p=uTorrent"
The variables that are in the above will pull the correct settings from the config.ini file.
Seeing as you have a few computers setup, you may want to change your Global URL to either http://KSG-HTPC or it's IP Address.

thank you for the suggestions... I tried them, but now navbar links don't work, and coming eposides don't display at all; where as before they just didn't load the banners...

I have all programs installed on one pc and have no problems accessing them directly using ip or host name...
any help would be great Smile
steve1977 Wrote:Just got back home and made a fresh pull from your repo. Unfortunately, it still does not work both headphones and subsonic. "Feels" like no change commpared to before.

*edited* did the "save button" disappear in the config GUI in the reverse-proxy menu?

On separate note, I did check my config.ini in CP for settings related to reverse-proxies and didn't find anything. Is it not working both using the IP and the URL?
Should be all working now. Some more settings for SS and HP were missed. Please let me know.

You may need to look into any URLBASE or Webroot settings needed for SubSonic or HeadPhones too - if they exist! Smile