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
#91
2006-01-05, 04:10 AM
Jeff Wrote: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

I just just checked the source of the commongbpvrutilities. When you create a dialog box, if the common dialogs skin subdirectory does not already exisit in the currently active skin it will be created and the files from the blue skin will be copied over. If the sub directory does exisit, then it is assumed to have the needed files. So, as long as you install the common dialog blue skin as part of your package, it should already work in the Collection skin.

Jeff
Old Dog
Offline

Posting Freak

Posts: 1,083
Threads: 99
Joined: Jul 2005
#92
2006-01-05, 11:11 AM
KingArgyle Wrote: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.

Fatman_do Wrote: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.

These are really good thoughts! I'm going to move them over to the Appearance Manager thread.

Thanks guys,
-David
Learning new tricks!
Visit Plain Jane's Collection
Old Dog
Offline

Posting Freak

Posts: 1,083
Threads: 99
Joined: Jul 2005
#93
2006-01-05, 12:06 PM
As part of the Appearance Manager implementation, I am making some small edits to the Main Menu skin.xml file. Currently I have my own code for searching and replacing in this "text" file.

Also, I can see the possiblity of programatically editing BaseSkin.xml in the future.

Can I use the SkinHelper facilities for doing this?

Thanks,
-David
Learning new tricks!
Visit Plain Jane's Collection
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

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


Possibly Related Threads…
Thread Author Replies Views Last Post
  Plugins and NPVR. Where do we start? sub 80 68,660 2020-11-26, 10:02 PM
Last Post: mandai
  Developing Android TV client fred250 2 1,810 2020-11-16, 06:33 PM
Last Post: fred250
  I want to start developing plugins...but how? OrenShapir 6 4,052 2014-11-18, 10:38 PM
Last Post: mvallevand
  Tuner plugins and client id mvallevand 2 2,067 2013-07-03, 01:39 AM
Last Post: mvallevand
  Tuner Plugins - Output folders mvallevand 2 2,045 2013-02-19, 07:45 PM
Last Post: mvallevand
  .NET 4 plugins? McBainUK 20 7,739 2012-12-11, 08:48 PM
Last Post: sub
  Integrated Development Environment (IDE) for plugins osx-addict 5 2,757 2012-10-18, 08:35 PM
Last Post: osx-addict
  Tuner plugins mvallevand 4 2,444 2012-08-05, 11:19 PM
Last Post: mvallevand
  Recorder plugins - Deleting tuners mvallevand 1 1,510 2012-03-29, 12:51 AM
Last Post: sub
  Recorder plugins - scheduling mvallevand 4 2,375 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