NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Wishlist v
« Previous 1 … 172 173 174 175 176 … 193 Next »
Info from plugins on the main menu?

 
  • 0 Vote(s) - 0 Average
Info from plugins on the main menu?
nkh
Offline

Senior Member

Posts: 418
Threads: 14
Joined: Jan 2004
#11
2004-08-20, 06:04 PM
ah, okay, I was just thinking I had overlooked something [Image: smile.gif] thanks!
Nicolai [SIZE="1"]- http://www.nk-h.dk
Current htpc - Asus N4L-VM DH, Core Duo 2GHz, 2GB RAM, Hauppauge PVR-500 mce, Twinhan DVB-C CI, TerraTec Cinergy 1200 DVB-C, nVidia 8800 GTS (using S-video tv-out), decoding dvb-c with ACamd 0.5.0.9, Yanksee and a Viaccess card from YouSee.[/SIZE]
CodeMonkey
Offline

Senior Member

Posts: 389
Threads: 86
Joined: Apr 2004
#12
2004-08-20, 08:00 PM
Ohhhh nice.  I will try and do something with this in the weather plugin this weekend!

I can set it up to only get the data every 10 minutes or so by that 'needsrendering' method. But it still will slow the display of the main menu occasionally. Unless you are making these calls to get the panels in a non-blocking manner?
-CodeMonkey
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,627
Threads: 767
Joined: Nov 2003
#13
2004-08-20, 08:08 PM
When the user is viewing the main menu, the new interface will be asked once a second if it has something that needs to be rendered. It should only return 'true' when it has some new to render. If it returns 'true' will then ask it to render the panel.
CodeMonkey
Offline

Senior Member

Posts: 389
Threads: 86
Joined: Apr 2004
#14
2004-08-20, 08:09 PM
[b Wrote:Quote[/b] (sub @ Aug. 12 2004,09:59)]These panels can be positioned in the skin.xml using

<SpecialElement name="Panel" panelName="weather" visible="false" loc="500,100" size="180,80"/>
Did you modify the weather plugin already?? [Image: smile.gif]
-CodeMonkey
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,627
Threads: 767
Joined: Nov 2003
#15
2004-08-20, 08:12 PM
I did but its not worth building on my example, I just returned a black square with "this is a test" to try it out.
CodeMonkey
Offline

Senior Member

Posts: 389
Threads: 86
Joined: Apr 2004
#16
2004-08-20, 08:15 PM
[b Wrote:Quote[/b] (sub @ Aug. 20 2004,11:08)]When the user is viewing the main menu, the new interface will be asked once a second if it has something that needs to be rendered. It should only return 'true' when it has some new to render. If it returns 'true' will then ask it to render the panel.
Yes, thats how I was going to implement the logic to go and get updated weather information every 10 minutes.  But every 10 minutes, when it is time to go get the weather data, the menu will be held up until the weather info is retrieved unless you aren't blocking on the renderPanel() call. But I suppose I could play some threading games in the weather plugin to reduce that impact, if you are blocking.
-CodeMonkey
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#17
2004-11-01, 08:58 AM
sub can you send me your example with "this is a test" im having a little problems getting anything to go. im not sure how to setup the render method.
cheers.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,627
Threads: 767
Joined: Nov 2003
#18
2004-11-01, 04:21 PM
I no longer have that sample sorry. After this next release is out of the way, I'll try and knock up samples using the IInfoPanel and IEventNotification plugin interfaces.
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (2): « Previous 1 2


Possibly Related Threads…
Thread Author Replies Views Last Post
  Menu for recent recordings LeGrandZombie 0 817 2021-09-06, 02:02 AM
Last Post: LeGrandZombie
  Web Client info VCR58 0 912 2021-01-26, 10:05 PM
Last Post: VCR58
  Additional Info on Channel Map Screen brainfryd 0 892 2020-10-03, 09:35 AM
Last Post: brainfryd
  install change-startup and start menu shortcuts paulc 0 917 2020-10-03, 06:13 AM
Last Post: paulc
  Context Menu via remote TK978 5 2,600 2019-04-19, 12:21 AM
Last Post: TK978
  Videos - Eliminate Menu Delays due to Slow USB Disk Drives meccano 4 2,202 2017-12-07, 04:04 PM
Last Post: meccano
  Archive a Series and/or Batch of Shows in recordings from root menu? jksmurf 25 14,029 2017-09-21, 12:14 PM
Last Post: BrettB
  Delete Menu to jump out of Delete Cycle, so multiple deletes are avoided? jksmurf 3 2,376 2016-05-24, 08:34 PM
Last Post: mvallevand
  Devices Info Option to show only those with channels. GuruSR 0 1,687 2016-04-06, 07:19 PM
Last Post: GuruSR
  Settings Menu Item! GuruSR 0 1,734 2016-04-06, 01:20 PM
Last Post: GuruSR

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

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

Linear Mode
Threaded Mode