Customizing MyWeather Plugin? (1 Viewer)

happyfirst

Portal Member
July 29, 2007
25
0
Home Country
United States of America United States of America
I've been experimenting with customizing the MyWeather plugin to do the following

1) Remove image buttons and looping for those entries that don't have images
2) Right now trying to add support for animations. WUnderground has animations but the links appear to be static. I'm trying to add a feature to have the plugin auto build an animation from the static images.
3) Adding support for multiple images of a given category.
4) Adding support for being able to take a subsection of a picture

When I finish these changes, since I'm new, would I be allowed to deploy a new MyWeatherEx plugin outside the core source code in the plugins directory even though the code is based off the original plugin?

Next and a bit more ambitious is to add a feature to 'splice' various weather pictures into the screensaver. When media portal is idle and showing pictures, I want to have the ability for different plugins to be able to insert an image every Nth time.

I'm just learning this and hoping to be able to contribute. I've already managed to make the home menu static and not scroll anymore (I can finally use my touchscreen!!!!) by adding support for a new 'noScroll' setting that can be added to the skin file to turn off the scrolling. You then just need to edit the skin file further to at least add the required number of buttons to show them all.
 

Gixxer

Retired Team Member
  • Premium Supporter
  • August 18, 2007
    1,383
    41
    40
    Spain
    Home Country
    Spain Spain
    i look forward to this !! good luck and post any mods you make so we can test them.
     

    happyfirst

    Portal Member
    July 29, 2007
    25
    0
    Home Country
    United States of America United States of America
    I don't know how I'd post them. In looking through the patch logs it seems LOTS of stuff is so backlogged and the core developers pick and choose what they want. So I could post it and nobody might ever see it.

    I'm wondering if it would be better for me to just copy all the code into a new MyWeatherEx plugin and leave it as a standalone plugin.

    I see they have the configuration for MyWeather directly in the configuration tool instaed of in the plugin. Is weather data used anywhere else in MediaPortal besides the weather plugin and install program?

    I was looking to enhance the weather config settings. But they store everything flat in the mediaportal.xml file. Is there a specific reason it's all flat? Is there any reason why I couldn't store the data in a more nested organized fashion? I could teach it to read in the old settings if present and write out the new cleaner nested settings.
     

    gemx

    Retired Team Member
  • Premium Supporter
  • October 31, 2006
    1,972
    539
    Home Country
    Germany Germany
    Hi,
    since we are currently in a feature-freeze, we are only working on making MP stable.
    So the best solution would be to have a separate plugin - called something like "MyWeather Extended".
    There is no problem in using code from the original plugin but it can't be bad to try to contact the author ;)
     

    happyfirst

    Portal Member
    July 29, 2007
    25
    0
    Home Country
    United States of America United States of America
    Thanks. How do I determine the author? I don't see any name at the top of the weather plugin code.
     

    lacartus

    New Member
    December 31, 2008
    1
    0
    Home Country
    United States of America United States of America
    Did anything ever come of this? Great idea BTW, I'd love to have something like that as a screensaver for MP.
     

    Users who are viewing this thread

    Top Bottom