MP2 - Development Suggestion - Web Configuration Interface

Discussion in 'General' started by robbo100, August 26, 2011.

  1. robbo100
    • Premium Supporter

    robbo100 Retired Team Member

    Joined:
    May 5, 2009
    Messages:
    1,291
    Likes Received:
    285
    Gender:
    Male
    Occupation:
    Herding Cats
    Location:
    UK
    Ratings:
    +322 / 1
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Hello all in MP2 land (I have never ventured here before)...

    I submitted a development suggestion within the MP1 forum, and they have told me that it is unlikely to happen on MP1 but might be worth consideration for MP2 - so hence this post.

    Background: Many users use some form of remote desktop to configure their MP clents and server using the normal configuration programmes, however, this can be an awkward way of working. I was wondering if it might be possible to create a web based configuration tool for MP (covering both the client and server) so that users can change configuration settings from the web browser on a non-MP computer on the network.

    Description: If developed, I envisage the system working as follows:

    The "web configuration service" is a seperate part of MP server and client (since it must be possible to change the configuration whilst MP is not running). Each server/client on the network can be accessed individually by their differing IP address, if both the client and server exist on the same PC then there it must be possible to access either configuration area.

    The "web configuration service" should be installed as part of MP basic installation and can be turned on/off from within the normal configuration programme (but there is no reason why this can't be developed as a completely seperate plugin).



    The user should have access to all the normal configuration options for MP within the "web configuration service" as well as some additional features such as - "Restart MP Client Software" and "Restart TVServer", which will allow the user to test the changes made.

    Plugin developers would be able to write addons for the web configuration service to allow their plugins to be configured using this method (to be honest, it is plugins like Moving Pictures, TV Series, Streamed MP (skin), etc that this would be most useful for (on top of the obvious advantages of Tuning TV channels etc).


    Robbo100
     
  2. Google AdSense Guest Advertisement



    to hide all adverts.
  3. miroslav22
    • Premium Supporter

    miroslav22 Development Group Member

    Joined:
    September 4, 2009
    Messages:
    703
    Likes Received:
    459
    Gender:
    Male
    Location:
    Warwick
    Ratings:
    +459 / 0
    Home Country:
    United Kingdom United Kingdom
    Yea we've been discussing this on the team's internal forums recently (for the TV side anyway :))

    I'm very much for it and we have 2 or 3 devs already interested in helping (myself included) :)
     
  4. robbo100
    • Premium Supporter

    robbo100 Retired Team Member

    Joined:
    May 5, 2009
    Messages:
    1,291
    Likes Received:
    285
    Gender:
    Male
    Occupation:
    Herding Cats
    Location:
    UK
    Ratings:
    +322 / 1
    Home Country:
    United Kingdom United Kingdom
    Show System Specs
    Great news.

    Rock On MP2!
     
  5. Albert
    • Premium Supporter

    Albert MP2 Developer

    Joined:
    February 18, 2008
    Messages:
    1,297
    Likes Received:
    1,125
    Gender:
    Male
    Occupation:
    Dipl.-Inform.
    Location:
    Freiburg im Breisgau, Germany
    Ratings:
    +1,130 / 1
    Home Country:
    Germany Germany
    AW: MP2 - Development Suggestion - Web Configuration Interface

    Very short answer:
    MP2 is designed to provide several ways of configuration. The config engine provides all configuration settings to the system and it provides an API to read/set/upate the settings. A config program only needs to access that config API. Currently, we have a plugin for the MP2 application (shown in the settings menu point) and we have a standalone config application (which doesn't compile atm, IIRC). To provide a Web UI, you just need to write a plugin which renders the config settings into a HTML page and install that plugin in the client and server - that's all. Even a HTTP server is already included in MP2 and can be used by such a plugin.
    Most of the config settings are simple settings which can be rendered by just providing standard renderers - string, number, multi-entry-list, single-entry-list, filepath etc. Some settings are more complicated, for example the shares config. For those more complicated settings, the plugin which provides that setting must provide a kind of plugin for the configuration renderers to make the setting visible in the renderers. For example, the shares configuration is currently only available in the MP2 UI, not in the standalone config app because we currently only provide a renderer plugin for the MP2 config UI.
    That's the architecture in short, maybe that already helps a bit.
     
    • Like Like x 2
Loading...

Users Viewing Thread (Users: 0, Guests: 0)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice
  • About The Project

    The vision of the MediaPortal project is to create a free open source media centre application, which supports all advanced media centre functions, and is accessible to all Windows users.

    In reaching this goal we are working every day to make sure our software is one of the best.

             

  • Support MediaPortal!

    The team works very hard to make sure the community is running the best HTPC-software. We give away MediaPortal for free but hosting and software is not for us.

    Care to support our work with a few bucks? We'd really appreciate it!