NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) Weather / Weather2 v
1 2 3 Next »
Showing Weather on Menu Page

 
  • 0 Vote(s) - 0 Average
Showing Weather on Menu Page
-Oz-
Offline

Posting Freak

Posts: 803
Threads: 33
Joined: Aug 2006
#1
2010-01-11, 12:39 AM
I'm gonna seperate the discussion from http://forums.gbpvr.com/showpost.php?p=3...tcount=191 and bring it over here.

scb147 Wrote:I've never looked at the slick skin, but I believe it shows an image of the plugin, correct?

If this uses the getTaskImage() method, is it possible to have this update the icon in the slick menu? I could put that on the to-do list...

Actually it doesn't show an image; I assume I'd have to modify the skin somehow. This is what slick looks like:
[Image: 1263168711.jpg]

My goal would be to somehow make it look something like this:
[Image: 1263169660.jpg]
or
[Image: 1263169692.jpg]

I assume this means I have to modify the skin as well as somehow pull the data from the plugin... opinions/ideas?
Dan Blomberg
[SIZE="1"]HTPC 1: MSI K8NGM2-FID, AMD 64 3000+, WD 200gb HDD, 1gb ram, NSK2400, PVR-500, Harmony 659
HTPC 2: ASUS M2NPV-VM, AMD 64 3200+, WD 250gb HDD, 1gb ram, nVidia DualTV MCE, NSK2400, Harmony 720
HTPC 3: GIGABYTE GA-E7AUM-DS2H GeForce 9400, Intel E5200 Wolfdale, WD 640gb HDD, 4gb ram, Antec Fusion 2, HVR-1600, hdhomerun, Harmony 880, PCH A-110
GBPVR 1.4.7 Additions: Weather2, UltraXMLTV, Comskip
Project: Setup Logitech Harmony Remote[/SIZE]
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,818
Threads: 954
Joined: May 2006
#2
2010-01-11, 01:06 AM
I added an interface in psycik's interface.dll that will allow any to get the current temperature, and an icon from Yahoo weather that I was hoping ACTCMS would build into MLPanel. You can't do much on the main screen hover because sub owns that.

Martin
whurlston
Offline

Posting Freak

Posts: 7,885
Threads: 102
Joined: Nov 2006
#3
2010-01-11, 01:46 AM
You could modify the CurrentTime placement in the skin to something like:

Code:
        <CompositeImage name="CurrentTime" size="49,5">
            <DrawRoundedRect loc="0.5,0.5" size="99,98" fillColor="Black" borderColor="Transparent" radius="2" borderWidth="0"/>
            <DrawImage filename="..\weather2\current.png" loc="0,0" size="25,100" fixedAspectRatio="true" align="left"/>
            <DrawText text="@currentTime" loc="25,0" size="75,100" textStyle="GeneralTextStyle" align="Center" valign="Center"/>
        </CompositeImage>

And then just save the image to the same place each time (..\weather2\current.png in the example) Not sure how you would add the temp though. I also don't know how often sub reloads the images in the placements.
-Oz-
Offline

Posting Freak

Posts: 803
Threads: 33
Joined: Aug 2006
#4
2010-01-11, 01:48 AM (This post was last modified: 2010-01-11, 01:54 AM by -Oz-.)
We used to be able to get stuff on that main screen via plugin panels I think... I take it that died when pvrx2 came into existence.

Whurlston: very interesting idea. Could i just modify the skin you think to include some of my own text?
Dan Blomberg
[SIZE="1"]HTPC 1: MSI K8NGM2-FID, AMD 64 3000+, WD 200gb HDD, 1gb ram, NSK2400, PVR-500, Harmony 659
HTPC 2: ASUS M2NPV-VM, AMD 64 3200+, WD 250gb HDD, 1gb ram, nVidia DualTV MCE, NSK2400, Harmony 720
HTPC 3: GIGABYTE GA-E7AUM-DS2H GeForce 9400, Intel E5200 Wolfdale, WD 640gb HDD, 4gb ram, Antec Fusion 2, HVR-1600, hdhomerun, Harmony 880, PCH A-110
GBPVR 1.4.7 Additions: Weather2, UltraXMLTV, Comskip
Project: Setup Logitech Harmony Remote[/SIZE]
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,648
Threads: 767
Joined: Nov 2003
#5
2010-01-11, 01:52 AM
1.2.9 added the ability for plugins to display panels, by implementing the IUiPanel interface, and a minor alteration to the menu skin.xml file.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,818
Threads: 954
Joined: May 2006
#6
2010-01-11, 02:35 AM
Can a simple plugin instantiate itself without having a menu item?

Martin
scb147
Offline

Posting Freak

Posts: 806
Threads: 77
Joined: Nov 2006
#7
2010-01-11, 04:10 PM
I think this would be a neat thing to have, but I have bigger issues with the MVP/NMT's right now that I need to focus on.

So this would have to wait...
Author of Weather (NPVR) & Weather2 (GBPVR)
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Weather 2 Wishlist Snooze 81 40,323 2014-02-14, 05:24 AM
Last Post: whurlston
  Weather V1.0.1.0 Notes scb147 1 10,910 2011-03-31, 04:22 PM
Last Post: rkircher
  Weather Plugin with NPVR Blue Racer 6 7,305 2010-10-01, 06:31 PM
Last Post: Blue Racer
  Weather V1.0.0.2 Notes scb147 0 4,664 2010-09-28, 06:33 PM
Last Post: scb147
  NPVR Weather Plugin Name is "Weather" scb147 21 17,207 2010-08-18, 07:26 PM
Last Post: scb147
  Weather crashes GB PVR on MVP JonRoyle 8 9,137 2010-01-11, 10:04 PM
Last Post: Jaggy
  Weather2 Sometimes Disappears from Main Menu LewE 1 4,860 2010-01-10, 04:20 AM
Last Post: scb147
  Weather 2 just not working right steeb 13 7,368 2009-11-13, 03:39 AM
Last Post: JavaWiz
  Weather 2 nearly steeb 16 7,539 2009-09-26, 03:07 AM
Last Post: steeb
  Weather2 crashes when put on a sub-menu Sykor 3 2,784 2009-09-11, 01:12 PM
Last Post: Sykor

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode