NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 62 63 64 65 66 … 93 Next »
Developing plugins

 
  • 0 Vote(s) - 0 Average
Developing plugins
Jeff
Offline

Posting Freak

Posts: 1,933
Threads: 69
Joined: Oct 2004
#81
2006-01-04, 11:58 PM
If you were willing to use the CommonGBPVRUtilities dll it has a built in error dialog box. You can see an example of how to use this in the weather plug-in source code on the wiki.

Jeff
Old Dog
Offline

Posting Freak

Posts: 1,083
Threads: 99
Joined: Jul 2005
#82
2006-01-05, 12:07 AM
Jeff Wrote:If you were willing to use the CommonGBPVRUtilities dll it has a built in error dialog box. You can see an example of how to use this in the weather plug-in source code on the wiki.

Jeff

I know, and I would love too but doesn't it depend on a common dialogs directory in the current skin? If so, that's something I can't depend on.

-David
Learning new tricks!
Visit Plain Jane's Collection
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#83
2006-01-05, 12:15 AM
Dont use IPluginHelper.ShowMessage(). It was abandoned about a year ago.
Old Dog
Offline

Posting Freak

Posts: 1,083
Threads: 99
Joined: Jul 2005
#84
2006-01-05, 12:17 AM
Jeff Wrote:If you were willing to use the CommonGBPVRUtilities dll it has a built in error dialog box. You can see an example of how to use this in the weather plug-in source code on the wiki.

Jeff

Can we promote these utiities and the dialog boxes to "core components" and have them included in the distribution?
Learning new tricks!
Visit Plain Jane's Collection
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,807
Threads: 769
Joined: Nov 2003
#85
2006-01-05, 12:20 AM
No, I'd rather not.
Old Dog
Offline

Posting Freak

Posts: 1,083
Threads: 99
Joined: Jul 2005
#86
2006-01-05, 12:35 AM
Okay
Learning new tricks!
Visit Plain Jane's Collection
Jeff
Offline

Posting Freak

Posts: 1,933
Threads: 69
Joined: Oct 2004
#87
2006-01-05, 02:15 AM
Old Dog Wrote:I know, and I would love too but doesn't it depend on a common dialogs directory in the current skin? If so, that's something I can't depend on.

-David

What I would suggest you do is install the files as part of your skin collection and, in your plug-in, copy them from your known installation location to the current skin if needed. Again, if you look at the weather plug-in as an example you will see how it does this. The weather plug-in will work with all skins by copying the default skin files form the blue skin if none is found in the currently active skin.

Jeff
Old Dog
Offline

Posting Freak

Posts: 1,083
Threads: 99
Joined: Jul 2005
#88
2006-01-05, 03:20 AM
Thanks Jeff, I appreciate your offer, and will probably take you up on it. However, this brings to mind another issue which has been concerning me.

When I first introduced the Appearance Manager, there were many comments about extending it, somehow making it work with other skins. While I currently don't know what that really means, if something could be done, I can imagine the desirability of a common shared resources area.

It is too early for me to actually propose such an area, but I would like to hear some feedback on the idea. I'm pretty sure there are pros and cons.

Whats your opinion?
Learning new tricks!
Visit Plain Jane's Collection
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#89
2006-01-05, 03:49 AM
Some of this should work it's way out as Sub gets his skinning/plugin guidelines document out. Without a set of rules or best practices on how things should be done, there is no way to get the compatibility established.

All you can do is set the guidelines on how the Appearance Manager is going to work, and what it expects. It is then up to the various Skins to conform to that, so that they work with it. Long run it is best for all the skins to have Appearance Manager compatibility, as it is just a good user friendly feature, and something in my opinion that GBPVR is lacking when compared with Meedio.

I created a schema at one time for an Plugin / Skin update/download XML file format, but it never went anywhere. If I could figure out a way to hook it into the wiki and have the file generated as a web service the appearance manager could hook into that to get notified of new or updated skins.
Fatman_do
Offline

Posting Freak

Posts: 3,482
Threads: 95
Joined: Nov 2005
#90
2006-01-05, 03:55 AM
Here are some proposals.

1. Have an "Appearance" folder (with sub-folders) that act as a depository for background images, task images, button images, ect.

2. Appearance manager reads config.xml to identify current skin. Then read baseskin.xml for a tag like <AppearanceManager>True</AppearanceManager> to check for skin compatibility (relies on skinner using defined guidelines).

3. Changes then could be done (which is so far file moving & renaming?) in that skin directory.

Of course I know nothing of writting plugins and such, so I might make that sound easier than it really is.Big Grin
Fatman_do
[SIZE="1"]
HTPC: AMD XP+2500, 512MB DDR (400) ~ Capture Device: Hauppage PVR-150
Storage: 30GB OS & Recording, 160GB Post Processing & Archive
Video Output: HD 32" TV via eVGA Geforce 6200le 256MB AGP DVI-HDMI cable out
Audio Output: Turtle Beach Riviera S/PDIF Optic Output (Digital pass thru only) to Home Theater Receiver[/SIZE]

[SIZE="2"]
Moderator | Tutorials | Community Skin | CommunitySkin-SVN[/SIZE]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (10): « Previous 1 … 6 7 8 9 10 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Plugins and NPVR. Where do we start? sub 80 70,334 2020-11-26, 10:02 PM
Last Post: mandai
  Developing Android TV client fred250 2 1,926 2020-11-16, 06:33 PM
Last Post: fred250
  I want to start developing plugins...but how? OrenShapir 6 4,194 2014-11-18, 10:38 PM
Last Post: mvallevand
  Tuner plugins and client id mvallevand 2 2,136 2013-07-03, 01:39 AM
Last Post: mvallevand
  Tuner Plugins - Output folders mvallevand 2 2,104 2013-02-19, 07:45 PM
Last Post: mvallevand
  .NET 4 plugins? McBainUK 20 7,928 2012-12-11, 08:48 PM
Last Post: sub
  Integrated Development Environment (IDE) for plugins osx-addict 5 2,876 2012-10-18, 08:35 PM
Last Post: osx-addict
  Tuner plugins mvallevand 4 2,533 2012-08-05, 11:19 PM
Last Post: mvallevand
  Recorder plugins - Deleting tuners mvallevand 1 1,583 2012-03-29, 12:51 AM
Last Post: sub
  Recorder plugins - scheduling mvallevand 4 2,523 2012-03-26, 05:09 PM
Last Post: mvallevand

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

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

Linear Mode
Threaded Mode