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)



- Archigos - 2010-11-18

DejaVu, great point, I guess somewhere between the lack of sleep and my pain medication I totally forgot about using %'s... so I swapped it over to the 90% and 95% and decided to test it, but for some odd reason when I refreshed the page it acted like I wasn't doing any custom change and displayed the entire LONG list...

No idea what's going on, but oh well, I'll leave it at what I had for now and mess with it later... as far as I can tell it's not a cache issue...

(My laptop that I'm remotely controlling everything from is at 1366x768 and the 44" HDTV that I run XBMC on and switch to sometimes to do other work is 1920x1080, so as you can imagine using px base limits it to like 4 shows on a big damn screen.)


- danz0l - 2010-11-18

OK guys i've been following the development of this for sometime and have installed a while ago and its all working pretty well. A couple of things though, the main being sickbeard and login passwords. In the config.php i have

Quote:// enter path to sickbeards's coming episodes page
$sickbeardcomingepisodes = 'http://xbmc:[email protected]:9999/comingEpisodes/';
$sickbeardurl = "http://xbmc:[email protected]:9999/";

But it asks me for a password and username each time it adds to the list of upcoming episodes (it can list up to 30). If i click cancel on each of these it still displays so any ideas ?

Also

Quote:$xbmcjsonservice = "http://xbmc:xbmc@localhost:8080/jsonrpc"; //remove 'USERTongueASSWORD@' if your xbmc install does not require a password.
$xbmcimgpath = '/vfs/'; //leave as default if unsure

I don't get any images however.

Lastly, is there a web command to clean the library ? would be really handy.

Thanks and keep up the great work Smile


- DejaVu - 2010-11-18

I dont use passwords for Sickbeard so I cant replicate that.

But for the Images to appear change $xbmcimgpath to

$xbmcimgpath = 'http://localhost:8082/vfs/';

Works for me. Smile


- danz0l - 2010-11-18

DejaVu77 Wrote:I dont use passwords for Sickbeard so I cant replicate that.

But for the Images to appear change $xbmcimgpath to

$xbmcimgpath = 'http://localhost:8082/vfs/';

Works for me. Smile

Thanks DejaVU but didn't work for me Sad Tried port 8080 too and even tried passwords in the url. Nothing Sad

Sickbeard works if i first log into sickbeard (browser must cache the passwords somewhere) but if i log in to mediafrontpage before that i get a loop that asks for the password until it gets to the end.


- hotlobster - 2010-11-18

Quote:ut it asks me for a password and username each time it adds to the list of upcoming episodes (it can list up to 30).

Yes i have this problem too. I think it's because the tthumb pictures are called directly by the client to sickbird webserver.
To prevent this, they should be proxyfied by the php script directly.


- DejaVu - 2010-11-19

danz0l Wrote:Thanks DejaVU but didn't work for me Sad Tried port 8080 too and even tried passwords in the url. Nothing Sad

Sickbeard works if i first log into sickbeard (browser must cache the passwords somewhere) but if i log in to mediafrontpage before that i get a loop that asks for the password until it gets to the end.

In XBMC Network settings, turn all HTTP options on (I do as I'm behind a router anyway!).

Then change the port to 8082 (this is the same port for JSON btw).

Remove the passwords in XBMC by clearing the fields.

If your accessing it across a network us the IP Address of the computer with XBMC on (192.168.0.6) or the Computer name, (in my case - xbmclive)

If your on the computer and trying to access the interface it will also be in the same place and you will also be able to access it at localhost.

How I set mine up - I use XBMCLive

http://xbmclive = MediaFrontPage
http://xbmclive:8081 = Sickbeard
http://xbmclive:8082 = AWX is a replacement XBMC Interface run on JQuery.
http://xbmclive:8080 = SabNZBd <- People get confused here with XBMC's default port and it can create a conflict
http://xbmclive:9091 = Tranmission
http://xbmclive:5000 = CouchPotato

Hopefully that helps you out. Let me know.


- Nick8888 - 2010-11-19

hotlobster Wrote:Yes i have this problem too. I think it's because the tthumb pictures are called directly by the client to sickbird webserver.
To prevent this, they should be proxyfied by the php script directly.

I agree this needs some work though at worst, this should only occur once for each tv show. sickbeardposter.php should be checking for the thumbnail in the sbpcache folder and only gets it from sickbeard if the thumbnail does not exist in sbpcache. It then writes the thumbnail to the sbpcache folder.

Can you confirm you have a sbpcache folder and that thumbs are being written to it?


- Nick8888 - 2010-11-19

danz0l Wrote:I don't get any images however.

Lastly, is there a web command to clean the library ? would be really handy.

1. Make sure you are certain of the ports where each of the other apps are. (make a list like DejaVu77 perhaps)
2. Find the paths at which the images are located. ie http://[IP]:[PORT]/vfs/path/to/thumb (right clicking on thumbs in xbmc's default web interface helps)
3. Find out where MFP is looking for them (firefox extension -> firebug helps)

There is no clean library command listed here:
http://wiki.xbmc.org/index.php?title=JSON_RPC
but that doesn't necessarily mean there isn't one. I'll look into it.

There is another option
add this to your advancedsettings.xml
Code:
<videolibrary>
    <cleanonupdate>true</cleanonupdate>  <!-- default set to false to prevent xbmc from removing items from the database while updating -->
</videolibrary>
Wiki - Advanced Settings


- Zarquon - 2010-11-19

danz0l Wrote:Lastly, is there a web command to clean the library ? would be really handy.
There is now. Get the latest versions of default-config.php and widgets/wControl.php. It now allows you to make xbmc-send and shell calls.


- danz0l - 2010-11-19

DejaVu77 Wrote:In XBMC Network settings, turn all HTTP options on (I do as I'm behind a router anyway!).

Then change the port to 8082 (this is the same port for JSON btw).

Remove the passwords in XBMC by clearing the fields.

If your accessing it across a network us the IP Address of the computer with XBMC on (192.168.0.6) or the Computer name, (in my case - xbmclive)

If your on the computer and trying to access the interface it will also be in the same place and you will also be able to access it at localhost.
.

Many thanks mate. I'll look further into this and am aware of all my ports. XBMC is broadcasting on 8080 but i'll remove the password for now to see if that helps.

Nick8888 Wrote:1. Make sure you are certain of the ports where each of the other apps are. (make a list like DejaVu77 perhaps)
2. Find the paths at which the images are located. ie http://[IP]:[PORT]/vfs/path/to/thumb (right clicking on thumbs in xbmc's default web interface helps)
3. Find out where MFP is looking for them (firefox extension -> firebug helps)

There is no clean library command listed here:
http://wiki.xbmc.org/index.php?title=JSON_RPC
but that doesn't necessarily mean there isn't one. I'll look into it.

There is another option
add this to your advancedsettings.xml
Code:
<videolibrary>
    <cleanonupdate>true</cleanonupdate>  <!-- default set to false to prevent xbmc from removing items from the database while updating -->
</videolibrary>
Wiki - Advanced Settings

Thanks. I do think it might be the username, password being truncated looking at the url in firefox so will remove and see if that sorts things. Thanks also for the clean command (I was aware of that) but would have liked to have it as an option in mediafrontpage (comes in handy at times). However if there is no Json for it then obviously that isn't possible.

Zarquon Wrote:There is now. Get the latest versions of default-config.php and widgets/wControl.php. It now allows you to make xbmc-send and shell calls.

Oh how does that work then ? I'll grab the latest from git.

I love how this is all developing and finally my wife is now able to see whats going on with updates etc on all the different apps i got linked to the system Smile

Wish we could use banners for TV from the xbmc library as if i put a folder.jpg in (which then means i get images in sickbeard and mediafrontpage) xbmc insists on showing that (i use banners in confluence skin so you can imagine how badly this then looks). I wonder if there is someway to link the show with whats on xbmc on the parsing and show a banner instead of a dvd cover ?


- olafvs - 2010-11-19

Luckily I just saved my work in progress. Apparently the 'shutdown xbmc' control is a somewhat missleading name for 'shutdown system'.ShockedLaugh


- hotlobster - 2010-11-19

Quote:Can you confirm you have a sbpcache folder and that thumbs are being written to it?

In fact no, i didn't had this cache folder. I've created it in mediafrontapge dir, with good rights, but nothing is written in it.

If i check the picture url from my browser, i can see the link goind to /sickbeard/.


- Nick8888 - 2010-11-19

olafvs Wrote:Luckily I just saved my work in progress. Apparently the 'shutdown xbmc' control is a somewhat missleading name for 'shutdown system'.ShockedLaugh

It is configurable in xbmc.


- Nick8888 - 2010-11-19

hotlobster Wrote:In fact no, i didn't had this cache folder. I've created it in mediafrontapge dir, with good rights, but nothing is written in it.

If i check the picture url from my browser, i can see the link goind to /sickbeard/.
1. Find the paths at which the images are located. ie http://[IP]:[PORT]/sickbeard/showPoster/?show=79349(right click on thumbs in sickbeard's own coming episodes page)
2. Find out where MFP is looking for them (firefox extension -> firebug helps)

Then paste the full paths here


- gugahoi - 2010-11-21

Hey guys, really like the new mobile interface, and the Git feed in the rss widget.
I don't understand how the mfpsecured=false and mfpapikey work? What are they supposed to do? (I do use htaccess by the way)

I was thinking, maybe there could be a search widget? To search through the nzb's for some sites? And last thing - is it possible to have the coming episodes widget dynamically change? (What I mean is, if I could click on the link in the rss feed, and instead of having a new page open, the comingepisodes part of the website would load the new website? That would come in handy for searching as well as for the links in the "control widget")

Keep up the great work.