Basic plugin question - how to display a list? (1 Viewer)

hagur

Portal Member
September 4, 2004
21
1
Hi,

I'm experimenting with plugin development. I have gone through the plugin development guide and now I have two questions.

- How do I add a list control to my plugin? I want to display a list of arbitrary items. I did try to copy a definition of a list from the resources.xml file into my skin file but I cannot get the list to show up.

- How can I read/write settings for my plugin? Does MP provide this feature or should I just write my own using app.config files etc. ?

Thanks in advance!
 

arion_p

Retired Team Member
  • Premium Supporter
  • February 7, 2007
    3,373
    1,626
    Athens
    Home Country
    Greece Greece
    - How do I add a list control to my plugin? I want to display a list of arbitrary items. I did try to copy a definition of a list from the resources.xml file into my skin file but I cannot get the list to show up.
    Take a look at one of MP's own plugins (e.g. My Videos).

    - How can I read/write settings for my plugin? Does MP provide this feature or should I just write my own using app.config files etc. ?

    There is an MPSettings class for that purpose. It saves settings in MediaPortal.xml. Again have a look at any plugin (usually the Init code) or the Config sections in MP Configuration project
     

    Users who are viewing this thread

    Top Bottom