NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 75 76 77 78 79 … 93 Next »
aut-update

 
  • 0 Vote(s) - 0 Average
aut-update
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#11
2005-02-22, 03:28 PM
just start a internal timer when the plugin is activate by gbpvr, just the same way you would do a timer in any other plugin, ive been using one in my videos for a few days now.

you could also use the "needsrendering" method, its called about once every second.
KingArgyle
Offline

Posting Freak

Posts: 1,271
Threads: 95
Joined: Nov 2004
#12
2005-02-22, 03:46 PM
A couple of suggestions here guys.

[XML Architect Hat on]
1. First, any XML file you develop, should include a schema. Especially if you are going to have it be manually edited.

This saves the developer in the long run, because you know you have a well formed and valid file (i.e, no required elements are missing, and they are in the right sequence. Any datavalidation that was specified is also handled).

1a. Avoid the use of attributes where possible. Attributes should be used to categorize something, that hold descriptions. Best practices in XML design dictate using very few attributes and only when necessary.

If nobody is comfortable with creating the schema, let me know and I'll take a crack at it.

[/XML Architect Hat off]

2. Make the polling user configurable. I'd like to use the Plugin Updater, but I rarely use the front end for GBPVR as mine is totally dedicated to recording shows.

3. Take a look at Meedio and a few other competitors. They already implement these type of update sites. MAID is meedio's example, and it works fairly well. Sorta what the Wiki and this plugin could become.



jasonf
Offline

Member

Posts: 121
Threads: 7
Joined: Oct 2004
#13
2005-02-22, 03:58 PM
[InterestingThought]

Something like this could very well evolve into a P2P type system.  Picture a network of GBPVR nodes that can host and share a variety of information, including updates to plugins and skins, and maybe even things like online multiplayer games (chess, checkers, poker, etc).  Centralized servers and bandwidth (wiki or gbpvr.com) are no longer an issue so long as enough nodes are continuously connected to this private P2P network.

hmmm....

[/InterestingThought]



JasonF
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#14
2005-02-22, 04:09 PM
Two things that would need to be solved for this to be implemented.

- Versioning. Many users dont update the release of GB-PVR immediately. Sometimes they skip GB-PVR releases. Plugins often depend on function in GB-PVR.

- Security.
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#15
2005-02-22, 04:12 PM
i vote KingArgyle do the schema, hes smart.
jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#16
2005-02-22, 04:47 PM
If this did ever become a p2p style like jasonf suggested there could be security issues. If someone wrote a plugin to format your harddrive, install a virus or delete all of your videos.


And sub is right about some users holding off on updating to the latest version. I often do that, at least till the maintence release comes out. [Image: smile.gif]
WinXP Home
3 X MVPs
Hauppauge 250 MCE
Hauppauge 150
P-4 2.4 GHz / 768 megs Ram
610 Gigs Of Media Storage
dottore
Offline

Posting Freak

Posts: 986
Threads: 44
Joined: May 2004
#17
2005-02-22, 05:19 PM
we need something to check the gbpvr-version against the plugins... so only those updates would be downloaded, which are compatible to the gbpvr-version.

concerning security: the user MUST confirm an update. and updates to plugins should only be done by their developers.
---------------------
www.sitecomposer.de
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#18
2005-02-22, 05:24 PM
just add something to the xml schema (if we go that way) which defines the required gbpvr version.
dottore
Offline

Posting Freak

Posts: 986
Threads: 44
Joined: May 2004
#19
2005-02-22, 05:42 PM
and then we need something to get the gbpvr-version....does the plugin helper provide such informations?
---------------------
www.sitecomposer.de
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#20
2005-02-22, 05:42 PM
just go by the gbpvr.exe build/assembly number, im sure windows can get that somehow.

or you could be cheap and get the version number from the change.log
first line:
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">2005-02-10 v0.90.10[/QUOTE]



« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (4): « Previous 1 2 3 4 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  EPG update API mvallevand 2 1,386 2020-12-02, 01:17 AM
Last Post: mvallevand
  Update Season and Episode from EPG_EVENT puck64 0 2,772 2015-08-31, 07:37 AM
Last Post: puck64
  Refreshing TV Guide Data (after System plugin EPG update) imilne 13 6,027 2013-03-24, 08:03 PM
Last Post: imilne
  Update NewSyleListPlugin Button list dynamically? psycik 2 1,713 2011-12-22, 12:25 AM
Last Post: mvallevand
  Force full screen update mvallevand 3 2,091 2010-01-14, 05:11 PM
Last Post: mvallevand
  Automatic Update for BDA Channel Mappings Joesboat 10 5,424 2010-01-10, 08:14 PM
Last Post: PaulH
  Using C#: Update EPG and wait for end dero 12 5,429 2008-12-10, 12:37 PM
Last Post: Sheik Yerbouti
  UIStatic update idkpmiller 3 1,866 2008-01-10, 02:35 AM
Last Post: idkpmiller
  Update notification. Fatman_do 3 1,910 2007-05-24, 11:45 PM
Last Post: Jeff
  Auto Update Schema KingArgyle 26 7,726 2006-01-16, 03:48 AM
Last Post: KingArgyle

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

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

Linear Mode
Threaded Mode