Kodi Community Forum
MediaFrontPage - Web interface with widget type architecture to control multiple apps - Printable Version

+- Kodi Community Forum (http://forum.kodi.tv)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Supplementary Tools for Kodi (/forumdisplay.php?fid=116)
+--- Thread: MediaFrontPage - Web interface with widget type architecture to control multiple apps (/showthread.php?tid=83304)



MediaFrontPage - Web interface with widget type architecture to control multiple apps - Nick8888 - 2010-10-16 12:08

MediaFrontPage is a php webpage I began creating to keep up to date with my media. It pulls information from sickbeard, sabnzbd, xbmc etc. and displays it in a unified page.

Note: This requires a web server which supports PHP and therefore will not work with xbmc's internal web server.

Download MediaFrontPage

Website(WIP!)

Much credit must go to Zarquon, Jodeman, DejaVu, gugahoi, Archigos, Sleepy P, _Mikie_ (and many more!) for their continued efforts to improve this project. (please pm me if I have missed someone! .. which I am sure I have)

[Image: screenshot20101118at120.png]

Setup Instructions:

Basic setup requires a webserver which supports PHP, Curl and SQLite. Then just place MediaFrontPage within its web directory.

Web Server
Linux/Mac OSX (Basic Apache) -> Apache Install
Windows (Uniform Server) -> Uniform Install Coming Soon
Windows (IIS) -> IIS Install Coming Soon

MediaFrontPage
Ubuntu (Command Line) -> XBMCLiveInstall
XBMC Live -> XBMCLiveInstall
XBMC Live on an Acer Revo -> Revo Install
Windows (Uniform) -> Win Uniform
Windows (IIS) -> Win IIS

If you get stuck just ask for help in this thread.

Available Widgets - updated 6th July 2011
  • XBMC Control
  • XBMC Library
  • Coming Episodes
  • Hard Drive Status
  • Now Playing
  • RSS Feed
  • SabNZBd Status
  • NZB Search
  • TrakT Last Watched
  • Transmission
  • uTorrent
  • JDownloader (WIP)
  • SubSonic (WIP)
  • Example widget inside the Widget folder that gives an idea on how to create your own.

Mobile Interface
Planned Features
  • Ability to bypass xbmc's json server (mainly for server/client setups)
  • Ability to add/remove widgets easily
  • Streaming from media library widget

Report Bugs Here


Download MediaFrontPage

Website(WIP!)



- mwkurt - 2010-10-16 14:59

Hi,

This sounds like a great app that I would love to try, however, I am a bit challanged when it comes to following the directions that you give. Is there any chance that installation of this will become any easier in the future? I.E. installable exe or something else?

Thanks,
Mark


- Nick8888 - 2010-10-16 16:37

I cannot make it any easier than I already have. I do not run windows so I am unable to help you sorry.

Basically you need to setup a webserver which supports php and curl, drop the files in its web directory and then edit the config.php.


- Livin - 2010-10-17 04:55

Is there a way to extend XBMC's web server to run this?


- Nick8888 - 2010-10-17 05:26

AFAIK, the xbmc web server is not able to support php. To run this you need to use apache or another web server which supports php. It connects to xbmc and sabnzbd using jsonrpc.

Apache is reasonably easy to install on ubuntu/linux and windows and then you basically drop the files in your web server directory. The only way to make it easier for setup would be if we added some way to save per user settings and someone setup a webserver to host it. Unfortunately I do not see this happening.

It is optional to redirect xbmc, sickbeard, couchpotato, sabnzbd, tvheadend etc own webservers behind apache so that they are located at:

http://www.yourdomain.com/xbmc
http://www.yourdomain.com/sickbeard etc

Just tell MediaFrontPage's config.php where they are located such as
http://localhost:PORT eg
http://localhost:8080 - for xbmc

We are currently looking at moving configuration to each individual widget so that hopefully it will make them configurable from the page. Very much like the igoogle interface.


- SlackMaster - 2010-10-17 08:57

I have a hosted server running PHP that I use for all my other websites (forums and stuff). Is this something I could upload there?


- Nick8888 - 2010-10-17 11:54

It requires php and curl so if your hosted server has these installed I dont see why it wouldnt. It would need to communicate with xbmc's json server etc so as long as you have a static ip and the ports forwarded it should work.


- Sylus - 2010-10-17 14:25

Nice tool and thx for sharing. For all, having problems with all these Web server stuff you can take a look at http://www.apachefriends.org/en/xampp.html

Gives you everthing you need.


- sweat - 2010-10-17 14:26

woow, deff something i need.
Was working on one for myself, never finished it.

Is there a way to secure it with a general login?
If you need any help with designing or anythign else. Let me know..


- YodaEXE - 2010-10-17 15:54

Very nice. Supposedly my web host (GoDaddy) supports cURL, and I know it's running PHP5, so I should be able to upload this there and have it work, especially after having set up subdomain redirects to my SAB and SB installs.

EDIT: Well, I got it on my webserver, but I'm having some trouble. This is what happens when I load the page (I purposely hid CouchPotato and TVheadend, so don't worry about those being missing):

[Image: broken.PNG]


- TREYisRAD - 2010-10-18 00:51

Sorry for the noobness, but once I install this, how do I access it from a remote computer? Is it under a certain port like sickbeard, etc?


- sweat - 2010-10-18 01:47

you should run a webserver, standard thats on port 80 (the normal http port) so you should access without a port.


- TREYisRAD - 2010-10-18 01:52

sweat Wrote:you should run a webserver, standard thats on port 80 (the normal http port) so you should access without a port.

Got it! Thanks


- Nick8888 - 2010-10-18 02:58

sweat Wrote:woow, deff something i need.
Was working on one for myself, never finished it.

Is there a way to secure it with a general login?
If you need any help with designing or anythign else. Let me know..

You can secure apache with a .htaccess and a .htpasswd file. That is outside the scope of this project though so please look on your webserver's website.


- Nick8888 - 2010-10-18 03:08

YodaEXE Wrote:Very nice. Supposedly my web host (GoDaddy) supports cURL, and I know it's running PHP5, so I should be able to upload this there and have it work, especially after having set up subdomain redirects to my SAB and SB installs.

EDIT: Well, I got it on my webserver, but I'm having some trouble. This is what happens when I load the page (I purposely hid CouchPotato and TVheadend, so don't worry about those being missing):

[Image: broken.PNG]

It appears you haven't configured it correctly. The hard drive widget probably wont work on a hosted webserver. The sabnzbd+ widget needs to be able to access its json server and the same goes for the xbmc ones.

It would be much easier to set up on a local machine imo as youll need to open up more ports with a hosted server, it will require both machines to be running otherwise and also require a static ip.