Advanced Settings in Extension GUI (1 Viewer)

ltfearme

Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,755
    7,200
    Sydney
    Home Country
    Australia Australia
    In Trakt v1.3.1 we have added an Advanced Settings GUI. This is only available to you if you have the Extensions plugin installed and a supporting skin.

    Users can access the Settings either by the Extensions plugin, when Trakt is selected you can access the details and press the Settings button.

    Or

    Skinners can provide a shortcut button that directly links to this window (See Skin Designers Guide). The screenshot below illustrates this with an Advanced Settings button in the Trakt Settings GUI (Screenshots taken from StreamedMP v1.7.5).

    We will add more advanced settings as the plugin continues to evolve.
     

    Attachments

    • traktsettings.jpg
      traktsettings.jpg
      65.4 KB
    • ExtensionSettings.jpg
      ExtensionSettings.jpg
      90.1 KB

    Edalex

    Community Plugin Dev
  • Premium Supporter
  • January 3, 2008
    2,959
    1,270
    Saratov
    Home Country
    Russian Federation Russian Federation
    Hope all plugins will have setttings in Extensions plugin.
    As I understand you just need to make simle extension-settings.xml
    But i'm not sure when this changes applied.
    Maybe after MP restart?
     

    ltfearme

    Community Plugin Dev
  • Premium Supporter
  • June 10, 2007
    6,755
    7,200
    Sydney
    Home Country
    Australia Australia
    • Thread starter
    • Moderator
    • #3
    Hope all plugins will have setttings in Extensions plugin.
    I hope so too, only IMDb+ and OnlineVideos are currently using it I think. Although it only supports plugin that store settings in XML files, database settings would require additional work.
    As I understand you just need to make simple extension-settings.xml
    Yep, thats all you need...as long as you embed that in your MPEI package it will pick it up automatically. Your plugin can also hook into an event to know if settings were changed for your plugin so it can be re-loaded and applied.

    But i'm not sure when this changes applied.
    Maybe after MP restart?
    Immediately after exiting window...although in some cases the settings dont make sense to start until after restart e.g. the Delay Start for Sync.
     

    Users who are viewing this thread

    Top Bottom