[RELEASE] Weather.com Plus Plugin - skinnable via the new Weather Plugin API in XBMC! - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Weather Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=155) +---- Thread: [RELEASE] Weather.com Plus Plugin - skinnable via the new Weather Plugin API in XBMC! (/showthread.php?tid=52034) |
[RELEASE] Weather.com Plus Plugin - skinnable via the new Weather Plugin API in XBMC! - Nuka1195 - 2009-05-31 [b][i]Update: 12/30/2009 (bold text is new/changed)[/i][/b] Quote:[b][i]Update: 12/27/2009 (bold text is new/changed)[/i][/b] Update: 12/21/2009 (bold text is new/changed) Quote:[SIZE=1][weather.com plus]--------------------------------------------------------------- *Skinners please note the changes in bold. some properties have changed(it was necessary) still a WIP, property names should not change (2nd post updated with a couple pictures here is a link to an include file foe the static map list content there are there includes: ("MapsList1.Content", "MapsList3.Content", "MapsList3.Content") http://xbmc-addons.googlecode.com/svn/packages/plugins/weather/weather.com plus/Maps-List-Static-Content-Includes.xml there are also map list icon packs users can download from the plugin settings. heres a direct link small: http://xbmc-addons.googlecode.com/svn/packages/plugins/weather/weather.com plus/MapIconPack-small.zip large: http://xbmc-addons.googlecode.com/svn/packages/plugins/weather/weather.com plus/MapIconPack-large.zip --------------------------------------------------------------- With the new weather plugin feature of XBMC you can have your weather window display more info. Skinners can determine if a plugin is selected by using the infolabel "Weather.Plugin". eg <visible>!IsEmpty(Weather.Plugin)</visible>, thanks spiff Here is a plugin that adds the above info. Until script settings is added you are stuck with babelfish translating if available and the three map categories. available in the addons svn. Here is a link to the files for PMIII (not finished, but you can get ideas, won't look exactly as the below pictures): http://xbmc-addons.googlecode.com/svn/packages/skin/Project Mayhem III - Weather.zip I tried to localize as much as possible. let me know if anything is missing (temperature and wind speed in forecasts is not converted). Skinners let me know if it would better to localize from skin or XBMC wher i localize from script. if skinners are going to localize headings (where possible) i will remove Heading properties. It currently translates some text with strings.xml files (script/skin/XBMC). The forecast, outlook and wind uses babelfish.yahoo.com. babelfish only works for certain languages. "Chinese (Simple)": "en_zh", "Chinese (Traditional)": "en_zt", "Dutch": "en_nl", "French": "en_fr", "German": "en_de", "German (Austria)": "en_de", "Greek": "en_el", "Italian": "en_it", "Japanese": "en_ja", "Korean": "en_ko", "Portuguese": "en_pt", "Portuguese (Brazil)": "en_pt", "Russian": "en_ru", "Spanish": "en_es", "Spanish (Mexico)": "en_es", Any weather plugin can set any property. There are no restrictions, but for skinners it would be better to have some standards. Since this is the first I will set some . I may have missed some. Plugin Name: ------------ Code: "PluginName": name of the plugin(not the same as the infolabel "Weather.Plugin") Special skin settings used by plugin: (added: 12/12/2009) ------------------------------------------- Code: [b]"TWC.DefaultMap": used by plugin to download user selected default map(skins must support a way to set this for this to work)[/b] Video: ------- Code: "Video": url of weather video. empty if not avaialble Alerts: ------- Code: "Alerts": The main text (empty if none) 36 Hour forecast (%d == 1 thru 3): --------------------------------------- Code: "36Hour.%d.OutlookIcon": Hourly forecast (%d == 1 thru 27): -------------------------------------- Code: "Hourly.%d.Time": items time Weekend forecast (%d == 1 thru 3): --------------------------------------- Code: "Weekend.%d.OutlookIcon": 10 Day forecast (%d == 1 thru 10): -------------------------------------- Code: "Daily.%d.LongDay": Long day of week xbmc localized Maps and Radars (%c == 1 thru 3, %d == 1 thru 30): ----------------------------------------- Code: [b]"Weather.CurrentMapUrl": (added: 12/12/2009)[/b] - Nuka1195 - 2009-05-31 . - Nuka1195 - 2009-06-01 . - Dan Dare - 2009-06-01 Nuka1195, looks very good. This might sound like a stupid question, SVN Repo Installer extracted it in XBMC\plugins\weather, but how do I access it? Choosing Weather in the main menu goes to the original Weather Forecast (XBMC 9.04.1 Windows) - queeup - 2009-06-01 This is wonderful thx. My i ask why are you using babelfish? Goggle Translate has more language support. - queeup - 2009-06-01 Eheheh Dan ı think you must start from plugins menu Edit: dohh stupid answer? - Nuka1195 - 2009-06-01 you need to edit you skin to support this plugin. the first post has a link to files you can drop in to pmiii folder and it should look work. it won't look the same as the pictures, because i use different fonts and may have nissed some gfx. if people report google translate is better i can switch it. - Dan Dare - 2009-06-01 Thanks Nuka1195, I dropped the files from the archive in C:\Program Files\XBMC 9.04.1\skin\Project Mayhem III (Windows) and it worked, looks like this for me: http://img195.imageshack.us/img195/8741/weatherplugin.jpg As you said, that's the default background and some issue with getting the details forecats for Dublin, Ireland (ERROR: invalid rss url set referenced in skin), may be some issue with the website, not necessarily a problem in your code... - Nuka1195 - 2009-06-01 not related. did you go into weather settings and select "weather.com plus" also this feature was only recently added, may not be in 9.04.1 - Dan Dare - 2009-06-01 Nuka, I just extract the files on top of the existing ones in the installation folder (maybe should've copied them in my user's skin folder?!) and it replaced the standard weather feature, didn't have to do anything in the weather settings... Nvm, I will try again with a newer SVN release, not going to take over the thread :-) Thanks again. - Nuka1195 - 2009-06-01 Also skinners note. all these properties are available thru out the skin. Window(Weather).Property(Alerts) for instance - Nuka1195 - 2009-06-04 Quote: updated plugin - Baphomet - 2009-06-04 Looks awesome. - Baphomet - 2009-06-04 Okay, so let me get this straight -- the Weather + plugin is a newer version of the TWC Supplemental 1.2 script? Same functionality of the TWC Script, just with a cleaner look and more functionality? - lewis.donofrio - 2009-06-04 So how would we go about on a pure xbox running xbmc get the 'weather' link in the main page using stock skin be able to use this plugin? |