[RELEASE] Weather.com Plus Plugin - skinnable via the new Weather Plugin API in XBMC!

  Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Nuka1195 Offline
Skilled Python Coder
Posts: 3,910
Joined: Dec 2004
Reputation: 18
Post: #76
i've added support for thumbs to the static map list. i will include an include file when i commit to svn. i also have created thumbs for most maps. the ones missing were invalid links so you will now by looking if you use a thumb panel for map selection.

map panel with map pack:
[Image: mappanel.jpg]

current conditions showing the notification.
[Image: currentu.jpg]

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
ronie Offline
Team-Kodi Member
Posts: 9,118
Joined: Jan 2009
Reputation: 157
Post: #77
that looks very nice Nuka1195.
makes me want to do some more skinning myself with the weather.com plus plugin. :-)

Always read the Kodi online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
Nuka1195 Offline
Skilled Python Coder
Posts: 3,910
Joined: Dec 2004
Reputation: 18
Post: #78
please do. if you want the <content> include file. i will upload now. i didn't see in your home where you can select a map. i could just post the py script i use to create it. let me know which you prefer. it would be eassier to modify with the py script.

actually i think i will commit my changes to the script now, even though it's still being modified.

i'll put the thumb pack in svn also.

it's about 10MB zipped. i'm not shure if it should be included with skins or not. it doesn't have to be to work. i added support for a couple settings skinners can use.

here's a sample of the content file there are three includes for the three map lists. it will take me til this afternoon to get it in svn.
PHP Code:
<includes>
    <include 
name="MapsList1.Content">
        <
content>
            <
item>
                <
label>$INFO[Window.Property(MapList.1.MapLabel1)]</label>
                <
icon>$INFO[Skin.String(Weather.MapIconPath)]$INFO[Window.Property(MapList.1.MapIcon1)]</icon>
                <
onclick>SetProperty(Weather.CurrentMap,$INFO[Window.Property(MapList.1.MapLabel1)])</onclick>
                <
onclick>$INFO[Window.Property(MapList.1.MapOnclick1)]</onclick>
                <
visible>!IsEmpty(Window.Property(MapList.1.MapLabel1))</visible>
            </
item>
            <
item>
                <
label>$INFO[Window.Property(MapList.1.MapLabel2)]</label>
                <
icon>$INFO[Skin.String(Weather.MapIconPath)]$INFO[Window.Property(MapList.1.MapIcon2)]</icon>
                <
onclick>SetProperty(Weather.CurrentMap,$INFO[Window.Property(MapList.1.MapLabel2)])</onclick>
                <
onclick>$INFO[Window.Property(MapList.1.MapOnclick2)]</onclick>
                <
visible>!IsEmpty(Window.Property(MapList.1.MapLabel2))</visible>
            </
item

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
ronie Offline
Team-Kodi Member
Posts: 9,118
Joined: Jan 2009
Reputation: 157
Post: #79
no rush, i'm currently busy adding the pvr stuff to the skin so it'll be another week before i get to the weather part.

i'll keep an eye on whatever you commit to svn.

as for the thumb pack, would it be possible to include it in the plugin instead of the skin?

Always read the Kodi online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
Nuka1195 Offline
Skilled Python Coder
Posts: 3,910
Joined: Dec 2004
Reputation: 18
Post: #80
10 MB is a little big, but i will add a download button in the plugin settings to grab it, then the user has easy access and it doesn't bloat the plugin.

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
olympia Offline
Team-Kodi Member
Posts: 2,499
Joined: May 2008
Reputation: 32
Post: #81
aaarghh, this plugin gets more and more amazing Nuka! Excellent work!
That should be badly supported by Confluance.
find quote
Nuka1195 Offline
Skilled Python Coder
Posts: 3,910
Joined: Dec 2004
Reputation: 18
Post: #82
Quote:[weather.com plus]

-changed: version -> 1.2
-changed: English language strings
-changed: speedups and eliminating the need to repeat tasks
-added: customized maps list (WIP) *see (resources/samples/sample-user-defined-maps.udm)
-added: MapList.(1-3).MapIcon.(1-3) for static content lists (allows for thumbnails and panel containers, optional Map Icon Pack available. install from settings)
-added: more properties see first post
-added: new settings for alert notification, custom maps file (WIP), install map icon pack
-added: addons manager to handle the install

i'll update the first post tomorrow with important updates/changes and links to helper files

some images to show what can be done

current w/ 7 day
[Image: screenshot001uo.jpg]

36 hour
[Image: screenshot002v.jpg]

weekend
[Image: screenshot003t.jpg]

settings
[Image: screenshot000y.jpg]

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
(This post was last modified: 2009-12-21 07:28 by Nuka1195.)
find quote
Nuka1195 Offline
Skilled Python Coder
Posts: 3,910
Joined: Dec 2004
Reputation: 18
Post: #83
Map w/opt skin settings
[Image: screenshot005z.jpg]

map panel w/icon pack
[Image: screenshot006io.jpg]

Alerts
[Image: screenshot007f.jpg]

video US only
[Image: screenshot008x.jpg]

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
Nuka1195 Offline
Skilled Python Coder
Posts: 3,910
Joined: Dec 2004
Reputation: 18
Post: #84
updated 1st post: 12/21/2009

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
wstewart Offline
Senior Member
Posts: 212
Joined: Jan 2009
Reputation: 1
Location: Canada
Post: #85
very nice work indeed thanks for the continued updates. The Confluence screenshots look fantastic.

Could you please post your files for modifying confluence theme as shown in your screenshots?

By the way the link on the first page for the PMIII files is dead.
find quote
Nuka1195 Offline
Skilled Python Coder
Posts: 3,910
Joined: Dec 2004
Reputation: 18
Post: #86
thanks,

link is fixed.

the confluence skin isn't finished. a couple views aren't done and i'm still tweaking it.

i'm taking a break from it for a little bit.

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
wstewart Offline
Senior Member
Posts: 212
Joined: Jan 2009
Reputation: 1
Location: Canada
Post: #87
I look forward to the completed version. thanks
find quote
Nuka1195 Offline
Skilled Python Coder
Posts: 3,910
Joined: Dec 2004
Reputation: 18
Post: #88
olympia and wstewart, i've packaged up my changes. i'm not releasing it publicly.

you two seemed the most interested. if you want to test it and let me know. there are navigation issues and 10 day and hourly views aren't done. i will email it to you.

just drop it in the confluence folder.

i won't be getting back to it until i finish some other things so. it could be a while.

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
Nuka1195 Offline
Skilled Python Coder
Posts: 3,910
Joined: Dec 2004
Reputation: 18
Post: #89
Quote:
[weather.com plus]

-changed: version -> 1.2.1
-fixed: no video found for two worded states
-changed: removed calls to unneeded properties
-changed: added an id to the map download setting. this will display the RunScript() command until you download the map pack

*see http://forum.xbmc.org/showthread.php?tid=52034

minor fix

For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
find quote
Sneeka Offline
Member
Posts: 87
Joined: Apr 2009
Reputation: 0
Post: #90
Hey, i'm surprised there's not more action in this thread. That's looking brilliant Nuka - looking forward for the updates Nod
find quote
Post Reply