First of all thank you for MFP. It has already become my management screen.
I have been trying to get this to work, and I finally got it working, sort of...
On my home screen, I can see my SABNzbd, Coming Episodes, Hard Drives, RSS Feeds.
What I cannot see are Recent Movies, Recent TV, and XBMC Library.
On the XBMC Library widget, I get the following error:
Code:
XBMC's JSON API did not respond.
Check your configuration (config.php) and that the JSON
service variable is configured correctly and that the Service
is running.
I have XBMC Dharma 10.0 on an ATV2. My media, and centralized MySQL files, and Thumbnails are on an unRAID server. I also have MFP being served from the unRAID server.
On XBMC, I have configured my Web Interface as "Default". The above items do not show up. I changed the Web Interface to "JSON RPC Debug", they still do not work.
Below are the contents of my config.php
Code:
<?php
// Only set the $mfpsecured variable to true if you have secured
// MediaFrontPage with a password via .htaccess or some other method
// use at your own risk as this can create a security vulnerability in
// the wControl widget.
$mfpsecured = false;
// Alternativly you can set a unique key here.
$mfpapikey = ''; //
// enter hostname and port of the xbmc json service here. By default 8080
$xbmcjsonservice = 'http://192.168.0.198:2323'; //remove 'USER:PASSWORD@' if your xbmc install does not require a password.
$xbmcimgpath = 'http://192.168.0.198:2323/vfs/'; //leave as default if unsure
$xbmcdbconn = array(
'video' => array('dns' => 'sqlite:/home/xbmc/.xbmc/userdata/Database/MyVideos34.db', 'username' => '', 'password' => '', 'options' => array()),
'music' => array('dns' => 'sqlite:/home/xbmc/.xbmc/userdata/Database/MyMusic7.db', 'username' => '', 'password' => '', 'options' => array()),
);
//Example of mysql connections
/*
$xbmcdbconn = array(
'video' => array(
'dns' => 'mysql:host=192.168.0.201;dbname=xbmc_video',
'username' => 'xbmc',
'password' => 'xbmc',
'options' => array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8")
),
'music' => array(
'dns' => 'mysql:host=192.168.0.201;dbname=xbmc_music',
'username' => 'xbmc',
'password' => 'xbmc',
'options' => array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8")
),
);
*/
// enter path to sickbeards's coming episodes page
$sickbeardcomingepisodes = 'http://192.168.0.201:8081/comingEpisodes/';
$sickbeardurl = "http://192.168.0.201:8081/home/";
// enter SABnzbd+ URL and API key
$saburl = 'http://192.168.0.201:88/'; // The full URL you use to access SABnzbd.
$sabapikey = 'REMOVED FOR SAFETY'; // SABnzbd's API Key found in Config>General.
//enter NZBmatrix login
$nzbusername = 'Removed for safety'; //username
$nzbapi = 'Removed for safety'; //api
// enter navigation bar links
$navlink;
$navlink["Sickbeard"] = "http://192.168.0.201:8081/";
$navlink["Couch Potato"] = "http://192.168.0.201:5000/movie/";
//$navlink["TV Headend"] = "/tvheadend";
$navlink["Sabnzbd"] = "http://192.168.0.201:88/#/dv1/";
$navlink["Tower"] = "http://tower/main.htm";
$navlink["unMenu"] = "http://tower:8080/";
$navlink["XBMC"] = "http://192.168.0.198:2323/";
// enter shortcut links for control section
$shortcut;
$shortcut["Shutdown XBMC"] = array("cmd" => 'shutdown');
$shortcut["Update XBMC Video Library"] = array("cmd" => 'vidscan');
//$shortcut["Clean XBMC Video Library"] = array("xbmcsend" => 'CleanLibrary(video)'); // Optionally add 'host' => 'localhost', 'port' => 9777 to connect to a different machine.
$shortcut["Update XBMC Audio Library"] = array("json" => '{"jsonrpc": "2.0", "method": "AudioLibrary.ScanForContent", "id" : 1 }');
$shortcut["Google"] = "http://www.google.com/";
/*
$shortcut["Input - XBMC"] = "/input/xbmc";
$shortcut["Input - Pay TV"] = "/input/cable";
$shortcut["Input - Games"] = "/input/games";
$shortcut["Now Playing"] = "/nowplaying";
$shortcut["Turn TV On"] = "/tv/on";
$shortcut["Turn TV Off"] = "/tv/off";
$shortcut["Turn Xbox On"] = "/xbox/on";
$shortcut["Turn Xbox Off"] = "/xbox/off";
*/
// enter directories for hard drive section
$drive;
$drive["unRAID 1"] = "/mnt/disk1/";
$drive["unRAID 2"] = "/mnt/disk2/";
$drive["unRAID 3"] = "/mnt/disk3/";
$drive["unRAID 4"] = "/mnt/disk4/";
$drive["unRAID 5"] = "/mnt/disk5/";
$drive["Cache"] = "/mnt/cache/";
// enter rss feeds. Ensure sabnzbd > config > index sites is set. Supports cat, pp, script, priority as per the sabnzbd api.
//$rssfeeds["NZBMatrix - TV Shows (DivX)"] = array("url" => "http://rss.nzbmatrix.com/rss.php?subcat=6", "cat" => "tv");
$rssfeeds["NZBMatrix - Movies (HD x264)"] = array("url" => "http://rss.nzbmatrix.com/rss.php?subcat=42", "cat" => "movies");
$rssfeeds["NZBMatrix - TV Shows (HD x264)"] = array("url" => "http://rss.nzbmatrix.com/rss.php?subcat=41", "cat" => "tv");
//$rssfeeds["NZBMatrix - Movies (DivX)"] = array("url" => "http://rss.nzbmatrix.com/rss.php?subcat=2", "cat" => "movies");
//$rssfeeds["NZBMatrix - Music (MP3)"] = array("url" => "http://rss.nzbmatrix.com/rss.php?subcat=22", "cat" => "music");
//$rssfeeds["NZBMatrix - Music (Lossless)"] = array("url" => "http://rss.nzbmatrix.com/rss.php?subcat=23", "cat" => "music");
//$rssfeeds["NZBMatrix - Sports"] = array("url" => "http://rss.nzbmatrix.com/rss.php?subcat=7", "cat" => "sports");
$rssfeeds["MediaFrontPage on Github"] = array("url" => "https://github.com/nick8888/mediafrontpage/commits/master.atom", "type" => "atom");
//$customStyleSheet = "";
//Example of how to use this
//$customStyleSheet = "css/lighttheme.css";
$customStyleSheet = "css/minimal.css";
//Show only posters for coming episodes
//$customStyleSheet = "css/comingepisodes-minimal-poster.css";
//Show only banners for coming episodes
//$customStyleSheet = "css/comingepisodes-minimal-banner.css";
?>
Can anyone help please?
Also as mentioned, I have centralized my XBMC library using MySQL along with centralizing the Thumbnails via symlinks. Because of this, I am not sure what to enter for the
xbmcimgpath = setting.
Many thanks.
H.