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)



- fastjack - 2010-11-03

Zarquon Wrote:Are you running the latest version of SickBeard. This is just a framing of their page with the CSS overwritten, so I'm thinking maybe there is some HTML/CSS issues there.

Last Version is running. I think the Problem is the following:
If I add more shows the more i see.
But "underneath" the Shows i See following text:

3 shows (3 active) | 29/60 episodes downloaded
Search: 0:27:54 | Backlog: Friday

Seems like it doesnt get overwritten korrecktly.

Pic:
http://www.fastjacks.de/xbmc/xbmc.jpg


- gugahoi - 2010-11-04

This is fantastic. Almost everything is working here. A couple of things I need to ask tho:
To start of I cant seem to get Sab widget to work, it says:

"Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\widgets\wSabnzbd.php on line 46"

I've never modified such file so probably something wrong with config? (I'm running Win 7 btw)

Any sugenstions?


- Nick8888 - 2010-11-04

From the looks of it, your config is wrong and MFP is getting nothing back from sabnzbd+ causing the error. What's in your config for sabnzbd?


- renobles - 2010-11-04

ECEC Wrote:So I'm getting close, but I'm running into an issue. I first created a new MediaFrontPage site under Web Sites in IIS and it worked, but I realized that would break the normal WHS site. So I removed that site, then created a virtual directory under WHS Site that pointed to the MediaFrontPage folder. When I attempt to access it with http://server/mediafrontpage, I get the following error: This Virtual Directory does not allow contents to be listed. Googling around gave me some hints (I added index.html to the default content page and checked Directory browsing in the properties) but nothing has fixed it. Any insight?

For the others who are trying to do this with IIS, as soon as I get it working I'll write up a brief newbie-friendly howto guide. Smile

I had the same issue. Go to the properties of the virtual directory, then home folder, then add index.html to the list of default documents. In all of Microsoft's infinite wisdom, they didn't think to include it.


- gugahoi - 2010-11-04

Nick8888 Wrote:From the looks of it, your config is wrong and MFP is getting nothing back from sabnzbd+ causing the error. What's in your config for sabnzbd?

Code:
// enter SABnzbd+ URL and API key
$saburl = "http://user:[email protected]:9000";  // The full URL you use to access SABnzbd.
$sabapikey = '00003ecc95fe34650dd5173cedfc5bd4';                             // SABnzbd's API Key found in Config>General.

The url is the proper one as it works from the navbar. And the API key was just copy paste. Maybe it's a double quotes single quotes thing? I have run out of ideas.

By the way, nav.php might have a bug. The page the home icon was directed in the version I downloaded was 'mediafrontpage' but it should be 'mediafrontpage.php'. It might just be on my computer. But it is working wonderfully.

I have a suggestion: maybe add a jDownloader menu or tutorial for people that want to learn? I can do it if necessary. It's working amazingly and I also got password protection .htacces working.

Last thing: I don't get what the controls should do for input-xbmc? What have you guys got it doing?


- Nick8888 - 2010-11-04

In the default-config it has it in single quotes. Probably won't make a difference. I'd make sure it matches what is in sickbeard exactly, you have a recent version of sabnzbd and make sure sickbeard->sabnzbd is working.

Adding .php wont make a difference. I don't understand whether it is working for you? You call it a bug yet say it is working wonderfully.

The control widget can be used to add your own links/shortcuts to things. I've got it turning my tv on and off and changing video inputs on my tv. Others might have it link to the xbmc forums, update xbmc or certain pages of couchpotato etc.


- gugahoi - 2010-11-04

Sorry I wasn't clear. At first it did not work, but as soon as i added .php it started working.

I don't understand why does sickbeard has anything to do with SAB widget? I should be putting SAB address and API right? Sickbeard works fine here with SAB btw.

Any chance you know of something like TVheadend for Windows? I do have a partition with ubuntu installed, except I never really used linux before, but I had a fair bit already configured on Windows so I would like to keep using it.


- RaNaMaster - 2010-11-04

ok this is what i have in my config $xbmcimgpath = '/vfs/'; //leave as default if unsure and this is the dir of my thumbnils C:\Documents and Settings\Administrator\Application Data\XBMC\userdata\Thumbnails so what do i have no idea what to do i try this

$xbmcimgpath = '/C:\Documents and Settings\Administrator\Application Data\XBMC\userdata\/'
nothing im still geting
http://192.168.1.4/C:%5CDocuments%20and%20Settings%5CAdministrator%5CApplication%20Data%5CXBMC%5Cuserdata%5C/special://masterprofile/Thumbnails/Video/Fanart/5bd9ffc4.tbn
this dont make any sense where is it geting this special thing from and how do i code it to that dir please help


- Zarquon - 2010-11-04

fastjack Wrote:Last Version is running. I think the Problem is the following:
If I add more shows the more i see.
But "underneath" the Shows i See following text:

3 shows (3 active) | 29/60 episodes downloaded
Search: 0:27:54 | Backlog: Friday

Seems like it doesnt get overwritten korrecktly.

Pic:
http://www.fastjacks.de/xbmc/xbmc.jpg
The issue was in the comingepisodes.css The latest version of this file fixes the issue.


- Zarquon - 2010-11-04

gugahoi Wrote:
Code:
// enter SABnzbd+ URL and API key
$saburl = "http://user:[email protected]:9000";  // The full URL you use to access SABnzbd.
$sabapikey = '00003ecc95fe34650dd5173cedfc5bd4';                             // SABnzbd's API Key found in Config>General.

The url is the proper one as it works from the navbar. And the API key was just copy paste. Maybe it's a double quotes single quotes thing? I have run out of ideas.

By the way, nav.php might have a bug. The page the home icon was directed in the version I downloaded was 'mediafrontpage' but it should be 'mediafrontpage.php'. It might just be on my computer. But it is working wonderfully.

I have a suggestion: maybe add a jDownloader menu or tutorial for people that want to learn? I can do it if necessary. It's working amazingly and I also got password protection .htacces working.

Last thing: I don't get what the controls should do for input-xbmc? What have you guys got it doing?

Try adding a ending slash to the $saburl variable;
Code:
$saburl = "http://user:[email protected]:9000/";

And if that doesn't work try:
Code:
$saburl = "http://user:[email protected]:9000/sabnzbd/";


On the Control Widget I plan on revamping it and adding functional examples.


- Nick8888 - 2010-11-04

gugahoi Wrote:I don't understand why does sickbeard has anything to do with SAB widget? I should be putting SAB address and API [key] right? Sickbeard works fine here with SAB btw.

Considering there have been no other reports of this issue, it makes me think its either your config or your sabnzbd api not working correctly. Determining whether your sabnzbd api is working correctly can be done by using it with sickbeard or any other third party app.. hence my suggestion to determine whether that is working correctly.


- Zarquon - 2010-11-04

RaNaMaster Wrote:ok this is what i have in my config $xbmcimgpath = '/vfs/'; //leave as default if unsure and this is the dir of my thumbnils C:\Documents and Settings\Administrator\Application Data\XBMC\userdata\Thumbnails so what do i have no idea what to do i try this

$xbmcimgpath = '/C:\Documents and Settings\Administrator\Application Data\XBMC\userdata\/'
nothing im still geting
http://192.168.1.4/C:%5CDocuments%20and%20Settings%5CAdministrator%5CApplication%20Data%5CXBMC%5Cuserdata%5C/special://masterprofile/Thumbnails/Video/Fanart/5bd9ffc4.tbn
this dont make any sense where is it geting this special thing from and how do i code it to that dir please help

What is the value of your $xbmcjsonservice variable? Use the same value in the $xbmcimgpath variable, replacing the jsonrpc in the URL with vfs.


- Nick8888 - 2010-11-04

RaNaMaster Wrote:ok this is what i have in my config $xbmcimgpath = '/vfs/'; //leave as default if unsure and this is the dir of my thumbnils C:\Documents and Settings\Administrator\Application Data\XBMC\userdata\Thumbnails so what do i have no idea what to do i try this

$xbmcimgpath = '/C:\Documents and Settings\Administrator\Application Data\XBMC\userdata\/'
nothing im still geting
http://192.168.1.4/C:%5CDocuments%20and%20Settings%5CAdministrator%5CApplication%20Data%5CXBMC%5Cuserdata%5C/special://masterprofile/Thumbnails/Video/Fanart/5bd9ffc4.tbn
this dont make any sense where is it geting this special thing from and how do i code it to that dir please help

How do you access xbmc's web server? http://192.168.1.4:8080?


- gugahoi - 2010-11-04

Zarquon & Nick: I'm trying out the suggestion now, will see if I can get it to work. I'm pretty sure everything is working fine, this is the only thing that I haven't got working.

Ranamaster: What I have set up for the vfs is 'http://COMPUTER-IP/vfs/'. Give that a try.
It changes if you want to work within your LAN or through the internet.

edit: Just tested with the ending slash and with /sabnzbd/ and they both work. Thanks a lot!

Is it supposed to show the entire queue? Because it seems to be truncated only showing the 1st item in the queue and part of the name of the second. (Bottom right widget)

Image


- fastjack - 2010-11-04

Zarquon Wrote:The issue was in the comingepisodes.css The latest version of this file fixes the issue.

Great Thank you. Updated and everything is working fine now :-)
Tank for all the Help.