NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 67 68 69 70 71 … 93 Next »
settings plugin/class

 
  • 0 Vote(s) - 0 Average
settings plugin/class
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#31
2005-10-05, 09:41 PM
yeah i was thinking if this was left up to a seperate plugin, and if it was possible it would be easier for you.

i would prefer if you (sub) would just use the screenImageBounds thingy to reposition the image to cope with overscan, since you would only have to put that line of code in one place (and then it would work with every plugin).
we would just need a method like pluginHelper.setScreenImageBounds(rectangle). since when the user wants to adjust the screenImageBounds we would have to set it first to the full image (most likely 0,0,720,480) and then once then figured out the best image size, then call that method again.

so is my logic sound with the plugin crap? does every one think it would work?
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#32
2005-10-06, 10:38 AM
ive been thinking some more about this, and i think it would probably be even easier if each plugin that implement the interface just provided an array of "control" or "widget" (or some other similar type name) to the settings plugin. the settings plugin would handle the drawing and key pushes etc of these controls, eg a plugin could provide these controls as a list
numberUpDownBox for SlideShowInterval,
checkbox for ShowTransistions,
numberUpDownBox for ZoomingSize
checkbox for AutoPlayMusic

etc, that way it would be extremely easy for a plugin to implement this interface, since every thing would be handled by the plugin and the plugin just has to handle the controls. so at first the settings plugin would need to make the controls: checkbox, up down box (strings would work best come to think it,or just objects with a tostring method overriden), textbox (just for displaying things like help etc), label (simple version of textbox?).

it might be better to split these control up into "Pages" which would be like tabs, each with a name and list of controls, that way the pages names would be listed as menu buttons (back will always be added to the menu to reselect the settings you want).

im not sure about the rest of the developers but im really keen on setting something up, but it needs to be agreed upon by every developer, of course this plugin would have to be open source Smile
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (4): « Previous 1 2 3 4


Possibly Related Threads…
Thread Author Replies Views Last Post
  PIP plugin for Kodi sgilani 2 2,769 2022-10-17, 12:44 AM
Last Post: sgilani
  New Systems Plugin kirschey 10 3,315 2020-11-14, 08:01 PM
Last Post: sub
  VIdeo playback from plugin mvallevand 5 3,431 2015-08-06, 10:43 PM
Last Post: sub
  Attention Sub: Open TV / Custom Data Grabber plugin Benoire 2 2,870 2014-11-14, 02:05 AM
Last Post: Benoire
  API docs to help with plugin development? McBainUK 3 2,748 2013-06-08, 06:14 PM
Last Post: sub
  Refreshing TV Guide Data (after System plugin EPG update) imilne 13 6,048 2013-03-24, 08:03 PM
Last Post: imilne
  sabnzbd plugin to show processed files Wakalaka 1 1,938 2013-03-12, 06:48 AM
Last Post: psycik
  Best way to load settings for NPVR? reven 4 2,135 2012-11-01, 01:13 AM
Last Post: reven
  Plugin problems with started from the command line mvallevand 11 4,959 2012-08-12, 07:56 PM
Last Post: sub
  Get NextPVR data directory from outside a plugin McBainUK 3 2,224 2012-02-11, 05:42 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