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
Jeff
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
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. 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
2006-01-05, 12:15 AM
Dont use IPluginHelper.ShowMessage(). It was abandoned about a year ago.
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. Can we promote these utiities and the dialog boxes to "core components" and have them included in the distribution?
2006-01-05, 12:20 AM
No, I'd rather not.
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. 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
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?
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.
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.
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] |
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Plugins and NPVR. Where do we start? | sub | 80 | 66,035 |
2020-11-26, 10:02 PM Last Post: mandai |
|
Developing Android TV client | fred250 | 2 | 1,595 |
2020-11-16, 06:33 PM Last Post: fred250 |
|
I want to start developing plugins...but how? | OrenShapir | 6 | 3,801 |
2014-11-18, 10:38 PM Last Post: mvallevand |
|
Tuner plugins and client id | mvallevand | 2 | 1,906 |
2013-07-03, 01:39 AM Last Post: mvallevand |
|
Tuner Plugins - Output folders | mvallevand | 2 | 1,923 |
2013-02-19, 07:45 PM Last Post: mvallevand |
|
.NET 4 plugins? | McBainUK | 20 | 7,102 |
2012-12-11, 08:48 PM Last Post: sub |
|
Integrated Development Environment (IDE) for plugins | osx-addict | 5 | 2,515 |
2012-10-18, 08:35 PM Last Post: osx-addict |
|
Tuner plugins | mvallevand | 4 | 2,261 |
2012-08-05, 11:19 PM Last Post: mvallevand |
|
Recorder plugins - Deleting tuners | mvallevand | 1 | 1,394 |
2012-03-29, 12:51 AM Last Post: sub |
|
Recorder plugins - scheduling | mvallevand | 4 | 2,204 |
2012-03-26, 05:09 PM Last Post: mvallevand |