Latest Version of Hddtemp

Rocknroll

Staff member
Administrator
Messages
6,174
Thx to Kneubi:

I have compiled hddtemp now as a "real" plugin with the new available plugin CDK.

The following points need to be considered:
- The plugin is in a very early alpha state, thus use it at your own risk
- there is actually no fancy layout, just a white background with black fonts
- my c-programming knowledge is very limited, basically i learned C from some
books and the internet, so don't flame me if this code is nasty... (but help
me to make it better )
- i hope lot's of ppl with programming knowledge are sending me some patches, or can
give me some tips, how i can do it better (especially our friends from sifteam, which
have probably big c-programming knowledge, hope they are still reading the posts here,
as somebody has insulted them here)
- most of the code is borrowed from simple mp3 plugin from dgstation


The following steps need to be done:
- Maybe we could display a background image while the temp is displayed
(if somebody can make me a good looking background bmp file maybe, i will
include it)
- even better we could only display the temp in a small box at the bottom
from the screen and display the live tv (if somebody can give me a tip
how to realize that i might be very happy)

To install the plugin put it to /tmp directory, extract it and execute install.sh script.

I hope you have fun with the plugin and help me make it a lot better

Kneubi
 

Rocknroll

Staff member
Administrator
Messages
6,174
Hddtemp plugin 0.0.2

Thanks to kneubi:

README:

- added support for background picture (/var/plug-in/bg-hddtemp.bmp)
- display output from hddtemp on multiple lines
- only execute hddtemp command twice if we have "no sensor" message


INSTALL:
========
copy the files to the following directories on your box:
binaries/hddtemp -> /var/bin/hddtemp
binaries/hddtemp.db -> /var/etc/hddtemp
binaries/bg-hddtemp.bmp -> /var/plug-in
hddtemp.plugin -> /var/plug-in

enjoy,

kneubi
 

k@lkov

Super VIP
Messages
10,003
Hddtemp plugin 0.0.3

Hddtemp plugin 0.0.3
Code:
Plugin now checks if /var/bin/hddtemp and /var/etc/hddtemp.db files 
are installed, and sets the execute bit's on /var/bin/hddtemp, if they are not set.
 

Rocknroll

Staff member
Administrator
Messages
6,174
Hddtemp plugin 0.0.4

Thx to kneubi.
Changelog:

0.0.4:
- added new background image contributed by Gman2oo6
- added remote controller code, plugin now exits when you press exit button
- removed trailing doublepoints on hddtemp output
- report filesystem type (ext2/ext3) from harddisk
 

Rocknroll

Staff member
Administrator
Messages
6,174
Hddtemp plugin 0.0.5

Thx to kneubi

0.0.5
- added background image contributed by crash and zbigzbig20, so it seamless
integrates in skins from crash
- replaced background image contributed by Gman2006 with new version
- changed text position for new background
- you have now two background images (galaxy-man-bg-hddtemp.bmp and crash-bg-hddtemp.bmp)
and can choose one of them and copy it as /var/plug-in/bg-hddtemp.bmp on the box
- replaced hddtemp binary with stripped version from timelord
 

Rocknroll

Staff member
Administrator
Messages
6,174
Hddtemp-plugin-0.0.6

As always, thanks to Kneubi for this plugin:
This release from hddtemp-plugin uses the new jpg to bmp function, which allows us to store the background images as jpg instead of bmp, which saves us almost 1.2MB of space in the /var directory for each plugin.
This function was added to the plugin SDK by Taehoon.Koo from DGSTATION on my request, thus i'd like to thank him one more time, for his help.

I recommend everybody who uses a r7473 based image, to switch to this release and replace /var/plug-in/bg-hddtemp.bmp with /var/plug-in/bg-hddtemp.jpg, because the space gain in /var is really fantastic.

INSTALL:
========
copy the files to the following directories on your box:
binaries/hddtemp -> /var/bin/hddtemp
binaries/hddtemp.db -> /var/etc/hddtemp
hddtemp.plugin -> /var/plug-in
binaries/galaxy-man-bg-hddtemp.jpg -> /var/plug-in/bg-hddtemp.jpg
or
binaries/crash-bg-hddtemp.jpg -> /var/plug-in/bg-hddtemp.jpg


Release-notes:
==============
0.0.6
- does not crash anymore, when bg image is missing
- changed parse method from hddtemp to strtok
- use new JPEG_convert_to_BMP_plugin function to convert background image from
from jpg to bmp on the fly (This function was added by Taehoon.Koo from
DGSTATION on my request).
Thanks to Taehoon.Koo for the quick implementation from this function


Have fun,
Kneubi
 

vegeku90

Registered
Messages
1,586
hddtemp-plugin 0.0.7

Code:
0.0.7
- display harddisk state (sleep/active) thanks to m_auro1 for sending a patch
(keep in mind that hddtemp plugin does wake up the disk if you start plugin twice)
- display output in simple osd window if no /var/plug-in/bg-hddtemp.jpg is present
- use colors of current skin if no /var/plug-in/bg-hddtemp.jpg is present

Thanks to m_auro1
 
Top