Hey guys, I am loving this project. For my "home server" I am running a server package called Amahi on top of Fedora Core 14. The server hosts a MySQL database and SMB file shares for use with XBMC, plus SickBeard, CouchPotato, Transmission, and some other apps and things. It was a snap getting MediaFrontPage up and running on this platform, since all the pre-requisites were install already. I am using Gugahoi's branch cloned from Github today.
Almost all my widgets are working, except for the XBMC JSON-powered ones. They all are broken. I believe this is due to my use of MySQL for my database back-end, but I'm not too clear on how to troubleshoot this issue to isolate which component is causing the issues.
The Recent TV and Recent Movies widgets immediately fail upon load with output like this:
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.
{"jsonrpc": "2.0", "method": "VideoLibrary.GetRecentlyAddedEpisodes", "params" : { "start" : 0 , "end" : 15 , "fields": [ "genre", "director", "trailer", "tagline", "plot", "plotoutline", "title", "originaltitle", "lastplayed", "showtitle", "firstaired", "duration", "season", "episode", "runtime", "year", "playcount", "rating", "writer", "studio", "mpaa", "premiered", "album" ] }, "id" : 1 }
The built-in link to the JSON service DOES work, returning the response "JSONRPC active and working".
The XBMC Library widget is mostly broken. It loads, and I can click Videos, and then TV Shows DOES populate, giving me a list of the shows in my library. However, clicking on a show causes this output:
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
{"jsonrpc": "2.0", "method": "VideoLibrary.GetSeasons", "params" : { "tvshowid" : 1, "fields": [ "genre", "title", "showtitle", "duration", "season", "episode", "year", "playcount", "rating", "studio", "mpaa" ] }, "id" : 1 }
I started searching a bit for issues regarding the JSON library's interaction with MySQL and problems that result, but didn't find too many useful results.
I run Nightly builds on Windows 7 for my client machines. I have tried a couple different nightly builds, plus the 10.1 stable build.
On all the nightlies I get the above-documented results. On 10.1, none of the widgets work, not even the XBMC Library one.
Any ideas?