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.
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.
Users browsing this forum: No registered users and 2 guests