Web Configuration

If you have a suggestion for a feature, post it here

Re: Web Configuration

Postby DeFlanko » Fri Aug 19, 2011 3:32 am

Developed a few CONF files...
DeFlanko
 
Posts: 111
Joined: Sat Dec 05, 2009 6:49 pm
Location: San Pedro, CA

Re: Web Configuration

Postby joshuahanna69 » Mon Aug 29, 2011 10:46 pm

Wanted to bump this for my request for WEB UI admin features.
joshuahanna69
 
Posts: 3
Joined: Wed Aug 17, 2011 5:14 pm

Re: Web Configuration

Postby lightglitch » Tue Aug 30, 2011 1:26 am

bogphanny wrote:I have written a JSON-RPC interface which exposes the methods of net.pms.configuration.PmsConfiguration (delivered to the client in the form of an SMD)

This makes writing a client extremely simple using a JS framework like Dojo, as reading/modifying the config can be achieved such as in the following example:

Code: Select all
// Create new JSON-RPC instance using the SMD provided
var pmsRpc = new dojox.rpc.Service("/jsonrpc/smd");

// Run getShares method remotely and log the results to console.
pmsRpc.getShares().addCallback(function(r) {
  console.log(r.responseData.results);
});

I need to point out that I'm not fluent with Java, so the RPC interface would best be checked over / re-written by someone more knowledgeable than I.

I'm currently in the process of putting together a functional config page, which once completed, I'll report back to get some willing people to try it out. :)


How is your development on this? Just to see if I should start my own or not...
lightglitch a.k.a Mário Franco
lightglitch
Project Member
 
Posts: 113
Joined: Mon Jun 22, 2009 2:58 pm

Previous

Return to Feature Suggestions

Who is online

Users browsing this forum: Yahoo [Bot] and 3 guests