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

 
  • 0 Vote(s) - 0 Average
SysInfo Plugin
Huw
Offline

Member

Posts: 219
Threads: 7
Joined: Oct 2004
#1
2004-11-04, 02:09 AM
This is my first attempt, so it's still a little quirky and not completely finished, but have released it as a few people wanted an example of implementing the IInfoPanel.

SysInfo Plugin 0.1a
SysInfo source

I appologise if I haven't done it all correctly, but it is quite confusing looking through the plugins to work out what to do as most of them do it differently.

Comments/suggestions are welcome.

Next version will have temp/fan speeds (hopefully) and maybe the config screen so you can choose what goes on the InfoPanel, if I get enough time.
Huw
Offline

Member

Posts: 219
Threads: 7
Joined: Oct 2004
#2
2004-11-05, 01:45 PM
Should be posting a new version later today which will (should) display some basic cpu temp and fan speed info. (you will need MotherboardMonitor installed for this with logging turned on)

[Image: temps.jpg]

Have also started to work on the config so that you can choose which items appear in the main screen infoPanel (may have that working in todays release, but can't promise).

If anyone has tried it yet, would welcome some feedback as to whether it is working.
Athlon1000
Offline

Junior Member

Posts: 46
Threads: 2
Joined: Nov 2004
#3
2004-11-05, 03:06 PM
That's a great plugin!
Haven't had the chance to try it yet since I'm not at home but I will install it this sunday.

Temp/fan info isn't all that necessary but information about HDD space is great. However, I would love to have it setup someting like this:

-C:\ [80GB Total / 12GB Free]
...|_DVD [24GB]
...|_Music [8GB]

-D:\ [60GB Total / 30GB Free]
...|_Recordings [12GB]

This would be really cool. If the plugin could show for instance the 2-3 folders on each drive containing the most data (disregarding the Windows folder). The ultimate would be if when you enter the sysinfo screen the plugin shows simple drive info:

-C:\ [80GB Total / 12GB Free]
-D:\ [60GB Total / 30GB Free]

And you can navigate to the for instance the D: drive and click on it to exspand the detailed drive info, this way the info wont fill the entire screen.

Fix this and your my god... or atleast you got my respect =)
Huw
Offline

Member

Posts: 219
Threads: 7
Joined: Oct 2004
#4
2004-11-05, 03:37 PM
mmm,

not sure I agree with your priorities, cpu temp/fan speed are far more important than which directory is the biggest, the cputemp and fanspeed tell you the health of your machine. directory sizes are pretty irrelevant, it doesn't matter to gbpvr or your pc how much data is in a particular directory, freespace is freespace it is not related to directories, so don't see what purpose it would server to give this info.
jquinlan
Offline

Member

Posts: 228
Threads: 5
Joined: Jul 2004
#5
2004-11-05, 04:27 PM
Dont know if anybody else would like to see this but what about adding System Verison Info.

GBPVR: v0.2.27
Weather Plugin: v2.04
Comic Plugin: v2.0
Jukebox Plugin: v5.2
DVD2MPEG Plugin: 1 Nov 2004

Did not want to get to elaborate, by showing 50 system variables, but maybe just ones relating to GB-PVR to help keep it up-to-date.
Huw
Offline

Member

Posts: 219
Threads: 7
Joined: Oct 2004
#6
2004-11-05, 05:01 PM
I kinda like that idea, not sure if it's possible. maybe sub could let us know if there is an internal list of installed plugins I can access
jquinlan
Offline

Member

Posts: 228
Threads: 5
Joined: Jul 2004
#7
2004-11-05, 05:42 PM
There is a line in the config.xml that lists the enabled plugins:

<EnabledPlugins>Comics,Diskspace,Picture Library,XRecord,Recordings,Weather</EnabledPlugins>

But these dont seem to match the name of the plugin file names, further down is the groups of the plugin settings but only if they are using the config.xlm to save the settngs. [Image: sad.gif]
Huw
Offline

Member

Posts: 219
Threads: 7
Joined: Oct 2004
#8
2004-11-05, 06:33 PM
I think it matches the text as displayed on the menu button, it would also require plugin makers to include a version number to go in config.xml like below

 <SysInfoPlugin>
  <Version>0.1a</Version>
<Mbm5>D:\\Motherboard Monitor 5\\Log\\MBM 5 Interval Log.xml</Mbm5>
 </SysInfoPlugin>

However to be useful, it would probably require a specific <Plugin> tag for config.xml which held all the config sections for each plugin (would mean recoding the plugins to cope with the extra level in config.xml)
jquinlan
Offline

Member

Posts: 228
Threads: 5
Joined: Jul 2004
#9
2004-11-05, 07:15 PM
[b Wrote:Quote[/b] ]I think it matches the text as displayed on the menu button, it would also require plugin makers to include a version number to go in config.xml like below...
There are system functions to pull version numbers directly from file; just like the properties of a program. That is why I put a date on the DVD2MPEG Plugin, If you dont find the version number in the DLL use the DLL's date and time. How does Sub find the DLL's with just the button descriptions then? Sub?
Huw
Offline

Member

Posts: 219
Threads: 7
Joined: Oct 2004
#10
2004-11-05, 07:39 PM
a dll's version number does not necesarily relate to the plugin version, unless it is explicitly set by the author, most of them are not, for example the weather plugin which I believe is version 2.05 has an internal version of 2.2.1739.35339.

GBPVR knows the dll exists because it looks for them in the plugin directory, it gets the name from
public string getName()
{
// text for button on the main GB-PVR menu
return "Sys Info";
}
Which is what it stores in config.xml (as far as I can work out)
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (6): 1 2 3 4 5 6 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  PIP plugin for Kodi sgilani 2 2,825 2022-10-17, 12:44 AM
Last Post: sgilani
  New Systems Plugin kirschey 10 3,350 2020-11-14, 08:01 PM
Last Post: sub
  VIdeo playback from plugin mvallevand 5 3,460 2015-08-06, 10:43 PM
Last Post: sub
  Attention Sub: Open TV / Custom Data Grabber plugin Benoire 2 2,906 2014-11-14, 02:05 AM
Last Post: Benoire
  API docs to help with plugin development? McBainUK 3 2,771 2013-06-08, 06:14 PM
Last Post: sub
  Refreshing TV Guide Data (after System plugin EPG update) imilne 13 6,094 2013-03-24, 08:03 PM
Last Post: imilne
  sabnzbd plugin to show processed files Wakalaka 1 1,949 2013-03-12, 06:48 AM
Last Post: psycik
  Plugin problems with started from the command line mvallevand 11 4,993 2012-08-12, 07:56 PM
Last Post: sub
  Get NextPVR data directory from outside a plugin McBainUK 3 2,243 2012-02-11, 05:42 PM
Last Post: mvallevand
  Weather Plugin imilne 0 1,432 2012-01-15, 08:33 PM
Last Post: imilne

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

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

Linear Mode
Threaded Mode