Drive Free Space Plugin (1 Viewer)

Rico

Portal Pro
December 23, 2008
188
12
Straelen
Home Country
Germany Germany
I finished my basichome mod of the B and W 1080 Skin

attached is the basichome.xml file :)

thanks for the great plugin

here is the link for the mod :)

15.02.2009 - First Release
16.02.2009 - Newer version uploaded v.0.2 with better text alligend for lcd tv
--.02.2009 - Upcoming new release v.0.3 with more details

Black and White 1080 mod-basichome-free-drive-space-plugin-Updated
 

Attachments

  • drive space basic home.JPG
    drive space basic home.JPG
    161.9 KB
  • basichome free drive space mod by rico 0.2.rar
    30.7 KB

SilentException

Retired Team Member
  • Premium Supporter
  • October 27, 2008
    2,617
    1,130
    Rijeka, Croatia
    Home Country
    Croatia Croatia
    • Thread starter
    • Moderator
    • #22
    glad you figured it all out Rico and got it all working..

    So what´s needed now is a visibility flag for the drives/partitions the user actually has in his PC. As i have 3 partitions the actual layout is OK. But if someone has only 2 or 1 partition(s) ore even more than that we have to control the visibility according to the number of drives in his PC.
    Any ideas?

    maybe its late but i didnt really understand this.. in configuration you choose drives you want to monitor and those are visible :)


    btw, i'll put sources up tomorrow too and add everything into mp plugins repository
     

    User 04

    Portal Pro
    April 14, 2008
    125
    21
    Home Country
    Hi,

    There is probably a simple answer, but I have gaps at the left side of the Progress Bar. I notice that Rico has smaller gaps, but then maybe they are intentional, and catavolt none.

    BTW the boxes do have ends on them, just have not shown in the screen print.
     

    SilentException

    Retired Team Member
  • Premium Supporter
  • October 27, 2008
    2,617
    1,130
    Rijeka, Croatia
    Home Country
    Croatia Croatia
    • Thread starter
    • Moderator
    • #25
    User 04, i'm no skinner but i think it has something to do with
    <texturebg>
    <lefttexture>
    <midtexture>
    <righttexture>
    properties of progress controll.. or maybe images in those tags..
     

    Sphero

    Portal Pro
    June 4, 2008
    82
    0
    Home Country
    Netherlands Netherlands
    Nice plugin, but is it possible to show only the value of free disk space when I call a specific disk like #Drives(C).
    If I put this in my code, I already know it is C: [SYSTEM]. I only need a value; like 10. Then I know 10GB is free.
     

    SilentException

    Retired Team Member
  • Premium Supporter
  • October 27, 2008
    2,617
    1,130
    Rijeka, Croatia
    Home Country
    Croatia Croatia
    • Thread starter
    • Moderator
    • #28
    in configuration select C drive and format the output to be only:

    %freespace%

    then use #Drives(C).AvailableSpace.Data to get the freespace value (on two decimals btw)
     

    User 04

    Portal Pro
    April 14, 2008
    125
    21
    Home Country
    Thanks for the replies and also the information on the channel icons, mulva, I will definitely look at that.

    SilentExcept I have changed your skin coding to the following;

    <control>
    <description>Progress background</description>
    <type>image</type>
    <id>1</id>
    <posX>26</posX>
    <posY>482</posY>
    <width>153</width>
    <height>17</height>
    <texture>progress_background_tvhome.png</texture>
    <animation effect="fade" time="250">WindowOpen</animation>
    <animation effect="fade" time="250">WindowClose</animation>
    </control>
    <control>
    <description>Progress Bar</description>
    <type>progress</type>
    <id>20</id>
    <posX>15</posX>
    <posY>482</posY>
    <width>153</width>
    <height>17</height>
    <label>#Drives(C).AvailableSpace.Percentage</label>
    <lefttexture>progress_blank30.png</lefttexture>
    <midtexture>progress_mid_white30.png</midtexture>
    <righttexture>progress_blank30.png</righttexture>
    <visible>yes</visible>
    <animation effect="fade" time="250">WindowOpen</animation>
    <animation effect="fade" time="250">WindowClose</animation>
    </control>

    You can insert osd_progress_background.png in lieu of progress_background_tvhome.png, leave out,
    <lefttexture>progress_blank30.png</lefttexture>
    <midtexture>progress_mid_white30.png</midtexture>
    <righttexture>progress_blank30.png</righttexture>

    and it will default to existing Media files, saves people creating them.

    I know your plug in refers to free space, just wondered if the option is available to show used space, that is the way my brain works, well it sort of works, sometimes :).

    The formatting has gone all wrong in copying and pasting, but it shows the correct information.

    BTW, see the movie on SBS, recording the last 3/4 hour, wish I had got the whole movie.


    Regards
     

    Attachments

    • 00-11-02.PNG
      00-11-02.PNG
      255.8 KB
    • Drive Free Space Skin Information.txt
      30.7 KB

    SilentException

    Retired Team Member
  • Premium Supporter
  • October 27, 2008
    2,617
    1,130
    Rijeka, Croatia
    Home Country
    Croatia Croatia
    • Thread starter
    • Moderator
    • #30
    I know your plug in refers to free space, just wondered if the option is available to show used space, that is the way my brain works, well it sort of works, sometimes :).

    just few hours ago i was thinking about that.. will see what i can do..

    Edit:

    NEW VERSION IS UP! 0.4!

    added new gui properties #Drives.AvailableSpace.UsedPercentage and #Drives(X).AvailabelSpace.UsedPercentage; returns percentage of used space for all or one drive; replace X with the drive letter
    added new text property %uspercent% - returns a number (percent of occupied space)
    added new text property %usedspace% - returns used space in GB/MB/KB
    added new text property %driveletteronly% - returns drive letter only with no colon character
     

    Users who are viewing this thread

    Top Bottom