NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 34 35 36 37 38 … 93 Next »
Panels!

 
  • 0 Vote(s) - 0 Average
Panels!
Ommina
Offline

Senior Member

Posts: 330
Threads: 39
Joined: Feb 2006
#1
2008-03-10, 12:24 AM
Yeah I know, I'm posting a lot today. I'm trying to catch up in post count.

Anyway, the new main menu panels reintroduced in the newest version seems pretty straightforward; I got one going with a minimum of fuss.

I'd like to clarify a few points though, so ensure that I'm understanding them.

  1. The Main Menu skin.xml file must be edited to include the <Panel> tag. That is, something lower in the plugin skin will not be sufficient.
  2. There is now a Panels skin folder, but it doesn't seem to be a requirement - so far I've been using xml files from the main plugin skin folder and it's been happy.
  3. A plugin CAN expose multiple panels.
  4. Multiple panels are rendered at the same time. There is no automatic transition from panel A to B by the PVRX2 framework; plugins will have to share the main menu real estate. If two choose the same location, one will overwrite the other.

So an individual plugin will be able to change the content of its panel, but there is, as yet, no sharing of a panel like we had with the old interface, where, for example, the same panel would transition from "Now Recording", "Next Recording", "Now Transcoding", "Current Temperature".

(Or maybe I just didn't really understand what GBPVR -- in contrast to PVRX2 -- did.)

Do I seem to have a pretty good handle on it?
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,729
Threads: 767
Joined: Nov 2003
#2
2008-03-10, 12:43 AM
1) correct
2) you can put the skin file wherever you like, as you long as you pass the correct name to your skinhelper constructor
3) yes
4) correct, they'd need to be layed out with knowledge of whether other plugins are.

It was pretty much exactly the same in GBPVR.exe.
Ommina
Offline

Senior Member

Posts: 330
Threads: 39
Joined: Feb 2006
#3
2008-03-10, 01:00 AM
No kidding! I always thought that GBPVR.exe alternated the panel text on the plugin's behalf, letting different plugins share the same location. I guess that's a pretty good demonstration that I only started to pay attention to how things worked after the release of version 1.0.

Thank you for the clarifications -- now the question becomes one of deciding if there is anything my own small work does that is so amazingly interesting that it needs space on the main menu. Probably best to let the user decide.

Thanks again!
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,729
Threads: 767
Joined: Nov 2003
#4
2008-03-10, 01:13 AM
Quote:No kidding! I always thought that GBPVR.exe alternated the panel text on the plugin's behalf
No it didnt, though a user created a plugin that did this. It wasnt part of the base install though. I did consider doing something like this for 1.2.x, but I couldnt be arsed Big Grin

Quote:Thank you for the clarifications -- now the question becomes one of deciding if there is anything my own small work does that is so amazingly interesting that it needs space on the main menu
Thats pretty much wy I didnt do it. There is only so much info that needs to be shown.
roy
Offline

Posting Freak

Posts: 830
Threads: 95
Joined: Sep 2005
#5
2008-03-11, 07:03 PM
Are there any more panel items available now, other than @nowPlaying? Or will these come from plugin authors?
What, me worry?

MSI H270 PC Mate | Core i3-7100 | 16GB RAM | 275GB M.2 2280 SSD | 4TB + 2TB HDD | Zalman Z3 Case | Win10
HDHR Prime | HVR2250 | PCH A-110 | PCH A-100 | Harmony 650 & 700 remotes | Comcast | Schedules Direct
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,729
Threads: 767
Joined: Nov 2003
#6
2008-03-11, 07:08 PM
I've only created the Now Playing panel at this stage, primarily to test the mechanism. Plugin developers can create others that show things like weather etc.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Panels? Old Dog 35 9,043 2006-01-07, 02:38 AM
Last Post: LilY0da
  Use of Panels decreases performance? PeterM 5 2,345 2004-12-04, 05:14 PM
Last Post: PeterM
  Developing Panels Jeff 7 3,155 2004-12-04, 02:45 AM
Last Post: jasonf

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

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

Linear Mode
Threaded Mode