Wemin Module

Discuss third-party additions, plugins and translations for PS3 Media Server

Wemin Module

Postby godfader » Wed Oct 12, 2011 10:55 am

Is it possible to create a webmin module to control the pms.conf file on a headless machine?

any inputs?

Thks!
godfader
 
Posts: 9
Joined: Wed Jan 21, 2009 11:09 pm

Re: Wemin Module

Postby taconaut » Wed Oct 12, 2011 1:16 pm

Don't know what webmin is, but have another proposition if you are familiar with SOAP. You can download the webserviceplugin (I've just uploaded a compiled version), drop it inside the plugins directory and you'll have all configuration options available through SOAP.

After restarting PMS, check the log to see if you find these lines
Code: Select all
[main] INFO  14:03:16.618 Sucessfully bound enpoint: http://192.168.5.113:54425/PmsConfiguration
[main] INFO  14:03:16.630 Sucessfully bound enpoint: http://192.168.5.113:54425/FileSystem
PmsConfiguration: exposes the configuration (read/write)
FileSystem: Let's browse the file system of the machine where the server is running (reads folder names only)

For now only the service part has been done, but no client. You can access the services with any soap client (e.g. SOAPUI where you can enter the endpoint as http://192.168.5.113:54425/PmsConfiguration?wsdl).

WARNING: There aren't any securities whatsoever (authentication, ip check ...). Be aware that these settings can be changed by anyone on the same LAN!

To answer you question: Yes it is possible with a plugin.
If you always wanted to have your most recent videos at the top of the folder in the ps3 or wished you could group all videos with the same genre in one folder, have a look at pms-mlx
taconaut
Project Member
 
Posts: 1082
Joined: Sat Apr 11, 2009 12:29 am
Location: Switzerland

Re: Wemin Module

Postby godfader » Mon Oct 17, 2011 6:46 pm

webmin.com

it has several modules to configure some linux services.

I don´t know soap but i´ll try your plugin with soapui on a mac(?) and post the results!
thank you
godfader
 
Posts: 9
Joined: Wed Jan 21, 2009 11:09 pm

Re: Wemin Module

Postby taconaut » Mon Oct 17, 2011 8:14 pm

SoapUI works with osx. It gives you a basic interface where you edit the value in the XML yourself. Don't forget to call save() if you want your changes to remain after a restart.
If you always wanted to have your most recent videos at the top of the folder in the ps3 or wished you could group all videos with the same genre in one folder, have a look at pms-mlx
taconaut
Project Member
 
Posts: 1082
Joined: Sat Apr 11, 2009 12:29 am
Location: Switzerland


Return to Additions and Plugins

Who is online

Users browsing this forum: No registered users and 3 guests