[Approved] Allow plugins as Screensavers (1 Viewer)

sccrgoalie1

Portal Pro
September 12, 2013
109
165
34
United States of America United States of America
thanks, but you have update on master branch and not the good branch.
we can't import from master !
Please, only use branch dedicated for each change.
one branch = one change , more easy for Dev team to verify the code. ;)
Sorry, not sure I understand I created a separate branch in my fork called "Screensaver." That's the only spot where I've pushed my changes. I'm new to git, so sorry if this is a beginner mistake.
 

azzuro

Test Group
  • Team MediaPortal
  • May 10, 2007
    9,607
    5,232
    France - IDF
    France France
    Country flag
    one question : plugins should have special code inside, for to be detected as compatible plugins for screensaver, or all plugins can be set ?
     

    sccrgoalie1

    Portal Pro
    September 12, 2013
    109
    165
    34
    United States of America United States of America
    one question : plugins should have special code inside, for to be detected as compatible plugins for screensaver, or all plugins can be set ?
    The way it's built any plugin could be set as screensaver. I'm not sure it's necessary to build a whole separate special code for screensaver plugins, but if the team thinks we need this is could be done.
     

    azzuro

    Test Group
  • Team MediaPortal
  • May 10, 2007
    9,607
    5,232
    France - IDF
    France France
    Country flag
    was only for understand.
    because i'm affraid for users want use any plugins with it, and causing crash.
    but it's only supposition ...
    thank you for your reply
     

    sccrgoalie1

    Portal Pro
    September 12, 2013
    109
    165
    34
    United States of America United States of America
    was only for understand.
    because i'm affraid for users want use any plugins with it, and causing crash.
    but it's only supposition ...
    thank you for your reply
    Makes sense. There isn't any reason it would cause a crash as it launches the plugin just like it would be launched anywhere else. There is a chance a user would choose a plugin that doesn't do anything (to prevent screenburn etc) and therefore isn't a good candidate for a screensaver, but it's up to the users discretion.
     

    sccrgoalie1

    Portal Pro
    September 12, 2013
    109
    165
    34
    United States of America United States of America
    I discovered a minor bug in the configuration tool. How do I submit this fix now that it's a branch of Media Portal?

    Specifically, in the GuiScreensaver class this line:

    Code:
    xmlreader.SetValue("general", "IdlePluginWindow", loadedPlugins[pluginsComboBox.SelectedIndex].WindowId);
    Needs to change to this

    Code:
     if (loadedPlugins.Count > -1)
            {
              xmlreader.SetValue("general", "IdlePluginWindow", loadedPlugins[pluginsComboBox.SelectedIndex].WindowId);
            }
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    OP Similar threads Forum Replies Date
    emphatic Allow remote control mapping of all plugins Improvement Suggestions 0
    N [Finished] [MP2-806] Playing a recorded radio program does not show screen to allow skipping forward, etc MediaPortal 2 141
    R MediaPortal will not allow windows shortcut keys to work OffTopic 0
    P Mediaportal does not allow my TV tuner to enter low power state General Support 1
    B [MP2-745] Allow direct navigation to specified media item/filter Archive 7
    morpheus_xx [WiP] "What's New" plugin for MP2 upgrades MediaPortal 2 20
    da3dsoul [Request] An MVP Plugin example for custom settings in MP2 Plugin Development 2
    da3dsoul MP2 Plugin - Getting Started (Directory Tree and Player) Plugin Development 27
    M Installing Plugins Newcomers Forum 2
    joecrow 1.25.0 Radio Time plugin fails after Resume from Sleep with MP 1.25 Bugreports 10
    P MP2: US user, OTA - can NOT get SchedulesDirect plugin to work on MP1 or MP2 --> how do I get OTA schedule? General 5
    E aktuelle englische Forums Webseite von - Showtime Plugin v3 Plugins & Erweiterungen 4
    mrmojo666 [Tv Server Plugin ]Direct Show Video Control Plugin 0.0.0.1 for Hauppauge PVR cards MediaPortal 1 Plugins 0
    joecrow MultiShortcut Plugin (Uavailable) in DWHD skin General Support 58
    vapourEyes Building TV Plugin General Development (no feature request here!) 49
    Golf4 Nach Windows-Updates läuft TV-Plugin nicht mehr Allgemeines Support- und Diskussionsforum 0
    joecrow How about a Launcher plugin for MP1? MediaPortal 1 6
    D [solved] TVServer Plugin must be missing something. General Development (no feature request here!) 1
    framug Nouveau plugin XmlTvFR pour récupérer le guide télé français Kazer / ZguideTv (WebEPGfr) 11
    D Where should plugins be located on hard drive? General Support 0
    D how to disengage from one version of a plugin to use another Newcomers Forum 0
    cbr954rr How to disable a pre-configured plugin? General 2
    mrmojo666 [Plugin]Marantz Control Plugin 0.0.0.2 MediaPortal 1 Plugins 2
    mrmojo666 beginner: trying to write a plugin, need help to catch event General Development (no feature request here!) 3
    framug [Rejected] Fix PowerScheduler plugin for MP2 single seat Submit: Code Patches 9
    Similar threads

























    Top Bottom